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 86670 - Class element code generation throws NPE
Summary: Class element code generation throws NPE
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-06 12:38 UTC by Alexandr Scherbatiy
Modified: 2007-10-19 21:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log file (19.01 KB, text/plain)
2006-10-06 12:40 UTC, Alexandr Scherbatiy
Details
Mac Crash Report (32.75 KB, text/plain)
2006-10-06 17:46 UTC, Kris Richards
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2006-10-06 12:38:00 UTC
Steps to reproduce:

- Create a Java project
- Add 'pack' package into the project
- Add 'MyClass' java class into the project
- Reverse Engineer the java project into new UML project
- Select generated 'MyClass' class element and invoke 'Generate Code'
  'Generate Code' dialogs appears
- Press 'OK' button

  NPE pops up:

java.lang.NullPointerException
  at  uml.util.AbstractNBTask.finishTask(AbstractNBTask.java:490)
  at  uml.util.AbstractNBTask.run(AbstractNBTask.java:108)
  at  util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at util.RequestProcessor$Processor.run(RequestProcessor.java:932)

See attached IDE log file.
Comment 1 Alexandr Scherbatiy 2006-10-06 12:40:43 UTC
Created attachment 34979 [details]
IDE log file
Comment 2 Kris Richards 2006-10-06 17:46:22 UTC
Created attachment 34999 [details]
Mac Crash Report
Comment 3 Kris Richards 2006-10-06 18:07:00 UTC
Please ignore the previous post. It was attached to the wrong izzue.
Comment 4 Kris Richards 2006-10-06 21:23:52 UTC
This was fixed as a result of the reverse engineering work. Tested on MacOSX running jdk1.5
Comment 5 Alexandr Scherbatiy 2006-10-09 15:21:05 UTC
The issue is not reproduced in last build