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.
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)
Created attachment 119408 [details] stacktrace
Created attachment 119556 [details] stacktrace
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.