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 111849 - model report generation caused FileNotFoundException and no report is generated
Summary: model report generation caused FileNotFoundException and no report is generated
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: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-08-03 08:17 UTC by Peter Lam
Modified: 2007-08-07 05:07 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-08-03 08:17:50 UTC
In build 070803-b2225, from windows xp. Have not verified on unix platforms.

When generate model report, the exception dialog popped up with the following exception.
The output window also displayed the following message.

generating report for UMLProject1 to E:\HydraProjs\20070802-b2225\UMLProject1\report
generating summary files
processed 59 elements 4 diagrams
Report Failed (total time: 12 seconds)


java.io.FileNotFoundException: E:\HydraProjs\20070802-b2225\UMLProject1\report\help.html (The system cannot find the
path specified)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
	at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
	at org.netbeans.modules.uml.reporting.ReportTask.copyFiles(ReportTask.java:444)
	at org.netbeans.modules.uml.reporting.ReportTask.initialize(ReportTask.java:259)
	at org.netbeans.modules.uml.reporting.ReportTask.<init>(ReportTask.java:146)
	at org.netbeans.modules.uml.reporting.GenerateModelReportAction.performAction(GenerateModelReportAction.java:55)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:559)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:55)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:555)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1170)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1211)
	at java.awt.Component.processMouseEvent(Component.java:6038)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
	at java.awt.Component.processEvent(Component.java:5803)
	at java.awt.Container.processEvent(Container.java:2058)
	at java.awt.Component.dispatchEventImpl(Component.java:4410)
	at java.awt.Container.dispatchEventImpl(Container.java:2116)
	at java.awt.Component.dispatchEvent(Component.java:4240)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
	at java.awt.Container.dispatchEventImpl(Container.java:2102)
	at java.awt.Window.dispatchEventImpl(Window.java:2429)
	at java.awt.Component.dispatchEvent(Component.java:4240)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Comment 1 Craig Conover 2007-08-03 18:00:38 UTC
The report directory wasn't getting created before a FileOutputStream was attempted to be created on it.
Comment 2 Peter Lam 2007-08-07 05:07:39 UTC
verified in build 20070806.