Error Occurred when creating a report
I have installed RRC 2.0.0.2 installed on my machine. I am getting a "Publishing Error" An Error occurred while generating the document. The document was not generated.
I have initialized the publishing engine using https://server:port/rdm/publish/initialize Did anyone face this problem ? How to resolve it This is what the Log says .. !ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-25 11:09:42.909 !MESSAGE An error occurred while generating the document. The document was not generated. !STACK 0 java.io.FileNotFoundException: C:\DOCUME~1\XXYYZZ\LOCALS~1\Temp\RDM_1274800179612\sa.pdf (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:1689) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.uploadFile(ReportClientWizard.java:533) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:786) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-25 11:11:18.986 !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:360) 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:35) at com.ibm.rdm.ui.explorer.projectdashboard.ProjectHomePageArtifactsPage.runReporting(ProjectHomePageArtifactsPage.java:1029) at com.ibm.rdm.ui.explorer.dashboard.common.AbstractArtifactsPage.handleEvent(AbstractArtifactsPage.java:3249) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.notifyListeners(ArtifactListControlsFigure.java:639) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.access$10(ArtifactListControlsFigure.java:637) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$4.imageButtonSelected(ArtifactListControlsFigure.java:435) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.setSelected(ArtifactListControlsFigure.java:575) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.mousePressed(ArtifactListControlsFigure.java:551) 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:1291) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:750) 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:1291) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:750) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-25 11:12:07.001 !MESSAGE An error occurred while generating the document. The document was not generated. !STACK 0 java.io.FileNotFoundException: C:\DOCUME~1\XXYYZZ\LOCALS~1\Temp\RDM_1274800323611\sa.pdf (The system cannot find the file specified.) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:112) at com.ibm.rdm.ui.upload.UploadHelper.uploadFile(UploadHelper.java:1689) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.uploadFile(ReportClientWizard.java:533) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:786) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) !ENTRY com.ibm.rdm.ui.reporting 4 0 2010-05-25 11:12:10.673 !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:360) 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:35) at com.ibm.rdm.ui.explorer.projectdashboard.ProjectHomePageArtifactsPage.runReporting(ProjectHomePageArtifactsPage.java:1029) at com.ibm.rdm.ui.explorer.dashboard.common.AbstractArtifactsPage.handleEvent(AbstractArtifactsPage.java:3249) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.notifyListeners(ArtifactListControlsFigure.java:639) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure.access$10(ArtifactListControlsFigure.java:637) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$4.imageButtonSelected(ArtifactListControlsFigure.java:435) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.setSelected(ArtifactListControlsFigure.java:575) at com.ibm.rdm.ui.search.figures.ArtifactListControlsFigure$ImageButton.mousePressed(ArtifactListControlsFigure.java:551) 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:1291) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:750) 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:1291) at com.ibm.rdm.ui.reporting.wizards.ReportClientWizard$ReportRunner.run(ReportClientWizard.java:750) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) |
5 answers
Hi there,
There are a number of possibilities for why this may have occurred. In order to help us debug this issue, it would be useful for us to have the server logs (available at <server>/RRCS20/server/logs/jazz.log and rdm.log). Can you also please tell us which report you were attempting to run and against what sort of data? Cheers, Nick I have installed RRC 2.0.0.2 installed on my machine. I am getting a "Publishing Error" An Error occurred while generating the document. The document was not generated. |
Hi,
I have the same problem with the Requirements Specification Report. I found this in rdm.log 2011-06-02 16:26:11,375 ERROR dm.fronting.server.services.publish.PublishService - java.lang.NullPointerException at com.ibm.rdm.fronting.server.services.publish.internal.PubRequirements.doContent(PubRequirements.java:45) at com.ibm.rdm.fronting.server.services.publish.internal.PubResourceBase.transform(PubResourceBase.java:303) at com.ibm.rdm.fronting.server.services.publish.internal.LegacyPublishService.doGet(LegacyPublishService.java:464) at com.ibm.rdm.fronting.server.services.publish.internal.PublishServiceInternal.doGetInternal(PublishServiceInternal.java:60) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:213) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:171) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doGet(RRSRestServiceBase.java:70) at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:100) at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:811) 2011-06-02 16:26:11,375 ERROR dm.fronting.server.services.publish.PublishService - java.lang.NullPointerException at com.ibm.rdm.fronting.server.services.publish.internal.PubRequirements.doContent(PubRequirements.java:45) at com.ibm.rdm.fronting.server.services.publish.internal.PubResourceBase.transform(PubResourceBase.java:303) at com.ibm.rdm.fronting.server.services.publish.internal.LegacyPublishService.doGet(LegacyPublishService.java:464) at com.ibm.rdm.fronting.server.services.publish.internal.PublishServiceInternal.doGetInternal(PublishServiceInternal.java:60) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.runInternalMethod(RRSRestServiceBase.java:213) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.handleMethod(RRSRestServiceBase.java:171) at com.ibm.rdm.fronting.server.core.internal.RRSRestServiceBase.doGet(RRSRestServiceBase.java:70) at com.ibm.team.jfs.app.servlet.AppContainerServlet.dispatchRequest(AppContainerServlet.java:100) at com.ibm.team.jfs.app.servlet.AppContainerServlet.service(AppContainerServlet.java:181) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.http.servlet.internal.ServletRegistration.handleRequest(ServletRegistration.java:90) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:111) at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:75) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.eclipse.equinox.servletbridge.BridgeServlet.service(BridgeServlet.java:121) at com.ibm.team.repository.server.servletbridge.JazzServlet.service(JazzServlet.java:54) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685) at java.lang.Thread.run(Thread.java:811) |
Seems like an error with the information, it may be corrupt, you can try this on your browser to double check.
https://server:port/rdm/publish/requirements?resourceURI=rrcXXX Replace the server:port with your one and rrcXXX with the identifier of the requirement you're using in the report. If you get a 500 error you may need to call support to check on your data. Hi, |
I get this xml, but it seems incomplete to me:
<?xml version="1.0" encoding="UTF-8" ?> <ds:dataSource xmlns:attribute="http://jazz.net/xmlns/alm/rm/attribute/v0.1" xmlns:dc="http://purl.org/dc/terms" xmlns:ds="http://jazz.net/xmlns/alm/rm/datasource/v0.1" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:requirement="http://jazz.net/xmlns/alm/rm/requirement/v0.1" /> |
Yes that is incomplete, it is missing all the requirement information, try replacing "requirements" for "resources" in the previous url and you should see the basic info.
It's likely you'll need to get a ticket for that I get this xml, but it seems incomplete to me: |
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.