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 100959 - Model Report throws NPE on MyListGeneric project
Summary: Model Report throws NPE on MyListGeneric project
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Yang Su
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-13 13:18 UTC by Alexandr Scherbatiy
Modified: 2007-06-06 13:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
MyListGeneric java project (10.67 KB, application/octet-stream)
2007-04-13 13:21 UTC, Alexandr Scherbatiy
Details
IDE log (52.89 KB, text/plain)
2007-04-13 13:22 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-04-13 13:18:46 UTC
Steps to reproduce:
- Open the attached MyListGeneric 
- Reverse engineer the project
- Generate Model Report
 NPE pops up (see attached IDE log file)
Comment 1 Alexandr Scherbatiy 2007-04-13 13:21:30 UTC
Created attachment 40884 [details]
MyListGeneric java project
Comment 2 Alexandr Scherbatiy 2007-04-13 13:22:13 UTC
Created attachment 40885 [details]
IDE log
Comment 3 Yang Su 2007-04-18 00:54:15 UTC
This needs to be fixed at Reverse Engineering stage, the implementation
relationship between a class and its generic interface is not properly handled,
there is no node under ShowListHandler -> Relationships -> Implementation, which
caused NPE in report generation, issue 101492 has been filed.

Added null value check to avoid NPE in report.

Comment 4 Alexandr Scherbatiy 2007-06-06 13:38:23 UTC
verified