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
          ann.loraine Ann Loraine added a comment -

          Is this the only App that causes the problem?

          Show
          ann.loraine Ann Loraine added a comment - Is this the only App that causes the problem?
          Hide
          ann.loraine Ann Loraine added a comment -

          The symptoms remind me of this issue:
          https://jira.transvar.org/browse/IGBF-1244

          Show
          ann.loraine Ann Loraine added a comment - The symptoms remind me of this issue: https://jira.transvar.org/browse/IGBF-1244
          Hide
          stiwari8 Srishti Tiwari (Inactive) added a comment -

          The steps mentioned in the jira definitely replicate the issue. However, there can be other places (my speculation is especially where there is an interaction between multiple windows/popups/frames) where this issue can exist.

          Show
          stiwari8 Srishti Tiwari (Inactive) added a comment - The steps mentioned in the jira definitely replicate the issue. However, there can be other places (my speculation is especially where there is an interaction between multiple windows/popups/frames) where this issue can exist.
          Hide
          ann.loraine Ann Loraine added a comment -

          The description uses the phrase "cache is cleared" but I don't know exactly what you mean. Does this mean the OGSi bundle cache, the data files cache, or what?
          Please describe the precise actions a user can perform to "un-freeze" IGB after triggering the bug.

          Show
          ann.loraine Ann Loraine added a comment - The description uses the phrase "cache is cleared" but I don't know exactly what you mean. Does this mean the OGSi bundle cache, the data files cache, or what? Please describe the precise actions a user can perform to "un-freeze" IGB after triggering the bug.
          Hide
          ann.loraine Ann Loraine added a comment -

          Additional request for clarification regarding how to "remove Windows Registry entries of IGB from the system"
          Please explain the precise steps a Windows 10 user would use to do this.

          Show
          ann.loraine Ann Loraine added a comment - Additional request for clarification regarding how to "remove Windows Registry entries of IGB from the system" Please explain the precise steps a Windows 10 user would use to do this.
          Hide
          stiwari8 Srishti Tiwari (Inactive) added a comment -

          To Remove Windows Registry entries of IGB:
          1. Run regedit.exe
          2. Go to Computer\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\affymetrix\igb and delete igb folder.
          But this is not required as I realize RESET PREFERENCES TO DEFAULT does the same thing.

          Show
          stiwari8 Srishti Tiwari (Inactive) added a comment - To Remove Windows Registry entries of IGB: 1. Run regedit.exe 2. Go to Computer\HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\affymetrix\igb and delete igb folder. But this is not required as I realize RESET PREFERENCES TO DEFAULT does the same thing.
          Hide
          ann.loraine Ann Loraine added a comment -

          Thanks for the clarification.
          Followup question: Can you find out for certain if resetting the preferences is required, or could the user simply re-start IGB?

          Show
          ann.loraine Ann Loraine added a comment - Thanks for the clarification. Followup question: Can you find out for certain if resetting the preferences is required, or could the user simply re-start IGB?
          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.
          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
          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 -

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

            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: