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 242067

Summary: IllegalStateException: Token at 82498 cannot be located! Previous token: '>', tokenID=tag, tcp=|<XMLDefaultTokenContext>|, offset=123
Product: xml Reporter: Exceptions Reporter <exceptions_reporter>
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 207749
Attachments: stacktrace

Description Exceptions Reporter 2014-02-18 19:37:44 UTC
This bug was originally marked as duplicate of bug 212451, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0 Beta (Build 201401141042)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.0-b56, Java(TM) SE Runtime Environment, 1.7.0_40-b43
OS: Windows Server 2008 R2

User Comments:
GUEST: I really don't know




Stacktrace: 
java.lang.IllegalStateException: Token at 82498 cannot be located!
Previous token: '>', tokenID=tag, tcp=|<XMLDefaultTokenContext>|, offset=123
   at org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport.getPreviousToken(XMLSyntaxSupport.java:144)
   at org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport.getElementChain(XMLSyntaxSupport.java:162)
   at org.netbeans.modules.xml.text.structure.XMLDocumentModelProvider.generateDocumentElements(XMLDocumentModelProvider.java:441)
   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 Exceptions Reporter 2014-02-18 19:37:46 UTC
Created attachment 145376 [details]
stacktrace
Comment 2 Martin Balin 2016-07-07 09:56:58 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss