Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361850

Summary: [LML] NPE in TableHandler
Product: [Tools] PTP Reporter: Wyatt Spear <wspear>
Component: RM.PBSAssignee: Claudia Knobloch <cla.knobloch>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: cla.knobloch
Version: 5.0.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Wyatt Spear CLA 2011-10-24 14:36:15 EDT
This showed during a session on Forge.  I didn't notice any issues with the interface afterward.


!ENTRY org.eclipse.ptp.rm.lml.ui 4 2 2011-10-24 11:05:26.213
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ptp.rm.lml.ui".
!STACK 0
java.lang.NullPointerException
	at org.eclipse.ptp.rm.lml.internal.core.model.TableHandler.getTableDataWithColor(TableHandler.java:329)
	at org.eclipse.ptp.rm.lml.ui.views.TableView.setViewerInput(TableView.java:834)
	at org.eclipse.ptp.rm.lml.ui.views.TableView.access$11(TableView.java:827)
	at org.eclipse.ptp.rm.lml.ui.views.TableView$LMLTableListListener$8.run(TableView.java:275)
	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.ptp.rm.lml.ui.UIUtils$7.run(UIUtils.java:194)
	at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164)
	at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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:344)
	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:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Comment 1 Claudia Knobloch CLA 2011-10-25 04:59:02 EDT
I had a look at the source code and I am actually really surprised that a NPE occurs since I am generating a new object of the class Cell.

Wyatt, can you please be so kind and send me the line 329 of the class TableHandler? I am not quite sure if the line in which the NPE occurs is the same like the line in my workspace.

Thanks