Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » NPE in ColumnViewerEditor due to cellEditor is null(when I switch the focus from one tree cell to another, the NPE occurs in ColumnViewerEditor)
NPE in ColumnViewerEditor due to cellEditor is null [message #1809836] Wed, 24 July 2019 10:21
Sanket W is currently offline Sanket WFriend
Messages: 3
Registered: July 2019
Junior Member
Usecase:
Consider I have a tree table with some rows.
The last cell of row1 is selected. When I press the tab key row2's first editable cell should get selected.
Instead, it is throwing NPE due to cell editor is null

There is similar issue/bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=260892. This is on a similar line

Also posted the same on Bugzilla:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=549385

Need assistance!

Stacktrace is attached as below:

java.lang.NullPointerException
at org.eclipse.jface.viewers.ColumnViewerEditor.activateCellEditor(ColumnViewerEditor.java:192)
at org.eclipse.jface.viewers.ColumnViewerEditor.handleEditorActivationEvent(ColumnViewerEditor.java:425)
at org.eclipse.jface.viewers.ColumnViewer.triggerEditorActivationEvent(ColumnViewer.java:680)
at org.eclipse.jface.viewers.ColumnViewerEditor.processTraverseEvent(ColumnViewerEditor.java:541)
at org.eclipse.jface.viewers.ColumnViewerEditor.lambda$1(ColumnViewerEditor.java:245)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:269)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1064)
at org.eclipse.swt.widgets.Control.traverse(Control.java:4277)
at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:4259)
at org.eclipse.swt.widgets.Display.translateTraversal(Display.java:4687)
at org.eclipse.swt.widgets.Display.filterMessage(Display.java:1211)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3543)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:563)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:151)
at com.teamcenter.rac.aifrcp.Application.runApplication(Unknown Source)
at com.teamcenter.rac.aifrcp.Application.start(Unknown Source)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:595)
at org.eclipse.equinox.launcher.Main.run(Main.java:1501)
at org.eclipse.equinox.launcher.Main.main(Main.java:1474)
  • Attachment: snap.png
    (Size: 19.81KB, Downloaded 69 times)
Previous Topic:Compiler compliance in build.properties limited to Java 8?
Next Topic:Unable to resolve the targetplatform
Goto Forum:
  


Current Time: Thu Apr 25 19:37:10 GMT 2024

Powered by FUDForum. Page generated in 0.02909 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top