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

Summary: ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast to org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: SpringAssignee: Martin Fousek <marfous>
Status: NEW ---    
Severity: normal CC: adv, gerzhedowich
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 170502
Attachments: stacktrace
stacktrace

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...