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

IGB throwing "AWT-EventQueue-0" java.lang.NullPointerException

    Details

    • Sprint:
      Fall 2018 Sprint 5

      Description

      This exception comes whenever someone installs 23AndMe SNP Converter.
      Once we start seeing logs of this exception we cannot work further unless all temporary files and cache is cleared.
      By this I mean end user needs to do:
      1. Clearing Cache from IGB using the menu File/Preferences/Cache/Clear Cache
      2. Resetting preferences to Default using the menu - File/Preferences/Other Options/Reset Preferences to default.

      This issue freezes IGB.

      Please see the logs:

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at javax.swing.plaf.basic.BasicTabbedPaneUI.scrollableTabLayoutEnabled(Unknown Source)
      at javax.swing.plaf.basic.BasicTabbedPaneUI.tabForCoordinate(Unknown Source)
      at javax.swing.plaf.basic.BasicTabbedPaneUI.setRolloverTab(Unknown Source)
      at javax.swing.plaf.basic.BasicTabbedPaneUI.access$2100(Unknown Source)
      at javax.swing.plaf.basic.BasicTabbedPaneUI$Handler.mouseEntered(Unknown Source)
      at com.affymetrix.igb.window.service.def.JTabbedTrayPane$2.mouseEntered(JTabbedTrayPane.java:158)
      at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
      at java.awt.AWTEventMulticaster.mouseEntered(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEnterExit(Unknown Source)
      at java.awt.LightweightDispatcher.trackMouseEnterExit(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(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$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$4.run(Unknown Source)
      at java.awt.EventQueue$4.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$JavaSecurityAccessImpl.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)
      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException

        Attachments

          Activity

          Hide
          Jill Jill Jenkins (Inactive) added a comment - - edited

          I was not able to reproduce this error in Linux or Mac.

          Show
          Jill Jill Jenkins (Inactive) added a comment - - edited I was not able to reproduce this error in Linux or Mac.
          Hide
          ann.loraine Ann Loraine added a comment -

          Is the SNP converter App trying to grab focus at some point?
          This error sounds like an object boundary being violated, leading to a NPE.

          Show
          ann.loraine Ann Loraine added a comment - Is the SNP converter App trying to grab focus at some point? This error sounds like an object boundary being violated, leading to a NPE.
          Hide
          kkorey Kiran Korey (Inactive) added a comment -

          Some Observations:

          There is no need to delete the registry or clear preferences.
          Steps to Reproduce:

          • Open IGB
          • Open Console ( just to see the exceptions)
          • Open App Manager
          • Install 23AndMe SNP Converter.
          • Observe the change in UI and exceptions in the console.
            (After this point you keep getting exceptions in the console, even closing and opening IGB does not stop the exceptions)

          Steps to stop the exceptions:

          • Open IGB
          • Open App Manager
          • Uninstall 23AndMe SNP Converter
          • Close IGB and Reopen (Exceptions have stopped)
          Show
          kkorey Kiran Korey (Inactive) added a comment - Some Observations: There is no need to delete the registry or clear preferences. Steps to Reproduce: Open IGB Open Console ( just to see the exceptions) Open App Manager Install 23AndMe SNP Converter. Observe the change in UI and exceptions in the console. (After this point you keep getting exceptions in the console, even closing and opening IGB does not stop the exceptions) Steps to stop the exceptions: Open IGB Open App Manager Uninstall 23AndMe SNP Converter Close IGB and Reopen (Exceptions have stopped)
          Hide
          ann.loraine Ann Loraine added a comment - - edited

          Question: Can you use the reget.exe program to selectively edit the preferences and thusly determine which particular preferences node could be causing the problem?
          (Seems like you are getting very close to finding the precise cause of the error.)

          Show
          ann.loraine Ann Loraine added a comment - - edited Question: Can you use the reget.exe program to selectively edit the preferences and thusly determine which particular preferences node could be causing the problem? (Seems like you are getting very close to finding the precise cause of the error.)
          Hide
          stiwari8 Srishti Tiwari (Inactive) added a comment -

          Restarting isn't woking, as IGB console again gets filled up with same exceptions.
          Only after resetting the preferences to default, it stops.

          Show
          stiwari8 Srishti Tiwari (Inactive) added a comment - Restarting isn't woking, as IGB console again gets filled up with same exceptions. Only after resetting the preferences to default, it stops.

            People

            • Assignee:
              kkorey Kiran Korey (Inactive)
              Reporter:
              stiwari8 Srishti Tiwari (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: