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 77442 - ClassCastException when refreshing webservice client
Summary: ClassCastException when refreshing webservice client
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-06 14:17 UTC by mr_beeba
Modified: 2008-02-25 16:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mr_beeba 2006-06-06 14:17:29 UTC
When refreshing webservice client in Enterprise Application Client project this
exception appeared in a dialog window to be reported to nb developers:



java.lang.ClassCastException: org.netbeans.jmi.javamodel.JavaPackage$Impl
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement._delete(MetadataElement.java:151)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.SemiPersistentElement._delete(SemiPersistentElement.java:853)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl._delete(ResourceImpl.java:1309)
	at org.netbeans.mdr.handlers.InstanceHandler.refDelete(InstanceHandler.java:306)
	at
org.netbeans.modules.javacore.ExclusiveMutex.parseIfNeeded(ExclusiveMutex.java:233)
	at org.netbeans.modules.javacore.ExclusiveMutex.enter(ExclusiveMutex.java:171)
	at org.netbeans.mdr.NBMDRepositoryImpl.beginTrans(NBMDRepositoryImpl.java:228)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.createMDRListenerOnDocument(JEEVerificationAnnotationProvider.java:276)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider.access$000(JEEVerificationAnnotationProvider.java:68)
	at
org.netbeans.modules.j2ee.verification.JEEVerificationAnnotationProvider$1.run(JEEVerificationAnnotationProvider.java:111)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Quality Engineering 2007-09-20 10:50:12 UTC
Reorganization of java component
Comment 2 Jan Becicka 2008-02-25 16:16:05 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.