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 161123 - NullPointerException at org.netbeans.modules.uml.reporting.ReportTask.initLog
Summary: NullPointerException at org.netbeans.modules.uml.reporting.ReportTask.initLog
Status: RESOLVED INCOMPLETE
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@uml
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-25 12:20 UTC by ieising
Modified: 2009-05-08 08:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148235


Attachments
stacktrace (2.84 KB, text/plain)
2009-03-25 12:20 UTC, ieising
Details
stacktrace (2.84 KB, text/plain)
2009-03-25 12:21 UTC, ieising
Details
stacktrace (2.84 KB, text/plain)
2009-03-25 17:06 UTC, ieising
Details
stacktrace (2.92 KB, text/plain)
2009-05-08 08:55 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ieising 2009-03-25 12:20:16 UTC
Build: NetBeans IDE Dev (Build 200903241535)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
ieising: I tried to generate a report for my UML model.



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.reporting.ReportTask.initLog(ReportTask.java:957)
        at org.netbeans.modules.uml.reporting.ReportTask.initialize(ReportTask.java:286)
        at org.netbeans.modules.uml.reporting.ReportTask.<init>(ReportTask.java:166)
        at org.netbeans.modules.uml.reporting.GenerateModelReportAction.performAction(GenerateModelReportAction.java:77)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
Comment 1 ieising 2009-03-25 12:20:30 UTC
Created attachment 78812 [details]
stacktrace
Comment 2 ieising 2009-03-25 12:21:21 UTC
Build: NetBeans IDE Dev (Build 200903241535)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments: 
I tried to generate the report once again.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.reporting.ReportTask.initLog(ReportTask.java:957)
        at org.netbeans.modules.uml.reporting.ReportTask.initialize(ReportTask.java:286)
        at org.netbeans.modules.uml.reporting.ReportTask.<init>(ReportTask.java:166)
        at org.netbeans.modules.uml.reporting.GenerateModelReportAction.performAction(GenerateModelReportAction.java:77)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
Comment 3 ieising 2009-03-25 12:21:31 UTC
Created attachment 78813 [details]
stacktrace
Comment 4 Sergey Petrov 2009-03-25 13:56:48 UTC
you can try to open "output" window if it isn't open.
Comment 5 ieising 2009-03-25 17:06:29 UTC
Build: NetBeans IDE Dev (Build 200903241535)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments: 
I generated the report while having the Output window open.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.reporting.ReportTask.initLog(ReportTask.java:957)
        at org.netbeans.modules.uml.reporting.ReportTask.initialize(ReportTask.java:286)
        at org.netbeans.modules.uml.reporting.ReportTask.<init>(ReportTask.java:166)
        at org.netbeans.modules.uml.reporting.GenerateModelReportAction.performAction(GenerateModelReportAction.java:77)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
Comment 6 ieising 2009-03-25 17:06:39 UTC
Created attachment 78846 [details]
stacktrace
Comment 7 Sergey Petrov 2009-03-27 09:45:14 UTC
what was the title for output window? there is no time to fix the issue, but at this line "output" window is used, so
may be some workaround may work.
Comment 8 ieising 2009-04-03 09:22:01 UTC
Raising to a P1 because it makes the UML plugin close to unusable. If I can't generate a report, I can't communicate my
designs.

Iwan
Comment 9 ieising 2009-04-03 12:44:13 UTC
Ok, I just uninstalled the UML plug-in and re-installed it from the AUC and I can now generate the reports again. This
is all in NB67M3 with a completely virgin installation (new installdir, new userdir, no import from previous version)
but opening an NB65 project.

Iwan
Comment 10 Sergey Petrov 2009-04-03 12:47:55 UTC
do you mean these issues may be closed, as it seems you get autoupdate issue initially?
Comment 11 Sergey Petrov 2009-04-03 13:25:49 UTC
also tried to generate report and all was ok, incomplete for now.
Comment 12 ieising 2009-04-03 13:40:54 UTC
Yes, the issue can be closed. I can't reproduce it and it currently works.

Iwan
Comment 13 Exceptions Reporter 2009-05-08 08:55:14 UTC
Build: NetBeans IDE 6.7 Beta (Build 200904242137)
VM: Java HotSpot(TM) 64-Bit Server VM, 11.3-b02-77, Java(TM) SE Runtime Environment, 1.6.0_13-b03-196
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
Selected "Generate Report" for UML project.

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.uml.reporting.ReportTask.initLog(ReportTask.java:957)
        at org.netbeans.modules.uml.reporting.ReportTask.initialize(ReportTask.java:286)
        at org.netbeans.modules.uml.reporting.ReportTask.<init>(ReportTask.java:166)
        at org.netbeans.modules.uml.reporting.GenerateModelReportAction.performAction(GenerateModelReportAction.java:77)
        at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
        at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
Comment 14 Exceptions Reporter 2009-05-08 08:55:21 UTC
Created attachment 81793 [details]
stacktrace