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 87626 - Generate Code invoked on operation node throws ClassCastException
Summary: Generate Code invoked on operation node throws ClassCastException
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks: 87474
  Show dependency tree
 
Reported: 2006-10-20 12:24 UTC by Andrew Korostelev
Modified: 2006-10-24 02:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ClassCastException (759 bytes, application/octet-stream)
2006-10-20 12:24 UTC, Andrew Korostelev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Korostelev 2006-10-20 12:24:01 UTC
reproducible in all-nbms-griffin-061019_8

Generate Code invoked on operation node throws ClassCaseException.

Generate Code should be removed from inner elements popups(nested classes and
operations/attrs).
But in mentioned build it still exists and throws an exception.
Comment 1 Andrew Korostelev 2006-10-20 12:24:25 UTC
Created attachment 35411 [details]
ClassCastException
Comment 2 Andrew Korostelev 2006-10-20 12:27:15 UTC
the same for attribute node
Comment 3 Andrew Korostelev 2006-10-20 13:35:27 UTC
see also issue 87621
Comment 4 Andrew Korostelev 2006-10-20 13:39:44 UTC
see also issue 87634 - the same for operation/attribute compartment
Comment 5 Yang Su 2006-10-23 22:23:47 UTC
Fixed logic that enables "Generate Code" action, it should be enabled on named
project, package, outter class, interface and enum nodes only, not on diagram.
Comment 6 Peter Lam 2006-10-24 02:19:59 UTC
verified in build 061023_6. Generate Code no longer exists on operation.