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.

Bug 223232 - NullPointerException at org.netbeans.modules.editor.lib2.view.ViewUtils.shapeAsRect
Summary: NullPointerException at org.netbeans.modules.editor.lib2.view.ViewUtils.shape...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-04 09:35 UTC by christiaensm
Modified: 2013-08-26 09:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196063


Attachments
stacktrace (4.72 KB, text/plain)
2012-12-04 09:35 UTC, christiaensm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christiaensm 2012-12-04 09:35:27 UTC
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)
Comment 1 christiaensm 2012-12-04 09:35:29 UTC
Created attachment 128821 [details]
stacktrace
Comment 2 David Strupl 2012-12-14 10:29:40 UTC
This is reported on JDK 1.8. We will concentrate on the 1.8 in the next release. Marking as TM=Next.
Comment 3 Miloslav Metelka 2013-08-26 09:20:00 UTC
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.