Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 271108 - Cannot create an ANT debugger watch in a build script
Cannot create an ANT debugger watch in a build script
Status: NEW
Product: xml
Classification: Unclassified
Component: Schema Tools
All All
: P3 (vote)
Assigned To: Svata Dedic
Depends on:
  Show dependency treegraph
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

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.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo