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 136050 - Spring refactor to change package -> ClassCastException
Summary: Spring refactor to change package -> ClassCastException
Status: RESOLVED DUPLICATE of bug 133893
Alias: None
Product: javaee
Classification: Unclassified
Component: Spring (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 04:32 UTC by vaughn
Modified: 2008-05-29 11:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log showing exception when Java package renamed (51.87 KB, text/plain)
2008-05-29 04:36 UTC, vaughn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vaughn 2008-05-29 04:32:20 UTC
Used refactor to change Java package name in simple Spring app based on the "Introduction to the Spring Framework"
tutorial at http://www.netbeans.org/kb/61/web/quickstart-webapps-spring.html. Got warning before refactoring saying:

Module Spring Beans threw java.lang.ClassCastException: org.netbeans.editor.ext.ExtSyntaxSupport cannot be cast to
org.netbeans.modules.xml.text.syntax.XMLSyntaxSupport. Please report a bug againts Spring Beans module and attach your
var/log/messages.log.

Proceeded to refactor despite warning. Result was a Spring web app that compiled and deployed OK, but would not run.
Comment 1 vaughn 2008-05-29 04:36:06 UTC
Created attachment 62096 [details]
IDE log showing exception when Java package renamed
Comment 2 Andrei Badea 2008-05-29 11:52:58 UTC
Thanks for reporting. This is a known issue, look at the release notes for a workaround:

http://www.netbeans.org/community/releases/61/relnotes.html


*** This issue has been marked as a duplicate of 133893 ***