PDF Export Not Working on 9.14

Renato Marcello dos Reis shared this question 2 days ago
Completed

Hi Guys,

I'm not sure why, but when I tried to export anything in PDF using the new release 9.14, there's an error message and the system does not complete the export.

This message does not appear when trying to export to any other format.

I'm not entirely sure why is this happening, but it started to happen after update to Yellowfin 9.14.

Here is the message shown:

Error: com.hof.util.ActionErrorsException: Ocorreu um erro ao exportar o seu relatório para o formato PDF.
At:
      com.hof.export.impl.MagicPDFExport.A(MagicPDFExport.java:598)
      com.hof.export.impl.MagicPDFExport.exportReport(MagicPDFExport.java:545)
      com.hof.export.impl.MagicPDFExport.export(MagicPDFExport.java:257)
      com.hof.export.ExportPluginUtil.doExport(ExportPluginUtil.java:148)
      com.hof.export.ExportPluginUtil.doExport(ExportPluginUtil.java:132)
      com.hof.export.ExportPluginUtil.doInlineExport(ExportPluginUtil.java:179)
      com.hof.export.ExportPluginUtil.doInlineExportWithPluginName(ExportPluginUtil.java:120)
      com.hof.export.ExportQueueItem.process(ExportQueueItem.java:70)
      com.hof.mi.util.background.ExecutionQueue$TaskRunner.call(ExecutionQueue.java:488)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)
Root Cause: com.hof.mi.exceptions.ExportException: Failed to load export JS
TypeError: undefined is not an object (evaluating 'window.yellowfin._importIntegrationAPI=function(){return d.e(201).then(d.bind(null,"dRja"))}')
http://localhost:8082/dist/offline_api.chunk.65bf63d710b51f8897b1.js?20241206
1
TypeError: undefined is not an object (evaluating 'window.yellowfin._importIntegrationAPI=function(){return d.e(201).then(d.bind(null,"dRja"))}')
-----
At:
      com.hof.export.headless.HtmlGenerator.throwJsFailedException(HtmlGenerator.java:230)
      com.hof.export.headless.HtmlGenerator.checkForExportStatus(HtmlGenerator.java:286)
      com.hof.export.headless.HtmlGenerator.checkForExportStatus(HtmlGenerator.java:268)
      com.hof.export.headless.HtmlGenerator.checkForExportStatus(HtmlGenerator.java:298)
      com.hof.export.headless.HtmlGenerator.getHtml(HtmlGenerator.java:382)
      com.hof.export.impl.MagicPDFExport.A(MagicPDFExport.java:594)
      com.hof.export.impl.MagicPDFExport.exportReport(MagicPDFExport.java:545)
      com.hof.export.impl.MagicPDFExport.export(MagicPDFExport.java:257)
      com.hof.export.ExportPluginUtil.doExport(ExportPluginUtil.java:148)
      com.hof.export.ExportPluginUtil.doExport(ExportPluginUtil.java:132)
      com.hof.export.ExportPluginUtil.doInlineExport(ExportPluginUtil.java:179)
      com.hof.export.ExportPluginUtil.doInlineExportWithPluginName(ExportPluginUtil.java:120)
      com.hof.export.ExportQueueItem.process(ExportQueueItem.java:70)
      com.hof.mi.util.background.ExecutionQueue$TaskRunner.call(ExecutionQueue.java:488)
      java.util.concurrent.FutureTask.run(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      java.lang.Thread.run(Unknown Source)


Can any of you guys take a look please?

Regards,

Renato Marcello dos Reis

Best Answer
photo

Hello Renato Marcello dos Reis,

Thank you for your response. This seems to be an issue with the Java version. I have tested it using JDK 13.0.2, and the PDF export works fine on my end.

Could you please try upgrading your Java version and check if this resolves the issue? You can refer to the following link for guidance on upgrading Java:
https://community.yellowfinbi.com/knowledge-base/article/upgrading-java

I hope this helps! Please let me know if you have any further questions or concerns.

Sincerely,

Sharwari Inkane

Yellowfin Technical Support Engineer

Replies (3)

photo
1

Hello Renato Marcello dos Reis,

My name is Sharwari Inkane from the Yellowfin Technical Support Team. We have received your support request, and I will be your primary contact on the following ticket:

Ticket Number: #31735
Case Title: PDF Export Not Working on 9.14

Issue Overview:

PDF Export Not Working on 9.14

Request for Additional Information:

To better understand and expedite the resolution of your case, please provide me following details:

  • Have you upgraded from any other version to 9.14, or is this a fresh installation?


Sincerely,

Sharwari Inkane

Yellowfin Technical Support Engineer

photo
1

Hi Sharwari,

I hope everything is fine with you!

Happy new year!

I'm attaching the info you asked from info.jsp. I hope this can be of any help.

I've been upgrading yellowfin for a long time. I don't even remember which was the first version, but I suspect it was 7.1. The last version was 9.13.1 and it was upgraded to 9.14 a few weeks ago.

Thanks in advance.

Regards,

Renato Marcello

photo
1

Hello Renato Marcello dos Reis,

Happy new year!

To help us investigate the issue further, could you please provide the following details:

1. Are you facing this issue with reports or dashboards?

2. Could you check if JavaFX is installed? If not, please install it and then try exporting to PDF. You can refer to the KB article below for guidance on installing JavaFX:
https://community.yellowfinbi.com/knowledge-base/article/javafx

Sincerely,

Sharwari Inkane

Yellowfin Technical Support Engineer

photo
1

Hi Sharwari,


Thanks for the response here.

I'm having this issue when trying to export reports, I haven't tried to export dashboards, however I've managed to test and it's not working as well.

The JavaFX is working fine as you can see below.

7194b9913c8dd156a170305ea03d0a23


Let me know if I can be provide any other info you need.

Regards,

Renato Marcello

photo
1

Hello Renato Marcello dos Reis,

Thank you for your response. This seems to be an issue with the Java version. I have tested it using JDK 13.0.2, and the PDF export works fine on my end.

Could you please try upgrading your Java version and check if this resolves the issue? You can refer to the following link for guidance on upgrading Java:
https://community.yellowfinbi.com/knowledge-base/article/upgrading-java

I hope this helps! Please let me know if you have any further questions or concerns.

Sincerely,

Sharwari Inkane

Yellowfin Technical Support Engineer

photo
1

Hi Sharwari,


Thanks a lot for your help in this case.


I just wanted to update that the latest 1.8 java version is not working as expected. I removed and installed an older version and now the PDF is working fine. Also, a lot of errors that I was seeing in our log files disappeared.


You can mark this as complete.


Thanks for your assistance.


Regards,

Renato Marcello

photo
1

Hello Renato Marcello dos Reis,

Thanks for the confirmation. Great to hear that! I will now go ahead and mark this case as completed. Feel free to reach out to us if you have any questions or concerns; we would be more than happy to assist you.

We value the customer experience and feedback and would like to understand your experience from our recent interaction. Please spare a moment to respond to the quick survey that was sent; we assure you, it won’t take much time to answer!

Your valuable feedback will help us serve you better in the future. Thank you for taking the time.

Sincerely,

Sharwari Inkane

Yellowfin Technical Support Engineer

photo
Leave a Comment
 
Attach a file