Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/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
8.2
All All
: P3 (vote)
: TBD
Assigned To: Svata Dedic
issues@xml
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  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
:


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

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.




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)
Comment 1 Jiri Kovalsky 2017-07-17 13:14:06 UTC
Created attachment 164779 [details]
stacktrace
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