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 212451 - IllegalStateException: Token at 5154 cannot be located! Inspected range:[0, 462596].
Summary: IllegalStateException: Token at 5154 cannot be located! Inspected range:[0, 4...
Status: RESOLVED WORKSFORME
Alias: None
Product: xml
Classification: Unclassified
Component: Text-Edit (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-14 09:12 UTC by ilvisne
Modified: 2012-11-06 16:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 108815


Attachments
stacktrace (997 bytes, text/plain)
2012-05-14 09:12 UTC, ilvisne
Details
stacktrace (1.03 KB, text/plain)
2012-05-17 06:36 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilvisne 2012-05-14 09:12:33 UTC
Build: NetBeans IDE 7.1 (Build 201112071828)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows 7

User Comments:
ilvisne: Tried to paste the source of this link https://gdata.youtube.com/feeds/api/videos?q=direstraits&orderby=rating&max-results=50 to the xml editor.




Stacktrace: 
java.lang.IllegalStateException: Token at 5154 cannot be located!
Inspected range:[0, 462596].
   at org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport.getPreviousToken(XMLSyntaxSupport.java:131)
   at org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport.getElementChain(XMLSyntaxSupport.java:162)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.generateDocumentElements(XMLDocumentModelProvider.java:439)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.updateModel(XMLDocumentModelProvider.java:266)
   at org.netbeans.modules.editor.structure.api.DocumentModel.updateModel(DocumentModel.java:512)
   at org.netbeans.modules.editor.structure.api.DocumentModel.access$000(DocumentModel.java:128)
Comment 1 ilvisne 2012-05-14 09:12:39 UTC
Created attachment 119408 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-05-17 06:36:04 UTC
Created attachment 119556 [details]
stacktrace
Comment 3 Svata Dedic 2012-11-06 16:48:35 UTC
Cannot reproduce. Tried:
1/ created a new well-formed XML file
2/ select all
3/ copy the content from the URL in the description
4/ pasted to the file

for better readability, I reformatted the whole file after a while.

Please retry in NB-7.3, and reopen with more detailed steps; thanks.