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 113896 - Generate Model Report throws NPE on Generalization to null element
Summary: Generate Model Report throws NPE on Generalization to null element
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Craig Conover
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-27 19:57 UTC by Craig Conover
Modified: 2007-08-28 07:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Conover 2007-08-27 19:57:45 UTC
Somehow, a generalization relationship was created to a null element. These relationships should be ignored as "junk"
which is result of some other root cause not in the reporting module.
Comment 1 Craig Conover 2007-08-27 20:00:08 UTC
Added defensive code to ignore null superclass references. Root cause (how the null relationship was created) is unknown.
Comment 2 Peter Lam 2007-08-28 06:57:43 UTC
how do I create a generalization relationship to a null element to verify the fix of this bug?
Comment 3 Peter Lam 2007-08-28 07:44:59 UTC
verified in build 070828-b2830 using the user provided project.