Uploaded image for project: 'Deep Backlog'
  1. Deep Backlog
  2. DB-91

Test SVG export (using the "Snapshot" command) works on all operating systems

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None

      Description

      Currently it seems that the exporting SVG files using the "Snapshot" command doesn't work for Windows computers.

      We should fix this in the near future so that it is working for all operating systems.

        Attachments

          Issue Links

            Activity

            nfreese Nowlan Freese made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Hide
            nfreese Nowlan Freese added a comment -

            This issue appears to be resolved in IGBF-4081

            Closing ticket

            Show
            nfreese Nowlan Freese added a comment - This issue appears to be resolved in IGBF-4081 Closing ticket
            mason Mason Meyer (Inactive) made changes -
            Project IGB [ 10840 ] Deep Backlog [ 11041 ]
            Key IGBF-584 DB-91
            Workflow Loraine Lab Workflow [ 15858 ] jira [ 16798 ]
            Status Testing In Progress [ 10003 ] Open [ 1 ]
            mason Mason Meyer (Inactive) made changes -
            Assignee Mason Meyer [ mason ]
            mason Mason Meyer (Inactive) made changes -
            Rank Ranked lower
            mason Mason Meyer (Inactive) made changes -
            Sprint Sprint 20 [ 25 ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            I have updated the documentation appropriately. Moving back into the backlog until this can be fixed.

            Show
            mason Mason Meyer (Inactive) added a comment - I have updated the documentation appropriately. Moving back into the backlog until this can be fixed.
            mason Mason Meyer (Inactive) made changes -
            Attachment igb.png [ 13043 ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            Hey David it seems that exporting an image on Windows using the wholeframe option works fine until you try to use the scripting commands for this feature (see screenshot). I wanted to run this by you in case this changed your thoughts on approaching this story.

            Show
            mason Mason Meyer (Inactive) added a comment - Hey David it seems that exporting an image on Windows using the wholeframe option works fine until you try to use the scripting commands for this feature (see screenshot). I wanted to run this by you in case this changed your thoughts on approaching this story.
            mason Mason Meyer (Inactive) made changes -
            Status Open [ 1 ] Testing In Progress [ 10003 ]
            mason Mason Meyer (Inactive) made changes -
            Sprint Backlog Grooming Meeting [ 29 ] Sprint 20 [ 25 ]
            mason Mason Meyer (Inactive) made changes -
            Sprint Sprint 20 [ 25 ] Backlog Grooming Meeting [ 29 ]
            dcnorris David Norris (Inactive) made changes -
            Assignee David Norris [ dcnorris ] Mason Meyer [ mason ]
            Hide
            dcnorris David Norris (Inactive) added a comment -

            Update documentation

            Show
            dcnorris David Norris (Inactive) added a comment - Update documentation
            Hide
            dcnorris David Norris (Inactive) added a comment - - edited

            The issue appears to be related to jidesoft components (see https://www.jidesoft.com/forum/viewtopic.php?f=18&t=6825), and since I'm assuming the other snapshot commands work as expected we should mark this as a will not fix for the moment. We can document this gap in functionality on the wiki as a workaround.

            Show
            dcnorris David Norris (Inactive) added a comment - - edited The issue appears to be related to jidesoft components (see https://www.jidesoft.com/forum/viewtopic.php?f=18&t=6825 ), and since I'm assuming the other snapshot commands work as expected we should mark this as a will not fix for the moment. We can document this gap in functionality on the wiki as a workaround.
            mason Mason Meyer (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Open [ 1 ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            Reassigning to David to determine what changes need to be made.

            Show
            mason Mason Meyer (Inactive) added a comment - Reassigning to David to determine what changes need to be made.
            mason Mason Meyer (Inactive) made changes -
            Assignee Mason Meyer [ mason ] David Norris [ dcnorris ]
            Hide
            mason Mason Meyer (Inactive) added a comment -

            On Windows, a null pointer exception is generated when using the "snapshot" or "snapshotwholeFrame" scripting commands (see below).

            16:19:15.048 INFO com.gene.igbscript.IGBScriptEngine - doSingleAction line: snapshot igbScript.svg
            16:19:15.049 INFO com.gene.igbscript.IGBScriptEngine - Exporting file igbScript.svg in mode: wholeFrame
            16:19:15.272 ERROR com.gene.igbscript.IGBScriptEngine - ImageExport failed
            java.lang.NullPointerException: null
            at com.jidesoft.swing.FastGradientPainter.createGradientTile(Unknown Source) ~[na:na]
            at com.jidesoft.swing.FastGradientPainter.drawGradient(Unknown Source) ~[na:na]
            at com.jidesoft.swing.JideSwingUtilities.fillGradient(Unknown Source) ~[na:na]
            at com.jidesoft.plaf.office2007.Office2007Painter.fillBackground(Unknown Source) ~[na:na]
            at com.jidesoft.status.MemoryStatusBarItem$e_.paintComponent(Unknown Source) ~[na:na]
            at javax.swing.JComponent.printComponent(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JLayeredPane.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paintChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.printChildren(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.paint(Unknown Source) ~[na:1.8.0_40]
            at javax.swing.JComponent.print(Unknown Source) ~[na:1.8.0_40]
            at java.awt.GraphicsCallback$PrintCallback.run(Unknown Source) ~[na:1.8.0_40]
            at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) ~[na:1.8.0_40]
            at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) ~[na:1.8.0_40]
            at java.awt.Container.print(Unknown Source) ~[na:1.8.0_40]
            at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:253) ~[na:na]
            at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:282) ~[na:na]
            at com.lorainelab.image.exporter.HeadLessExport.headlessComponentExport(HeadLessExport.java:72) ~[na:na]
            at com.gene.igbscript.IGBScriptEngine.snapShot(IGBScriptEngine.java:467) [igbScript-8.4.0.jar:na]
            at com.gene.igbscript.IGBScriptEngine.doSingleAction(IGBScriptEngine.java:403) [igbScript-8.4.0.jar:na]
            at com.gene.igbscript.IGBScriptEngine.doActions(IGBScriptEngine.java:213) [igbScript-8.4.0.jar:na]
            at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:112) [igbScript-8.4.0.jar:na]
            at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:132) [igbScript-8.4.0.jar:na]
            at com.affymetrix.igb.swing.script.ScriptManager.runScript(ScriptManager.java:185) [igbSwingExt-8.4.0.jar:na]
            at com.affymetrix.igb.action.RunScriptAction$1.doInBackground(RunScriptAction.java:130) [igb-8.4.0.jar:na]
            at com.affymetrix.igb.action.RunScriptAction$1.doInBackground(RunScriptAction.java:126) [igb-8.4.0.jar:na]
            at javax.swing.SwingWorker$1.call(Unknown Source) [na:1.8.0_40]
            at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_40]
            at javax.swing.SwingWorker.run(Unknown Source) [na:1.8.0_40]
            at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_40]
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_40]
            at java.lang.Thread.run(Unknown Source) [na:1.8.0_40]

            Show
            mason Mason Meyer (Inactive) added a comment - On Windows, a null pointer exception is generated when using the "snapshot" or "snapshotwholeFrame" scripting commands (see below). 16:19:15.048 INFO com.gene.igbscript.IGBScriptEngine - doSingleAction line: snapshot igbScript.svg 16:19:15.049 INFO com.gene.igbscript.IGBScriptEngine - Exporting file igbScript.svg in mode: wholeFrame 16:19:15.272 ERROR com.gene.igbscript.IGBScriptEngine - ImageExport failed java.lang.NullPointerException: null at com.jidesoft.swing.FastGradientPainter.createGradientTile(Unknown Source) ~ [na:na] at com.jidesoft.swing.FastGradientPainter.drawGradient(Unknown Source) ~ [na:na] at com.jidesoft.swing.JideSwingUtilities.fillGradient(Unknown Source) ~ [na:na] at com.jidesoft.plaf.office2007.Office2007Painter.fillBackground(Unknown Source) ~ [na:na] at com.jidesoft.status.MemoryStatusBarItem$e_.paintComponent(Unknown Source) ~ [na:na] at javax.swing.JComponent.printComponent(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JLayeredPane.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paintChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.printChildren(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.paint(Unknown Source) ~ [na:1.8.0_40] at javax.swing.JComponent.print(Unknown Source) ~ [na:1.8.0_40] at java.awt.GraphicsCallback$PrintCallback.run(Unknown Source) ~ [na:1.8.0_40] at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source) ~ [na:1.8.0_40] at sun.awt.SunGraphicsCallback.runComponents(Unknown Source) ~ [na:1.8.0_40] at java.awt.Container.print(Unknown Source) ~ [na:1.8.0_40] at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:253) ~ [na:na] at org.freehep.graphicsio.exportchooser.AbstractExportFileType.exportToFile(AbstractExportFileType.java:282) ~ [na:na] at com.lorainelab.image.exporter.HeadLessExport.headlessComponentExport(HeadLessExport.java:72) ~ [na:na] at com.gene.igbscript.IGBScriptEngine.snapShot(IGBScriptEngine.java:467) [igbScript-8.4.0.jar:na] at com.gene.igbscript.IGBScriptEngine.doSingleAction(IGBScriptEngine.java:403) [igbScript-8.4.0.jar:na] at com.gene.igbscript.IGBScriptEngine.doActions(IGBScriptEngine.java:213) [igbScript-8.4.0.jar:na] at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:112) [igbScript-8.4.0.jar:na] at com.gene.igbscript.IGBScriptEngine.eval(IGBScriptEngine.java:132) [igbScript-8.4.0.jar:na] at com.affymetrix.igb.swing.script.ScriptManager.runScript(ScriptManager.java:185) [igbSwingExt-8.4.0.jar:na] at com.affymetrix.igb.action.RunScriptAction$1.doInBackground(RunScriptAction.java:130) [igb-8.4.0.jar:na] at com.affymetrix.igb.action.RunScriptAction$1.doInBackground(RunScriptAction.java:126) [igb-8.4.0.jar:na] at javax.swing.SwingWorker$1.call(Unknown Source) [na:1.8.0_40] at java.util.concurrent.FutureTask.run(Unknown Source) [na:1.8.0_40] at javax.swing.SwingWorker.run(Unknown Source) [na:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.8.0_40] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.8.0_40] at java.lang.Thread.run(Unknown Source) [na:1.8.0_40]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            dcnorris David Norris (Inactive) made changes -
            Rank Ranked higher
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 20 [ 25 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 19 [ 24 ]
            mason Mason Meyer (Inactive) made changes -
            Rank Ranked lower
            mason Mason Meyer (Inactive) made changes -
            Status Testing In Progress [ 10003 ] Needs Testing [ 10002 ]
            dcnorris David Norris (Inactive) made changes -
            Rank Ranked higher
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 19 [ 24 ]
            dcnorris David Norris (Inactive) made changes -
            Sprint Sprint 18 [ 23 ]
            mason Mason Meyer (Inactive) made changes -
            Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
            mason Mason Meyer (Inactive) made changes -
            Status In Progress [ 3 ] Needs Testing [ 10002 ]
            mason Mason Meyer (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            dcnorris David Norris (Inactive) made changes -
            Assignee Mason Meyer [ mason ]
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-568 [ 15637 ]
            ann.loraine Ann Loraine made changes -
            Summary Test SVG expoort (using the "Snapshot" command) works on all operating systems Test SVG export (using the "Snapshot" command) works on all operating systems
            ann.loraine Ann Loraine made changes -
            Summary Make sure that exporting SVG files using the "Snapshot" command works on all operating systems Test SVG expoort (using the "Snapshot" command) works on all operating systems
            mason Mason Meyer (Inactive) made changes -
            Field Original Value New Value
            Link This issue relates to IGBF-582 [ IGBF-582 ]
            mason Mason Meyer (Inactive) created issue -

              People

              • Assignee:
                Unassigned
                Reporter:
                mason Mason Meyer (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: