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 152624 - [65cat] IllegalStateException: javax.swing.text.BadLocationException: Length must be positive
Summary: [65cat] IllegalStateException: javax.swing.text.BadLocationException: Length ...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 08:54 UTC by sunbiz
Modified: 2009-04-16 15:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 28814


Attachments
stacktrace (9.81 KB, text/plain)
2008-11-07 08:54 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sunbiz 2008-11-07 08:54:09 UTC
Build: NetBeans IDE Dev (Build 200811060201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Opened XSD file's Schema tab and made some changes to the properties. Pressed Undo and got this exception

chronosmark: While trying to undo some changes to PHP code.

sunbiz: Opened XSD file's Schema tab and made some changes to the properties. Pressed Undo and got this exception



Stacktrace: 
java.lang.IllegalStateException: javax.swing.text.BadLocationException: Length must be positive
        at org.netbeans.editor.FixLineSyntaxState.fixSyntaxStateInfos(FixLineSyntaxState.java:505)
        at org.netbeans.editor.FixLineSyntaxState.update(FixLineSyntaxState.java:288)
        at org.netbeans.editor.FixLineSyntaxState$BeforeLineUndo.undo(FixLineSyntaxState.java:591)
        at org.netbeans.editor.BaseDocumentEvent.undo(BaseDocumentEvent.java:303)
        at org.netbeans.editor.GuardedDocumentEvent.undo(GuardedDocumentEvent.java:69)
        at javax.swing.undo.CompoundEdit.undo(CompoundEdit.java:46)
Comment 1 sunbiz 2008-11-07 08:54:13 UTC
Created attachment 73427 [details]
stacktrace
Comment 2 Miloslav Metelka 2008-11-18 16:57:41 UTC
I'm unable to reproduce. Is the issue random?
Comment 3 pribyl 2009-04-16 15:35:21 UTC
No additional info since the first report, last occurrence of this exception was reported > 3 months ago

Closing for now as WORKSFORME.