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 119539 - model report generation failed on test sample project
Summary: model report generation failed on test sample project
Status: VERIFIED INVALID
Alias: None
Product: uml
Classification: Unclassified
Component: Reporting (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Craig Conover
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-10-20 00:29 UTC by Peter Lam
Modified: 2007-10-24 20:04 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 Peter Lam 2007-10-20 00:29:19 UTC
This is a regression in beta 2 20071019. This sample uml project was used in the model reporting testing which was
generated successfully before but failed with the following messages in the ide output window. The report is not opened
in the browser either.

generating report for ReportingIndependent to E:\HydraProjs\model-report-projs\ReportingIndependent\report
Error creating file for PartFacade e_ActorRole
Error creating file for PartFacade e_ClassRole
Error creating file for PartFacade e_InterfaceRole
Error creating file for PartFacade e_Role
Error creating file for PartFacade e_UseCaseRole
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name4
Error creating file for Lifeline e_name3
Error creating file for Lifeline e_name4
processed 554 elements 16 diagrams
Report Failed (total time: 4 minutes 15 seconds)

Repro steps:
- download and unjar the sample uml project from http://uml.netbeans.org/qa/nb60/Reporting/data/project1.jar 
- open the sample project from ide 
- generate model report for the sample project
Comment 1 Craig Conover 2007-10-24 19:19:39 UTC
I see the messages. More detailed error/warning messages were implemented in the web report process. The lifelines in
the messages do not have representing classifiers. I'm not sure this warrants a message being displayed. Perhaps this
issue can be closed as "invalid" and another issue opened to stop displaying the message.

As for the report NOT displaying in the browser, I saw the report display as expected (tested on Vista, set Firefox as
default browser for NetBeans). Here's my about box info:

Product Version: NetBeans IDE Dev (Build 071022)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-b05
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
Userdir: C:\Users\conover\dev\nbeng\beta2\build1\nbuserdir
Comment 2 Peter Lam 2007-10-24 19:33:09 UTC
Well, I don't agree that this issue is invalid. I called it a regression because I could generate model report for this
project w/o any problem at all using Beta 1 build. Below is the output message from the ide output window, no errors
about lifelines and report is brought up in my default firebox browser.

generating report for ReportingIndependent to E:\HydraProjs\model-report-projs\ReportingIndependent\report
generating summary files
processed 554 elements 16 diagrams
Report Successful (total time: 2 minutes 6 seconds)


Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709111000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 3 Peter Lam 2007-10-24 20:02:27 UTC
ok, just tried with today's trunk build 20071024-b4129 that the report can now be generated and opened to the web
browser even though those errors are being displayed. It must be something changed in the recent builds that fixed the
problem. I'll open a separate issue about the error messages.

Product Version: NetBeans IDE Dev (Build 20071024150014)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b02
System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb)
Comment 4 Peter Lam 2007-10-24 20:04:13 UTC
verified in build 20071024.