This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Build: NetBeans IDE Dev (Build 201211300001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b09, Java(TM) SE Runtime Environment, 1.8.0-ea-b65 OS: Linux User Comments: christiaensm: I was editing a C++ file. Maybe (not sure) I did an undo operation (CTRL-Z) that caused this. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.editor.lib2.view.ViewUtils.shapeAsRect(ViewUtils.java:90) at org.netbeans.modules.editor.lib2.view.DocumentView.offsetRepaint(DocumentView.java:578) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.offsetRepaint(EditorViewFactory.java:272) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory$2.run(HighlightsViewFactory.java:374) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1330) at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.highlightChanged(HighlightsViewFactory.java:332)
Created attachment 128821 [details] stacktrace
This is reported on JDK 1.8. We will concentrate on the 1.8 in the next release. Marking as TM=Next.
I cannot reproduce the problem. Also the code was already changed so the stacktrace no longer corresponds to the present code. Closing as worksforme. If the problem would persist please reopen the issue.