V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

One Star

V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

I downloaded and installed both the Windows only installer and the multi-platform distro. Both fail during generation engine initialization Exception during initialization with a null pointer.
TOS_DI-win32-x86 works fine.
There's a "Guess Failure" dialog shown and an NPE but I can't find a log or stacktrace.
C:\Users\rquinn>java -version
java version "1.7.0_01"
Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode)
C:\Users\rquinn>echo %java_home%
C:\Program Files\Java\jdk1.7.0_01
Google and these forums don't show anything recent about this problem. I'd like to use the 64bit version but don't have an idea for what to try next.
Any suggestions?
Thanks in advance.
Moderator

Re: V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

Hi,
Make sure that there is no blank space in installations in path. After do that, sent your result to us and then we will take the next step for your case.
Best Regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

Here's my installation directory...
C:\Programs\TOS_DI-r90681-V5.1.2>dir
Volume in drive C has no label.
Volume Serial Number is ACD5-64C9
Directory of C:\Programs\TOS_DI-r90681-V5.1.2
10/09/2012 01:13 PM <DIR> .
10/09/2012 01:13 PM <DIR> ..
06/02/2012 07:29 AM 123 .eclipseproduct
10/09/2012 01:13 PM <DIR> about_files
10/09/2012 01:13 PM <DIR> configuration
What type of results are you looking for? Let me know about the log location or debug settings and I'll rerun and attach the results.
Thanks for your response.
Robert
Moderator

Re: V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

Hi,
Would you mind uploading your log which is located in <Talend Studio install path>/workspace/.metadata.

Best Regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

sorry for the delay in getting back to you.
here's the log (i don't see an attachment option), looks like it can't find groovy, maybe a java 7 issue?
anyway, i switched from a guest account to my talend account and i'm subscribed to the post, so hopefully I can avoid delays in responding.
thanks,
robert
-------- .log from C:\Programs\TOS_DI-r90681-V5.1.2\workspace\.metadata\
!SESSION 2012-10-09 13:00:44.342 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_01
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:02:16.333
!MESSAGE 2012-10-09 13:02:16,269 INFO org.talend.repository.ui.login.LoginComposite - validate updatesite...

!ENTRY org.eclipse.jdt.core 4 4 2012-10-09 13:03:24.966
!MESSAGE Error creating Groovy language support
!STACK 0
java.lang.ClassNotFoundException: org.codehaus.jdt.groovy.integration.internal.GroovyLanguageSupport
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.tryInstantiate(LanguageSupportFactory.java:122)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.getLanguageSupport(LanguageSupportFactory.java:95)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.getIndexingParser(LanguageSupportFactory.java:50)
at org.eclipse.jdt.internal.core.search.indexing.IndexManager.getSourceElementParser(IndexManager.java:196)
at org.eclipse.jdt.internal.core.search.indexing.IndexAllProject.execute(IndexAllProject.java:203)
at org.eclipse.jdt.internal.core.search.processing.JobManager.run(JobManager.java:404)
at java.lang.Thread.run(Unknown Source)
!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:03:53.865
!MESSAGE 2012-10-09 13:03:53,861 INFO org.talend.core.repository.model.ProxyRepositoryFactory - test@talend.com logged on Test1

!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:03:56.893
!MESSAGE 2012-10-09 13:03:56,892 INFO org.talend.core.repository.GeneratedJetEmitersLoginTask - Generating JetEmiters

!ENTRY org.talend.platform.logging 4 0 2012-10-09 13:04:44.487
!MESSAGE 2012-10-09 13:04:44,484 ERROR org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory - Error during JetEmitter initalization Resource '/.org.eclipse.jdt.core.external.folders/.link1' already exists.
!STACK 0
org.eclipse.emf.codegen.jet.JETException: Resource '/.org.eclipse.jdt.core.external.folders/.link1' already exists.
at org.eclipse.emf.codegen.util.CodeGenUtil$EclipseUtil.addClasspathEntries(CodeGenUtil.java:1111)
at org.eclipse.emf.codegen.jet.JETEmitter$EclipseHelper.addVariable(JETEmitter.java:976)
at org.eclipse.emf.codegen.jet.JETEmitter.addVariable(JETEmitter.java:428)
at org.talend.designer.codegen.config.TalendJetEmitter.addVariable(TalendJetEmitter.java:153)
at org.talend.designer.codegen.config.TalendJetEmitter.<init>(TalendJetEmitter.java:96)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.initializeEmittersPool(CodeGeneratorEmittersPoolFactory.java:401)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.access$7(CodeGeneratorEmittersPoolFactory.java:383)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.doRun(CodeGeneratorEmittersPoolFactory.java:191)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.run(CodeGeneratorEmittersPoolFactory.java:118)
!ENTRY org.talend.platform.logging 4 0 2012-10-09 13:05:28.704
!MESSAGE 2012-10-09 13:05:28,702 ERROR org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory - Exception during Initialization
!STACK 0
java.lang.NullPointerException
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.initializeEmittersPool(CodeGeneratorEmittersPoolFactory.java:417)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.access$7(CodeGeneratorEmittersPoolFactory.java:383)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.doRun(CodeGeneratorEmittersPoolFactory.java:191)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.run(CodeGeneratorEmittersPoolFactory.java:118)
!ENTRY org.talend.designer.codegen 4 0 2012-10-09 13:05:28.813
!MESSAGE Exception during Initialization
!STACK 0
java.lang.NullPointerException
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.initializeEmittersPool(CodeGeneratorEmittersPoolFactory.java:417)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory.access$7(CodeGeneratorEmittersPoolFactory.java:383)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.doRun(CodeGeneratorEmittersPoolFactory.java:191)
at org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory$JobRunnable.run(CodeGeneratorEmittersPoolFactory.java:118)
!SESSION 2012-10-09 13:13:42.097 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_07
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 2 10035 2012-10-09 13:14:11.668
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:14:16.353
!MESSAGE 2012-10-09 13:14:16,348 INFO org.talend.repository.ui.login.LoginComposite - validate updatesite...

!ENTRY org.eclipse.jdt.core 4 4 2012-10-09 13:14:36.123
!MESSAGE Error creating Groovy language support
!STACK 0
java.lang.ClassNotFoundException: org.codehaus.jdt.groovy.integration.internal.GroovyLanguageSupport
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:338)
at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:232)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1197)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.tryInstantiate(LanguageSupportFactory.java:122)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.getLanguageSupport(LanguageSupportFactory.java:95)
at org.codehaus.jdt.groovy.integration.LanguageSupportFactory.getEventHandler(LanguageSupportFactory.java:142)
at org.eclipse.jdt.internal.core.JavaProject.close(JavaProject.java:470)
at org.eclipse.jdt.internal.core.ClasspathChange.generateDelta(ClasspathChange.java:258)
at org.eclipse.jdt.internal.core.DeltaProcessor.resourceChanged(DeltaProcessor.java:1916)
at org.eclipse.jdt.internal.core.DeltaProcessingState.resourceChanged(DeltaProcessingState.java:470)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:327)
at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1181)
at org.eclipse.core.internal.resources.File.setContents(File.java:369)
at org.eclipse.core.internal.resources.File.setContents(File.java:468)
at org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandlerImpl$PlatformResourceOutputStream.flush(PlatformResourceURIHandlerImpl.java:134)
at sun.nio.cs.StreamEncoder.implFlush(Unknown Source)
at sun.nio.cs.StreamEncoder.flush(Unknown Source)
at java.io.OutputStreamWriter.flush(Unknown Source)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.write(XMLSaveImpl.java:1010)
at org.eclipse.emf.ecore.xmi.impl.XMLSaveImpl.save(XMLSaveImpl.java:266)
at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doSave(XMLResourceImpl.java:206)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:1406)
at org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:993)
at org.talend.commons.emf.EmfHelper.saveResource(EmfHelper.java:169)
at org.talend.core.repository.utils.XmiResourceManager.saveResource(XmiResourceManager.java:480)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.saveProject(LocalRepositoryFactory.java:812)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.logOnProject(LocalRepositoryFactory.java:2708)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1684)
at org.talend.repository.ui.login.LoginDialog$1.run(LoginDialog.java:360)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:15:11.179
!MESSAGE 2012-10-09 13:15:11,179 INFO org.talend.core.repository.model.ProxyRepositoryFactory - test@talend.com logged on Test1

!ENTRY org.talend.platform.logging 1 0 2012-10-09 13:15:12.363
!MESSAGE 2012-10-09 13:15:12,363 INFO org.talend.core.repository.GeneratedJetEmitersLoginTask - Generating JetEmiters

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:50:27.536
!MESSAGE 2012-10-09 15:50:27,535 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:51:04.544
!MESSAGE 2012-10-09 15:51:04,544 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:51:27.581
!MESSAGE 2012-10-09 15:51:27,580 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:51:43.695
!MESSAGE 2012-10-09 15:51:43,695 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:51:52.882
!MESSAGE 2012-10-09 15:51:52,881 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:52:15.283
!MESSAGE 2012-10-09 15:52:15,283 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:52:27.378
!MESSAGE 2012-10-09 15:52:27,378 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*

!ENTRY org.talend.platform.logging 1 0 2012-10-09 15:52:51.888
!MESSAGE 2012-10-09 15:52:51,887 INFO org.talend.designer.core.runprocess.Processor - Command line: C:/Program Files (x86)/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/javacsv.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/classes;C:/Programs/TOS_DI-r90681-V5.1.2/workspace/.Java/lib; test1.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput --context=Shadow %*
Moderator

Re: V5.1.2 TOS_DI-win-x86_64 fails on Engine Initialization NPE

Hi,
Try to put the talend directory not in the program_files directory but in its own folder, and tell us the result. We will make a discussion and research for you issue.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.