One Star

Errors or Warning lines results in java.lang.NullPointerException

Hi,
When trying to resolve errors in a job I select the Problems tab and try selecting entries under Errors or Warnings but get the message: "An error has occurred. See error log for more details. java.lang.NullPointerException". Error log info:

!ENTRY org.eclipse.jface 4 2 2013-08-15 10:24:44.842
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
!STACK 0
java.lang.NullPointerException
at org.talend.designer.core.ui.views.problems.ProblemsView.selectInDesigner(ProblemsView.java:206)
at org.talend.designer.core.ui.views.problems.ProblemsView.access$0(ProblemsView.java:197)
at org.talend.designer.core.ui.views.problems.ProblemsView$1.selectionChanged(ProblemsView.java:134)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2162)
at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1190)
at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1220)
at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:228)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:222)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:389)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.talend.rcp.intro.Application.start(Application.java:127)
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(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
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)
Different behaviors:
1) Open a blank, new job, the same three items listed under Errors.
2) Single clicking brings up the error detailed above (picture attached).
but
1) With no job open, the Problems tab lists three items under Errors.
2) Nothing happens when single or double clicking any of these errors.
then
1)From the menu select Window->Show View->General->Problems
2)A new Problems tab appears next to the old one except this one lists three items in Errors and 100 of 4161 Warnings
3)Double Clicking any of these brings up the .java Resource (no pop up errors)
2 REPLIES
Seventeen Stars

Re: Errors or Warning lines results in java.lang.NullPointerException

Yes, I know this bug and many Eclipse related bugs too. One of my favorite is "No more handles" and thats it.
Sometimes jobs gets corrupted. These jobs mostly cannot be restored and I usually create them new from scratch. I have the idea how to solve the problem and that saves time.
Sorry I do not know a good solution, but to know you are not alone is causes sometimes bit better feeling.
One Star

Re: Errors or Warning lines results in java.lang.NullPointerException

Yes, I know this bug and many Eclipse related bugs too. One of my favorite is "No more handles" and thats it.
Sometimes jobs gets corrupted. These jobs mostly cannot be restored and I usually create them new from scratch. I have the idea how to solve the problem and that saves time.
Sorry I do not know a good solution, but to know you are not alone is causes sometimes bit better feeling.

I appreciate the response. I'm new to Talend so yes, it is somewhat comforting to know that I'm not alone in this. I guess I'll just move on and hope this doesn't become a show stopper in the future.
Thanks jlolling!