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 256896 - ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast to org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport
Summary: ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast t...
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-01 13:35 UTC by Exceptions Reporter
Modified: 2016-02-18 12:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 170502


Attachments
stacktrace (3.76 KB, text/plain)
2015-12-01 13:35 UTC, Exceptions Reporter
Details
stacktrace (3.76 KB, text/plain)
2016-02-18 12:16 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-01 13:35:49 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
adv: I've tried to rename a field and this error occured.

GUEST: searching usages alt+f7




Stacktrace: 
java.lang.ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast to org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport
   at org.netbeans.modules.spring.beans.refactoring.PropertyRefFinder.<init>(PropertyRefFinder.java:91)
   at org.netbeans.modules.spring.beans.refactoring.Occurrences$1$1.run(Occurrences.java:91)
   at org.netbeans.modules.spring.beans.refactoring.Occurrences$1$1.run(Occurrences.java:83)
   at org.netbeans.modules.spring.beans.model.SpringConfigModelController.runDocumentActionExclusively(SpringConfigModelController.java:189)
   at org.netbeans.modules.spring.beans.model.SpringConfigModelController.access$100(SpringConfigModelController.java:66)
   at org.netbeans.modules.spring.beans.model.SpringConfigModelController$2.call(SpringConfigModelController.java:154)
Comment 1 Exceptions Reporter 2015-12-01 13:35:51 UTC
Created attachment 157581 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-02-18 12:16:50 UTC
Created attachment 158553 [details]
stacktrace

background scanning of projects...