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 125884

Summary: ClassCastException on DeploymentSpecification action
Product: uml Reporter: Peter Lam <petersl>
Component: Diagram DeploymentAssignee: issues@uml <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: exceptions

Description Peter Lam 2008-01-23 23:22:19 UTC
from 6.1 M1 build 20080122210

Not sure what I did but I saw these exceptions in the ide log file. I tried to reproduce but couldn't since I didn't
know what I did. Hope the exception stack trace gives a hint on what to look for. See attached.
Comment 1 Peter Lam 2008-01-23 23:22:54 UTC
Created attachment 55462 [details]
exceptions
Comment 2 Viktor Lapitski 2008-02-08 10:06:17 UTC
happens as part of 125888

*** This issue has been marked as a duplicate of 125888 ***
Comment 3 Viktor Lapitski 2008-02-09 12:29:30 UTC
This happens as the second problem in the issue 125888. It happens there 
because the model in incorrect - a DeploymentSpecification implements an Interface. 
Current release 6.1 correctly doesn't allow to create such an implementation.
Comment 4 Viktor Lapitski 2008-02-09 12:33:07 UTC
For the reasons described above i'm decreasing priority 
and leaving the bug open just for tracking purposes. 
If there is a legitimate way to create such an incorrect 
relationship in current release(s) - please bump the priority back up.
Comment 5 Peter Lam 2008-06-04 21:33:29 UTC
Will be verified when collaboration/component/deployment diagrams are implemented.
Comment 6 Sergey Petrov 2009-01-26 18:41:36 UTC
diagram isn't implemented in 6.5