Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ERROR: Exception during Initialization java.lang.NullPointerException

I installed Talend (TOS-All-r24830-V3.1.1/TalendOpenStudio-linux-gtk-x86) on Redhat 5.2 32 bit Linux.
I create a project called Test. When the project is opening I see the Message Loading Workbench a few times and then the program gets the NullPointerException and crashes.
I am running jdk1.6.0_13.
# which java
/opt/sun/jdk1.6.0_13/bin/java
Labels (3)
9 Replies
Anonymous
Not applicable
Author

Hello
Please show us the whole log file which locates on workspace/.metadata/.
Best regards

shong
Anonymous
Not applicable
Author

!SESSION 2009-06-01 10:14:40.963 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
!ENTRY org.talend.libraries 1 0 2009-06-01 10:15:46.760
!MESSAGE 2009-06-01 10:15:46,756 INFO org.talend.repository.model.ProxyRepositoryFactory - joseph.dunleavy@@vertexinc.com logged on Test

!ENTRY org.eclipse.ui.workbench 4 0 2009-06-01 10:16:21.076
!MESSAGE Widget disposed too early!
!STACK 0
java.lang.RuntimeException: Widget disposed too early!
at org.eclipse.ui.internal.WorkbenchPartReference$1.widgetDisposed(WorkbenchPartReference.java:171)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclips

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Hello
java.lang.RuntimeException: Widget disposed too early!

Here is a related 4814.
Hope it help you!
Best regards

shong
Anonymous
Not applicable
Author

I'll will try to install them to see if they correct the problem.
If this is the fix, the installation documentation should be updated.
Anonymous
Not applicable
Author

Error still exists:
!SESSION 2009-05-29 08:54:25.131 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86
This is a continuation of log file /root/workspace/.metadata/.bak_0.log
Created Time: 2009-05-29 08:55:22.301
!ENTRY org.talend.libraries 4 0 2009-05-29 08:55:22.301
!MESSAGE 2009-05-29 08:55:22,297 ERROR org.talend.designer.codegen.model.CodeGeneratorEmittersPoolFactory - Exception during Initialization
!STACK 0
java.lang.NullPointerException
at org.talend.core.CorePlugin.getContext(Unknown Source)
at org.talend.core.language.LanguageManager.getCurrentLanguage(Unknown Source)
at org.talend.designer.components.model.ComponentsFactory.getCodeLanguageSuffix(Unknown Source) at org.talend.

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Hello
Before starting TOS, edit file:TalendOpenStudio-linux-gtk-x86.ini, add the following line:
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9/

Best regards
shong
Anonymous
Not applicable
Author

This workaround allowed me to create a project.
However, If I try to open the demo project I get the following error:
org.eclipse.swt.SWTError: XPCOM error -2147467259
at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:1597)
at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:285)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:118)
at org.talend.repository.ui.actions.importproject.ImportDemoProjectPage.createDescriptionIn(Unknown Source)
at org.talend.repository.ui.actions.importproject.ImportDemoProjectPage.createControl(Unknown Source)
at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:170)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:669)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:543)
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.ui.actions.importproject.ImportDemoProjectAction.run(Unknown Source)
at org.talend.repository.ui.login.LoginComposite.importDemoProject(Unknown Source)
at org.talend.repository.ui.login.LoginComposite$1.run(Unknown Source)
at org.talend.repository.ui.login.LoginComposite$11.widgetSelected(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1158)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3401)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3033)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at org.talend.rcp.intro.Application.logUserOnProject(Unknown Source)
at org.talend.rcp.intro.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
Anonymous
Not applicable
Author

wow I'm so glad I found this fix. Was looking everywhere to see what was wrong!
-Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9/
Fixed my issues for now, thanks!
_AnonymousUser
Specialist III
Specialist III

In ubuntu, I had this problem too. Two things fixed it:
1. setting up the JAVA_HOME to /usr/lib/jvm/java-6-sun
2. inserting -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/lib/xulrunner-1.9/ into .ini file.
Still demo project doesn't work, but not a big issue. I saw people are having error on that too.
Thanks for the continuous support.