One Star

Crash on Startup - Talend

I have been using Talend fine for a while now.
All of a sudden the IDE crashed, and now I can't reopen my workspace?
Everytime I try to run Talend I get the error message below. I searched forums couldn't find anything, are maybe my search was too specific?
How can I resolve this?
!SESSION 2012-01-27 17:03:15.928 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_18
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
This is a continuation of log file C:\Talend\TOS_DI-Win32-r72978-V5.0.0\workspace\.metadata\.bak_0.log
Created Time: 2012-01-27 17:03:21.009
!ENTRY org.eclipse.osgi 4 0 2012-01-27 17:03:21.010
!MESSAGE Application error
!STACK 1
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.talend.repository.ui.login.LoginComposite.getConnection(LoginComposite.java:2348)
at org.talend.repository.ui.login.LoginComposite.getManageElements(LoginComposite.java:453)
at org.talend.repository.ui.login.LoginComposite.createTosActionArea(LoginComposite.java:709)
at org.talend.repository.ui.login.LoginComposite.<init>(LoginComposite.java:333)
at org.talend.repository.ui.login.LoginDialog.createDialogArea(LoginDialog.java:166)
at org.talend.repository.ui.login.LoginDialog.createContents(LoginDialog.java:135)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
at org.eclipse.jface.window.Window.open(Window.java:790)
at org.talend.repository.RepositoryService.openLoginDialog(RepositoryService.java:329)
at org.talend.rcp.intro.Application.logUserOnProject(Application.java:268)
at org.talend.rcp.intro.Application.start(Application.java:84)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
6 REPLIES
One Star

Re: Crash on Startup - Talend

Hi
I'm afraid the workspace files are corrupted.
Try to change workspace path and copy your projects directories into this workspace.
Can you run TOS this time?
Best regards,
Pedro
One Star

Re: Crash on Startup - Talend

I reinstalled Talend into another folder, then imported the workspace and it worked.
Not sure what could cause this to happen. It's very scary.
Thanks.
Four Stars

Re: Crash on Startup - Talend

No need to install Talend altogether, just create a new workspace.
One Star

Re: Crash on Startup - Talend

And how to change WS when studio cannot start?
I tried to use standard Edlipse parameter -data, but now I'm getting:
java.lang.IllegalStateException: Cannot change the location once it is set.
at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:136)
at org.eclipse.core.runtime.internal.adaptor.BasicLocation.set(BasicLocation.java:131)
at org.eclipse.core.runtime.internal.adaptor.BasicLocation.setURL(BasicLocation.java:124)
at org.talend.rcp.intro.Application.acquireWorkspaceLock(Application.java:240)
at org.talend.rcp.intro.Application.start(Application.java:61)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
One Star

Re: Crash on Startup - Talend

Hi Pedro,
I use Talend 5.1 et and i have a Hive connection but i got a message error concerning the hive_site.xml

démarrage du job job_connect_2 a 15:03 13/09/2012.
connecting to socket on port 3977
connected
12/09/13 15:03:36 WARN conf.HiveConf: hive-site.xml not found on CLASSPATH
12/09/13 15:03:36 INFO metastore.HiveMetaStore: 0: Opening raw store with implemenation classSmiley Surprisedrg.apache.hadoop.hive.metastore.ObjectStore
12/09/13 15:03:36 INFO metastore.ObjectStore: ObjectStore, initialize called
12/09/13 15:03:36 INFO DataNucleus.Persistence: Property datanucleus.cache.level2 unknown - will be ignored
12/09/13 15:03:36 INFO DataNucleus.Persistence: Property javax.jdo.option.NonTransactionalRead unknown - will be ignored
12/09/13 15:03:36 INFO DataNucleus.Persistence: ================= Persistence Configuration ===============
12/09/13 15:03:36 INFO DataNucleus.Persistence: DataNucleus Persistence Factory - Vendor: "DataNucleus" Version: "2.0.3"
12/09/13 15:03:36 INFO DataNucleus.Persistence: DataNucleus Persistence Factory initialised for datastore URL="jdbc:derby:;databaseName=metastore_db;create=true" driver="org.apache.derby.jdbc.EmbeddedDriver" userName="APP"
12/09/13 15:03:36 INFO DataNucleus.Persistence:

Could you please tell me in which directory i must put the hive_site.xml and how to configure it ?

Thanks
Seven Stars

Re: Crash on Startup - Talend

@Betlista: Just rename the old workspace folder and Talend will recreate it when it starts.