Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eclipse 4.12 NPE for debug inline variable codeminings #100

Open
gayanper opened this issue Jul 22, 2019 · 0 comments
Open

Eclipse 4.12 NPE for debug inline variable codeminings #100

gayanper opened this issue Jul 22, 2019 · 0 comments

Comments

@gayanper
Copy link
Collaborator

java.lang.NullPointerException
at org.eclipse.jdt.experimental.debug.ui.codemining.JavaDebugElementCodeMining.getRGB(JavaDebugElementCodeMining.java:43)
at org.eclipse.debug.ui.codemining.provisional.AbstractDebugVariableCodeMining.updateLabel(AbstractDebugVariableCodeMining.java:74)
at org.eclipse.debug.ui.codemining.provisional.AbstractDebugVariableCodeMining.getLabel(AbstractDebugVariableCodeMining.java:60)
at org.eclipse.jface.internal.text.codemining.CodeMiningLineContentAnnotation.drawAndComputeWidth(CodeMiningLineContentAnnotation.java:123)
at org.eclipse.jface.text.source.inlined.LineContentAnnotation.draw(LineContentAnnotation.java:69)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationDrawingStrategy.drawAsRightOfPreviousCharacter(InlinedAnnotationDrawingStrategy.java:261)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationDrawingStrategy.draw(InlinedAnnotationDrawingStrategy.java:134)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationDrawingStrategy.draw(InlinedAnnotationDrawingStrategy.java:61)
at org.eclipse.jface.text.source.inlined.InlinedAnnotationDrawingStrategy.draw(InlinedAnnotationDrawingStrategy.java:41)
at org.eclipse.jface.text.source.AnnotationPainter.drawDecoration(AnnotationPainter.java:1421)
at org.eclipse.jface.text.source.AnnotationPainter.handleDrawRequest(AnnotationPainter.java:1387)
at org.eclipse.jface.text.source.AnnotationPainter.paintControl(AnnotationPainter.java:1335)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:5874)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1400)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1426)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1409)
at org.eclipse.swt.widgets.Control.gtk_draw(Control.java:3906)
at org.eclipse.swt.widgets.Composite.gtk_draw(Composite.java:455)
at org.eclipse.swt.widgets.Canvas.gtk_draw(Canvas.java:181)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2212)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:6814)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:6132)
at org.eclipse.swt.internal.gtk.GTK._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.GTK.gtk_main_do_event(GTK.java:4166)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1429)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1585)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4661)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
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 java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
at org.eclipse.equinox.launcher.Main.main(Main.java:1441)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant