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 with 061018_35 steps: 1. open design center 2. open any precreated diagram or create new one in your project(in design center) 3. try to invoke context menu in diagram area NPE is thrown the same for all elemnts on diagram
Created attachment 35369 [details] npe
I can't reproduce in 061005 ide_uml-griffin zip
Since you are not able to reproduce this issue, I am going to mark it as fixed.
it isn't reproducible in older build(061005) zip but it's reproducible in latest build (061018_35) nbms
Yea, I realized that after I sent added my replay, I updated 78277 with the statement Got, it the other issue is a regression from build 061005. Ok. But for got to update this issue.
The action was trying to get a hold of the UML project that owned the model element. In the case of the design center, no UML Project is associatied with the model element. Therefore the exception. I have also verified that the code generation menu item still appears in a non-design center diagram.
verfied with 061019_8