Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-531

Null Pointer Exception may generate from Hiding Visual Tools

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Selecting the Hide Visual Tools option may cause a null pointer exception.

      To reproduce:

      -fiddle around with IGB window size (or seqmap size possibly) and then select "Hide Visual Tools" from the View Menu until an exception is generated.

      *See comment below for exception.

        Attachments

          Activity

          mason Mason Meyer (Inactive) created issue -
          mason Mason Meyer (Inactive) made changes -
          Field Original Value New Value
          Epic Link IGBF-497 [ 15559 ]
          mason Mason Meyer (Inactive) made changes -
          Attachment HideVisualToolsBug.PNG [ 13007 ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
          at com.affymetrix.igb.glyph.DefaultTierGlyph.lambda$superDrawChildren$104(DefaultTierGlyph.java:278)
          at com.affymetrix.igb.glyph.DefaultTierGlyph$$Lambda$247/2096538841.accept(Unknown Source)
          at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
          at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
          at com.affymetrix.igb.glyph.DefaultTierGlyph.superDrawChildren(DefaultTierGlyph.java:277)
          at com.affymetrix.igb.glyph.DefaultTierGlyph.drawChildren(DefaultTierGlyph.java:261)
          at com.affymetrix.igb.view.factories.AbstractTierGlyph.drawTraversal(AbstractTierGlyph.java:310)
          at com.affymetrix.genoviz.bioviews.Glyph.drawChildren(Glyph.java:184)
          at com.affymetrix.genoviz.bioviews.Glyph.drawTraversal(Glyph.java:138)
          at com.affymetrix.genoviz.glyph.RootGlyph.drawTraversal(RootGlyph.java:71)
          at com.affymetrix.genoviz.bioviews.View.normalDraw(View.java:455)
          at com.affymetrix.genoviz.bioviews.View.draw(View.java:371)
          at com.affymetrix.genoviz.bioviews.View.componentPainted(View.java:914)
          at com.affymetrix.genoviz.awt.NeoCanvas.postPaintEvent(NeoCanvas.java:69)
          at com.affymetrix.genoviz.awt.NeoCanvas.paintComponent(NeoCanvas.java:44)
          at javax.swing.JComponent.paint(Unknown Source)
          at javax.swing.JComponent.paintToOffscreen(Unknown Source)
          at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
          at javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
          at javax.swing.RepaintManager.paint(Unknown Source)
          at javax.swing.JComponent._paintImmediately(Unknown Source)
          at javax.swing.JComponent.paintImmediately(Unknown Source)
          at javax.swing.RepaintManager$4.run(Unknown Source)
          at javax.swing.RepaintManager$4.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
          at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
          at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
          at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
          at javax.swing.RepaintManager.access$1300(Unknown Source)
          at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
          at java.awt.event.InvocationEvent.dispatch(Unknown Source)
          at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
          at java.awt.EventQueue.access$500(Unknown Source)
          at java.awt.EventQueue$3.run(Unknown Source)
          at java.awt.EventQueue$3.run(Unknown Source)
          at java.security.AccessController.doPrivileged(Native Method)
          at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
          at java.awt.EventQueue.dispatchEvent(Unknown Source)
          at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
          at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
          at java.awt.EventDispatchThread.run(Unknown Source)

          Show
          mason Mason Meyer (Inactive) added a comment - Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at com.affymetrix.igb.glyph.DefaultTierGlyph.lambda$superDrawChildren$104(DefaultTierGlyph.java:278) at com.affymetrix.igb.glyph.DefaultTierGlyph$$Lambda$247/2096538841.accept(Unknown Source) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at com.affymetrix.igb.glyph.DefaultTierGlyph.superDrawChildren(DefaultTierGlyph.java:277) at com.affymetrix.igb.glyph.DefaultTierGlyph.drawChildren(DefaultTierGlyph.java:261) at com.affymetrix.igb.view.factories.AbstractTierGlyph.drawTraversal(AbstractTierGlyph.java:310) at com.affymetrix.genoviz.bioviews.Glyph.drawChildren(Glyph.java:184) at com.affymetrix.genoviz.bioviews.Glyph.drawTraversal(Glyph.java:138) at com.affymetrix.genoviz.glyph.RootGlyph.drawTraversal(RootGlyph.java:71) at com.affymetrix.genoviz.bioviews.View.normalDraw(View.java:455) at com.affymetrix.genoviz.bioviews.View.draw(View.java:371) at com.affymetrix.genoviz.bioviews.View.componentPainted(View.java:914) at com.affymetrix.genoviz.awt.NeoCanvas.postPaintEvent(NeoCanvas.java:69) at com.affymetrix.genoviz.awt.NeoCanvas.paintComponent(NeoCanvas.java:44) at javax.swing.JComponent.paint(Unknown Source) at javax.swing.JComponent.paintToOffscreen(Unknown Source) at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source) at javax.swing.RepaintManager$PaintManager.paint(Unknown Source) at javax.swing.RepaintManager.paint(Unknown Source) at javax.swing.JComponent._paintImmediately(Unknown Source) at javax.swing.JComponent.paintImmediately(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at javax.swing.RepaintManager$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source) at javax.swing.RepaintManager.access$1300(Unknown Source) at javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)
          mason Mason Meyer (Inactive) made changes -
          Description Selecting the Hide Visual Tools option may cause a null pointer exception.

          To reproduce:

          -fiddle around with IGB window size (or seqmap size possibly) and then select "Hide Visual Tools" from the View Menu until an exception is generated.
          Selecting the Hide Visual Tools option may cause a null pointer exception.

          To reproduce:

          -fiddle around with IGB window size (or seqmap size possibly) and then select "Hide Visual Tools" from the View Menu until an exception is generated.

          *See comment below for exception.
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 17 [ 22 ]
          mason Mason Meyer (Inactive) made changes -
          Status Open [ 1 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Pull Request Submitted [ 10101 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 17 [ 22 ]
          mason Mason Meyer (Inactive) made changes -
          Sprint Sprint 18 [ 23 ]
          mason Mason Meyer (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 18 [ 23 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 19 [ 24 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          I could no longer reproduce this issue after being moved into the ready for testing column so I am now closing this issue.

          Show
          mason Mason Meyer (Inactive) added a comment - I could no longer reproduce this issue after being moved into the ready for testing column so I am now closing this issue.
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Needs Testing [ 10002 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 15798 ] Fall 2019 Workflow Update [ 19430 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19430 ] Revised Fall 2019 Workflow Update [ 21547 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: