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 198190

Summary: IllegalStateException: prevViewEndOffset=-1 < 0
Product: editor Reporter: adam_myatt <adam_myatt>
Component: Painting & PrintingAssignee: Miloslav Metelka <mmetelka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: LOBsTerr, maxceem, olksy, plastique, rollopack, zulhilmi89
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 178590
Attachments: stacktrace

Description adam_myatt 2011-04-28 18:31:00 UTC
This bug was originally marked as duplicate of bug 191620, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0 (Build 201104080000)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows XP

User Comments:
GUEST: expanding/collapsing code folds

adam_myatt: editting a JSP file in the Source Editor




Stacktrace: 
java.lang.IllegalStateException: prevViewEndOffset=-1 < 0
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:396)
   at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:336)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:182)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:597)
   at org.netbeans.modules.editor.lib2.view.ViewUpdates.syncViewsRebuild(ViewUpdates.java:544)
   at org.netbeans.modules.editor.lib2.view.DocumentView.syncViewsRebuild(DocumentView.java:373)
Comment 1 adam_myatt 2011-04-28 18:31:03 UTC
Created attachment 108009 [details]
stacktrace
Comment 2 Miloslav Metelka 2011-05-19 12:13:27 UTC

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