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 271108 - Cannot create an ANT debugger watch in a build script
Summary: Cannot create an ANT debugger watch in a build script
Status: NEW
Alias: None
Product: xml
Classification: Unclassified
Component: Schema Tools (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
Depends on:
Reported: 2017-07-17 13:14 UTC by Jiri Kovalsky
Modified: 2017-10-10 10:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 102070

stacktrace (4.30 KB, text/plain)
2017-07-17 13:14 UTC, Jiri Kovalsky

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2017-07-17 13:14:04 UTC
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.

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(
   at org.netbeans.modules.editor.completion.CompletionImpl.insertUpdate(
   at org.netbeans.lib.editor.util.swing.PriorityDocumentListenerList.insertUpdate(
   at javax.swing.text.AbstractDocument.fireInsertUpdate(
   at org.netbeans.editor.BaseDocument.fireInsertUpdate(
   at org.netbeans.editor.BaseDocument.handleInsertString(
Comment 1 Jiri Kovalsky 2017-07-17 13:14:06 UTC
Created attachment 164779 [details]
Comment 2 Jiri Kovalsky 2017-07-17 13:49:44 UTC
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.
Comment 3 Jiri Kovalsky 2017-10-10 10:02:21 UTC
Reproducible with JDK 8 Update 151 as well.