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

          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)
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: