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 271842

Summary: javax.swing.text.BadLocationException: No sequence for position
Product: xml Reporter: Alexander Simon <alexvsimon>
Component: Text-EditAssignee: Svata Dedic <sdedic>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 230991
Attachments: stacktrace

Description Alexander Simon 2017-11-22 17:05:35 UTC
Build: NetBeans IDE Dev (Build 20170824-15c959ada3ef)
VM: Java HotSpot(TM) 64-Bit Server VM, 9.0.1+11, Java(TM) SE Runtime Environment, 9.0.1+11
OS: Windows 10

User Comments:
alexvsimon: edit ent file




Stacktrace: 
javax.swing.text.BadLocationException: No sequence for position
   at org.netbeans.modules.xml.text.api.dom.XMLSyntaxSupport.runWithSequence(XMLSyntaxSupport.java:292)
   at org.netbeans.modules.xml.text.completion.XMLCompletionProvider.noCompletion(XMLCompletionProvider.java:171)
   at org.netbeans.modules.xml.text.completion.XMLCompletionProvider.checkCompletion(XMLCompletionProvider.java:144)
   at org.netbeans.modules.xml.text.completion.XMLCompletionProvider.getAutoQueryTypes(XMLCompletionProvider.java:89)
   at org.netbeans.modules.editor.completion.CompletionImpl.insertUpdate(CompletionImpl.java:352)
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:85)
Comment 1 Alexander Simon 2017-11-22 17:05:38 UTC
Created attachment 165488 [details]
stacktrace