Community
Participate
Working Groups
eclipse.buildId=4.8.0.I20180322-0645 java.version=1.8.0_141 java.vendor=Oracle Corporation BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US Command-line arguments: -data file:/home/user/workspace/ -os linux -ws gtk -arch x86_64 java.lang.NullPointerException at org.eclipse.jface.text.JFaceTextUtil.isShowingEntireContents(JFaceTextUtil.java:305) at org.eclipse.jface.text.source.LineNumberRulerColumn.isViewerCompletelyShown(LineNumberRulerColumn.java:842) at org.eclipse.jface.text.source.LineNumberRulerColumn$InternalListener.textChanged(LineNumberRulerColumn.java:105) at org.eclipse.jface.text.TextViewer.updateTextListeners(TextViewer.java:2699) at org.eclipse.jface.text.TextViewer.invalidateTextPresentation(TextViewer.java:3344) at org.eclipse.jface.text.source.AnnotationPainter.invalidateTextPresentation(AnnotationPainter.java:967) at org.eclipse.jface.text.source.AnnotationPainter.updatePainting(AnnotationPainter.java:949) at org.eclipse.jface.text.source.AnnotationPainter.paint(AnnotationPainter.java:1639) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateAnnotationPainter(SourceViewerDecorationSupport.java:878) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.updateTextDecorations(SourceViewerDecorationSupport.java:307) at org.eclipse.ui.texteditor.SourceViewerDecorationSupport.install(SourceViewerDecorationSupport.java:270) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput(JavaEditor.java:2552) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSetInput(CompilationUnitEditor.java:1419) at org.eclipse.ui.texteditor.AbstractTextEditor.setInputWithNotify(AbstractTextEditor.java:4263) at org.eclipse.ui.texteditor.AbstractTextEditor.setInput(AbstractTextEditor.java:4283) at org.eclipse.ui.internal.WorkbenchPage.reuseEditor(WorkbenchPage.java:3104) at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:485) at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(SourceLookupFacility.java:422) at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility$SourceDisplayJob.runInUIThread(SourceLookupFacility.java:793) at org.eclipse.ui.progress.UIJob.lambda$0(UIJob.java:95) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4877) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4486) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039) at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153) at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:681) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:595) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243) 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:656) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592) at org.eclipse.equinox.launcher.Main.run(Main.java:1498) at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
In which editor did you see this? We can't/won't do anything with additional information/steps.
I was in Debug perspective, clicking on a stack element in the Debug view which opens the corresponding Java class in the editor. There is a popup: Problem Occurred 'Debug Source Display' has encountered a problem. An internal error has occurred. The popup appears very often as I click on different stack elements.
(In reply to Patrick Tasse from comment #2) > The popup appears very often as I click on different stack elements. Can you find a pattern?
This stopped happening for me. I've had problems with broken Java index causing out of memory errors, maybe something got corrupted and it got fixed when I cleared the jdt.core folder in my workspace metadata. Perhaps this can be closed, unless you feel that somewhere in the stack it should have protected against the NullPointerException?