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 87495 - NPE on pop-up in diagram area for diagrams from dc
Summary: NPE on pop-up in diagram area for diagrams from dc
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Design Center (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Trey Spiva
URL:
Keywords: REGRESSION
Depends on:
Blocks: 78277
  Show dependency tree
 
Reported: 2006-10-19 10:29 UTC by Sergey Petrov
Modified: 2006-10-20 12:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npe (2.21 KB, text/plain)
2006-10-19 10:30 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2006-10-19 10:29:21 UTC
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
Comment 1 Sergey Petrov 2006-10-19 10:30:25 UTC
Created attachment 35369 [details]
npe
Comment 2 Sergey Petrov 2006-10-19 11:17:55 UTC
I can't reproduce in 061005 ide_uml-griffin zip
Comment 3 Trey Spiva 2006-10-19 14:10:51 UTC
Since you are not able to reproduce this issue, I am going to mark it as fixed.
Comment 4 Sergey Petrov 2006-10-19 14:19:52 UTC
it isn't reproducible in older build(061005) zip but it's reproducible in latest
build (061018_35) nbms
Comment 5 Trey Spiva 2006-10-19 16:05:25 UTC
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.
Comment 6 Trey Spiva 2006-10-19 17:00:25 UTC
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.
Comment 7 Sergey Petrov 2006-10-20 12:42:11 UTC
verfied with 061019_8