It's all about the answers!

Ask a question

Publishing Error: The document was not generated.


Teresa Hadish (1121) | asked May 19 '10, 3:32 p.m.
Using RRC2.0. User is trying to create a report (Requirement Specifiaction), the report never generates and the user is presented the following error message:

Publishing Error: An error occurred while generating the document. The document was not generated.

What do I do to fix this? Please advise.
Teresa Hadish

3 answers



permanent link
Nicholas Bennett (31) | answered May 27 '10, 2:12 p.m.
JAZZ DEVELOPER
Hi Teresa,

Could you please provide the server logs for this error? This would help greatly in debugging this issue. It is worth noting that there have been a number of stability improvements made in the reporting feature both in the 2.0.0.1 and 2.0.0.2 releases of RRC.

Cheers,

Nick

Using RRC2.0. User is trying to create a report (Requirement Specifiaction), the report never generates and the user is presented the following error message:

Publishing Error: An error occurred while generating the document. The document was not generated.

What do I do to fix this? Please advise.
Teresa Hadish

permanent link
Teresa Hadish (1121) | answered May 27 '10, 3:10 p.m.
Hi Nick,
Thank you for responding to my post. Here is a copy of the log that represents the error message that I encountered. Any information would be greatly appreciated. Teresa Hadish

!ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-19 15:01:08.900
!MESSAGE An error occurred while generating the document.
The document was not generated.
!STACK 0
java.io.FileNotFoundException: C:\DOCUME~1\thadish\LOCALS~1\Temp\RDM_1274298999716\Test Hadish - Report Req Specification No Requirements Selected.doc (The system cannot find the file specified.)
at java.io.FileInputStream.<init>(FileInputStream.java:112)
at com.ibm.rdm.ui.upload.UploadHelper.uploadFile(UploadHelper.java:1703)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.uploadFile(ReportClientWizard.java:527)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:780)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-19 15:08:39.206
!MESSAGE An error occurred while generating the document.
The document was not generated.
!STACK 0
java.io.FileNotFoundException: C:\DOCUME~1\thadish\LOCALS~1\Temp\RDM_1274299459741\Test Hadish - Report Req Specification No Requirements Selected.doc (The system cannot find the file specified.)
at java.io.FileInputStream.<init>(FileInputStream.java:112)
at com.ibm.rdm.ui.upload.UploadHelper.uploadFile(UploadHelper.java:1703)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.uploadFile(ReportClientWizard.java:527)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:780)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-19 15:26:51.646
!MESSAGE java.lang.reflect.InvocationTargetException
!STACK 0
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.wizard.WizardDialog.run(WizardDialog.java:934)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard.performFinish(ReportClientWizard.java:354)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:742)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:373)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
at org.eclipse.jface.window.Window.open(Window.java:801)
at com.ibm.rdm.ui.reporting.utils.ReportWizardLauncher.run(ReportWizardLauncher.java:34)
at com.ibm.rdm.ui.explorer.projectdashboard.ProjectHomePageArtifactsPage.runReporting(ProjectHomePageArtifactsPage.java:902)
at com.ibm.rdm.ui.explorer.dashboard.common.AbstractArtifactsPage.handleEvent(AbstractArtifactsPage.java:3000)
at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.notifyListeners(ArtifactListControlsFigure.java:575)
at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.access$7(ArtifactListControlsFigure.java:573)
at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$4.imageButtonSelected(ArtifactListControlsFigure.java:371)
at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.setSelected(ArtifactListControlsFigure.java:511)
at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.mousePressed(ArtifactListControlsFigure.java:487)
at org.eclipse.draw2d.Figure.handleMousePressed(Figure.java:873)
at org.eclipse.draw2d.SWTEventDispatcher.dispatchMousePressed(SWTEventDispatcher.java:214)
at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:334)
at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:513)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.ibm.rdm.ui.application.ReqComposerApplication.start(ReqComposerApplication.java:122)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
at java.lang.reflect.Method.invoke(Method.java:599)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
Caused by: java.lang.NullPointerException
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.setupOutputs(ReportClientWizard.java:1285)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:744)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Root exception:
java.lang.NullPointerException
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.setupOutputs(ReportClientWizard.java:1285)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:744)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

!ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-19 15:35:40.639
!MESSAGE An error occurred while generating the document.
The document was not generated.
!STACK 0
java.io.FileNotFoundException: C:\DOCUME~1\thadish\LOCALS~1\Temp\RDM_1274300998721\Test - Hadish Report Specification Test for Christy Bolin.doc (The system cannot find the file specified.)
at java.io.FileInputStream.<init>(FileInputStream.java:112)
at com.ibm.rdm.ui.upload.UploadHelper.uploadFile(UploadHelper.java:1703)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.uploadFile(ReportClientWizard.java:527)
at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:780)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)


Hi Teresa,

Could you please provide the server logs for this error? This would help greatly in debugging this issue. It is worth noting that there have been a number of stability improvements made in the reporting feature both in the 2.0.0.1 and 2.0.0.2 releases of RRC.

Cheers,

Nick

Using RRC2.0. User is trying to create a report (Requirement Specifiaction), the report never generates and the user is presented the following error message:

Publishing Error: An error occurred while generating the document. The document was not generated.

What do I do to fix this? Please advise.
Teresa Hadish

permanent link
Nicholas Bennett (31) | answered May 27 '10, 5:15 p.m.
JAZZ DEVELOPER
Hi Teresa,

Could you please also provide the server-side logs? They should be available in <server>/RRCS20/server/logs/ and should be called jazz.log and rdm.log.

Thanks!

Cheers,

Nick
Hi Nick,
Thank you for responding to my post. Here is a copy of the log that represents the error message that I encountered. Any information would be greatly appreciated. Teresa Hadish

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.