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 201914

Summary: NullPointerException at org.netbeans.modules.editor.lib2.highlighting.SyntaxHighlighting$HSImpl.getEndOffset
Product: editor Reporter: moonport
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 181054
Attachments: stacktrace

Description moonport 2011-09-09 21:57:38 UTC
Build: NetBeans IDE 7.0.1 (Build 201107282000)
VM: OpenJDK Client VM, 19.0-b09, OpenJDK Runtime Environment, 1.6.0_20-b20
OS: Linux

Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.editor.lib2.highlighting.SyntaxHighlighting$HSImpl.getEndOffset(SyntaxHighlighting.java:420)
   at org.netbeans.modules.editor.lib2.highlighting.CheckedHighlightsSequence.moveNext(CheckedHighlightsSequence.java:109)
   at org.netbeans.modules.editor.lib2.highlighting.ProxyHighlightsContainer$Sequence2Marks.moveNext(ProxyHighlightsContainer.java:432)
   at org.netbeans.modules.editor.lib2.highlighting.ProxyHighlightsContainer$ProxySeq.moveNext(ProxyHighlightsContainer.java:296)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.updateHighlight(HighlightsViewFactory.java:186)
   at org.netbeans.modules.editor.lib2.view.HighlightsViewFactory.createView(HighlightsViewFactory.java:124)
Comment 1 moonport 2011-09-09 21:57:42 UTC
Created attachment 110584 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-09-22 14:29:59 UTC
The code is no longer present in 7.1 (EditorBoxView class does not exist).

*** This bug has been marked as a duplicate of bug 197534 ***