Forum

This content is now out of date.

Visit Our Community

Export to PDF Error

I get the following error when attempting to export to PDF.

I tried looking at This Thread for resolution, but it doesnt really help me.

Running latest release of Yellowfin.

[code]
Error: java.lang.NullPointerException
At:
com.hof.mi.export.HtmlExporter.A(HtmlExporter.java:1502)
com.hof.mi.export.HtmlExporter.A(HtmlExporter.java:1453)
com.hof.mi.export.HtmlExporter.A(HtmlExporter.java:6253)
com.hof.mi.export.HtmlExporter.D(HtmlExporter.java:2509)
com.hof.mi.export.HtmlExporter.C(HtmlExporter.java:939)
com.hof.mi.export.HtmlExporter.export(HtmlExporter.java:888)
com.hof.mi.export.HtmlExporter.export(HtmlExporter.java:856)
com.hof.mi.models.report.ReportModelPdf.getHtmlReportPdf(ReportModelPdf.java:281)
com.hof.mi.models.report.ReportModelPdf.(ReportModelPdf.java:164)
com.hof.mi.process.MIReportProcess.exportPdf(MIReportProcess.java:21085)
com.hof.mi.web.action.MIReportPreviewAction.execute(MIReportPreviewAction.java:708)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
com.hof.servlet.BrowserHeaderFilter.doFilter(BrowserHeaderFilter.java:43)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Unknown Source)
[/code]
Justin,

Thanks for submitting your question through our forum.

Just to confirm, are you on 7.1, Oct build?

Is this only happening with 1 report?
Any recent changes to your YF environment? E.g, upgrades, new views, etc?

Lastly, if possible could we get an XML export of the report in question
(Admin>Export>Select Report), that way we can investigate a little further.

If the data is sensitive, the XML export can be emailed to support: support@yellowfin.bi
Just reference the the title of this forum post.

Thank you very much,

Kyle


Yes, with Oct 31 build.

Fresh install, fresh Oracle database for configuration. Report was imported from another install.

The XML has been emailed to you.
Hello Justin,

Thanks for the XML file. Our developers have looked further into the file, and it appears that this error was caused by the description of your report being blank.
Can you try adding a Report Description, and let us know if you still receive the error.

The Dev team will be adding a fix to the next monthly update to prevent this error occurring again with blank Report Descriptions.

Hear from you soon,

Danny