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.
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.
Created attachment 35411 [details] ClassCastException
the same for attribute node
see also issue 87621
see also issue 87634 - the same for operation/attribute compartment
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.
verified in build 061023_6. Generate Code no longer exists on operation.