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 8.2 (Build 201609300101) VM: Java HotSpot(TM) 64-Bit Server VM, 25.141-b15, Java(TM) SE Runtime Environment, 1.8.0_141-b15 OS: Linux User Comments: jkovalsky: Hit line breakpoint in Ant build.xml script and wanted to create a new watch which was not possible due to disabled editing. Stacktrace: java.lang.ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast to org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport at org.netbeans.modules.xml.schema.completion.SchemaBasedCompletionProvider.getAutoQueryTypes(SchemaBasedCompletionProvider.java:79) at org.netbeans.modules.editor.completion.CompletionImpl.insertUpdate(CompletionImpl.java:350) at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(PriorityDocumentListenerList.java:85) at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:201) at org.netbeans.editor.BaseDocument.fireInsertUpdate(BaseDocument.java:1659) at org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:847)
Created attachment 164779 [details] stacktrace
FYI, this reproduces only in 8.2 and not in development build 201707050001. I used all JDK 8 Updates 111, 121, 131 and 141 and it reproduces in 8.2 but not in trunk builds.
Reproducible with JDK 8 Update 151 as well.