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 121005 - javax.swing.text.BadLocationException: end=291 < start=292
Summary: javax.swing.text.BadLocationException: end=291 < start=292
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vitezslav Stejskal
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-02 17:33 UTC by Jindrich Sedek
Modified: 2007-11-20 17:56 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 10341


Attachments
stacktrace (3.72 KB, text/plain)
2007-11-02 17:33 UTC, Jindrich Sedek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jindrich Sedek 2007-11-02 17:33:02 UTC
Build: NetBeans IDE Dev (Build 20071102125937)
VM: Java HotSpot(TM) Client VM, 1.6.0_05-ea-b05
OS: SunOS, 5.11, x86

User Comments: 
[web/jsp editor]
Create new WebProject with JSF framework
welcomeJSF.jsp file is created and opened
set cursor possition at line 6 - bellow two taglibs declarations
try ty add third taglib declaration - type <%@taglib ...
BLE is thrown
Comment 1 Jindrich Sedek 2007-11-02 17:33:17 UTC
Created attachment 52398 [details]
stacktrace
Comment 2 Marek Fukala 2007-11-03 10:35:26 UTC
Vito, can you fix it please, it is in the code you wrote. I am busy with higher priority issues. Thanks.
Comment 3 Vitezslav Stejskal 2007-11-03 18:25:38 UTC
Should be fixed now. I already applied the same fix for rhtml.

Checking in web/jspsyntax/src/org/netbeans/modules/web/core/syntax/EmbeddedSectionsHighlighting.java;
/cvs/web/jspsyntax/src/org/netbeans/modules/web/core/syntax/EmbeddedSectionsHighlighting.java,v  <-- 
EmbeddedSectionsHighlighting.java
new revision: 1.7; previous revision: 1.6
done
Checking in ruby/rhtml/src/org/netbeans/modules/ruby/rhtml/EmbeddedSectionsHighlighting.java;
/cvs/ruby/rhtml/src/org/netbeans/modules/ruby/rhtml/EmbeddedSectionsHighlighting.java,v  <-- 
EmbeddedSectionsHighlighting.java
new revision: 1.4; previous revision: 1.3
done
Comment 4 Jindrich Sedek 2007-11-20 17:56:04 UTC
verified.
NetBeans IDE 6.0 RC2 (Build 200711201000)