rapidminer image export PDF failed...

Fred12Fred12 Member Posts: 344 Unicorn
edited September 2020 in Help

hi

I wanted to export a scatterplot in .pdf format, however image export failed:

why?

Exception: com.rapidminer.gui.actions.export.ImageExportException
Message: error.image_export.export_failed
Stack trace:

com.rapidminer.gui.actions.export.ImageExporter.exportVectorGraphics(ImageExporter.java:171)
com.rapidminer.gui.actions.export.ImageExporter.exportImage(ImageExporter.java:114)
com.rapidminer.gui.actions.export.ExportImageAction.actionPerformed(ExportImageAction.java:51)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6525)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6290)
java.awt.Container.processEvent(Container.java:2234)
java.awt.Component.dispatchEventImpl(Component.java:4881)
java.awt.Container.dispatchEventImpl(Container.java:2292)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
java.awt.Container.dispatchEventImpl(Container.java:2278)
java.awt.Window.dispatchEventImpl(Window.java:2750)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.awt.EventQueue$4.run(EventQueue.java:729)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
java.security.AccessController.doPrivileged(Native Method)
java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
java.awt.Dialog.show(Dialog.java:1084)
java.awt.Component.show(Component.java:1654)
java.awt.Component.setVisible(Component.java:1606)
java.awt.Window.setVisible(Window.java:1014)
java.awt.Dialog.setVisible(Dialog.java:1005)
com.rapidminer.gui.actions.export.ShowPrintAndExportDialogAction.actionPerformed(ShowPrintAndExportDialogAction.java:74)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.AbstractButton.doClick(AbstractButton.java:376)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6525)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6290)
java.awt.Container.processEvent(Container.java:2234)
java.awt.Component.dispatchEventImpl(Component.java:4881)
java.awt.Container.dispatchEventImpl(Container.java:2292)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
java.awt.Container.dispatchEventImpl(Container.java:2278)
java.awt.Window.dispatchEventImpl(Window.java:2750)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.awt.EventQueue$4.run(EventQueue.java:729)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

Cause
Exception: java.lang.NullPointerException
Message: null
Stack trace:

com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown Source)
com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown Source)
com.lowagie.text.pdf.PdfGraphics2D.drawImage(Unknown Source)
com.rapidminer.gui.plotter.ScatterMatrixPlotter.paintComponent(ScatterMatrixPlotter.java:142)
javax.swing.JComponent.printComponent(JComponent.java:1220)
javax.swing.JComponent.paint(JComponent.java:1060)
javax.swing.JComponent.print(JComponent.java:1202)
com.rapidminer.gui.plotter.PlotterPanel.print(PlotterPanel.java:194)
com.rapidminer.gui.plotter.PlotterPanel$2.paintComponent(PlotterPanel.java:224)
javax.swing.JComponent.printComponent(JComponent.java:1220)
javax.swing.JComponent.paint(JComponent.java:1060)
javax.swing.JComponent.print(JComponent.java:1202)
com.rapidminer.gui.actions.export.ImageExporter.exportVectorGraphics(ImageExporter.java:155)
com.rapidminer.gui.actions.export.ImageExporter.exportImage(ImageExporter.java:114)
com.rapidminer.gui.actions.export.ExportImageAction.actionPerformed(ExportImageAction.java:51)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6525)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6290)
java.awt.Container.processEvent(Container.java:2234)
java.awt.Component.dispatchEventImpl(Component.java:4881)
java.awt.Container.dispatchEventImpl(Container.java:2292)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
java.awt.Container.dispatchEventImpl(Container.java:2278)
java.awt.Window.dispatchEventImpl(Window.java:2750)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.awt.EventQueue$4.run(EventQueue.java:729)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
java.security.AccessController.doPrivileged(Native Method)
java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
java.awt.Dialog.show(Dialog.java:1084)
java.awt.Component.show(Component.java:1654)
java.awt.Component.setVisible(Component.java:1606)
java.awt.Window.setVisible(Window.java:1014)
java.awt.Dialog.setVisible(Dialog.java:1005)
com.rapidminer.gui.actions.export.ShowPrintAndExportDialogAction.actionPerformed(ShowPrintAndExportDialogAction.java:74)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.AbstractButton.doClick(AbstractButton.java:376)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
java.awt.Component.processMouseEvent(Component.java:6525)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6290)
java.awt.Container.processEvent(Container.java:2234)
java.awt.Component.dispatchEventImpl(Component.java:4881)
java.awt.Container.dispatchEventImpl(Container.java:2292)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
java.awt.Container.dispatchEventImpl(Container.java:2278)
java.awt.Window.dispatchEventImpl(Window.java:2750)
java.awt.Component.dispatchEvent(Component.java:4703)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.awt.EventQueue$4.run(EventQueue.java:729)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Tagged:

Answers

  • Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    Yeah the Reporting Extension needs to be updated, it's definately outdated. I would suggest posting a request to have it updated on the Product Ideas: http://community.rapidminer.com/t5/Product-Ideas/idb-p/PIMigration

  • Fred12Fred12 Member Posts: 344 Unicorn

    hi,

    I dont think it's about the reporting extension, I mean if I want to save if from the Studio menu -> Export images ..."save as pdf" vector graphics.. I am getting this error, it seems not to work I don't know why,

    but I could save a comparison of 30 boxplots as pdf vector graphics... just didnt work with about 300 different Scatter plots...maybe it's too big or so...?

  • Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,993 RM Engineering

    Hi,

     

    it's a bug. It will be fixed in the next patch release of Studio.

     

    Regards,

    Marco

    Thomas_Ott
Sign In or Register to comment.