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

Changing a TL, FG, or BG Color to None generates a null pointer exception

    Details

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

      Description

      It seems that changing a TL, FG, or BG Color to "None" generates a null pointer exception (see below):

      Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
      at com.affymetrix.igb.action.ChangeColorActionA.performAction(ChangeColorActionA.java:98)
      at com.affymetrix.igb.shared.Actions.setLabelColor(Actions.java:45)
      at com.affymetrix.igb.shared.StylePanelImpl.labelColorComboBoxActionPerformedA(StylePanelImpl.java:86)
      at com.affymetrix.igb.shared.StylePanel.labelColorComboBoxActionPerformed(StylePanel.java:146)
      at com.affymetrix.igb.shared.StylePanel$$Lambda$241/1919932590.actionPerformed(Unknown Source)
      at com.jidesoft.combobox.AbstractComboBox.fireActionEvent(Unknown Source)
      at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
      at com.jidesoft.combobox.ColorComboBox.setSelectedItem(Unknown Source)
      at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
      at com.jidesoft.combobox.AbstractComboBox$3.itemStateChanged(Unknown Source)
      at com.jidesoft.combobox.PopupPanel.fireItemStateChanged(Unknown Source)
      at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
      at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
      at com.jidesoft.combobox.ColorChooserPanel.setSelectedColor(Unknown Source)
      at com.jidesoft.combobox.ColorChooserPanel$d_.actionPerformed(Unknown Source)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at com.jidesoft.plaf.basic.BasicJideButtonListener.mouseReleased(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.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$1.doIntersectionPrivilege(Unknown Source)
      at java.security.ProtectionDomain$1.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$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)

        Attachments

          Activity

          mason Mason Meyer (Inactive) created issue -
          mason Mason Meyer (Inactive) made changes -
          Field Original Value New Value
          Epic Link IGBF-497 [ 15559 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 24 [ 31 ] Backlog Grooming Meeting [ 32 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Backlog Grooming Meeting [ 32 ] Sprint 24 [ 31 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          mason Mason Meyer (Inactive) made changes -
          Summary Changing a Track's Label Color to None generates a null pointer exception Changing a TL, FG, or BG Color to None generates a null pointer exception
          mason Mason Meyer (Inactive) made changes -
          Description It seems that changing a Track's Label Color to "None" generates a null pointer exception (see below):

          Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
          at com.affymetrix.igb.action.ChangeColorActionA.performAction(ChangeColorActionA.java:98)
          at com.affymetrix.igb.shared.Actions.setLabelColor(Actions.java:45)
          at com.affymetrix.igb.shared.StylePanelImpl.labelColorComboBoxActionPerformedA(StylePanelImpl.java:86)
          at com.affymetrix.igb.shared.StylePanel.labelColorComboBoxActionPerformed(StylePanel.java:146)
          at com.affymetrix.igb.shared.StylePanel$$Lambda$241/1919932590.actionPerformed(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.fireActionEvent(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.ColorComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox$3.itemStateChanged(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.fireItemStateChanged(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
          at com.jidesoft.combobox.ColorChooserPanel.setSelectedColor(Unknown Source)
          at com.jidesoft.combobox.ColorChooserPanel$d_.actionPerformed(Unknown Source)
          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
          at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
          at com.jidesoft.plaf.basic.BasicJideButtonListener.mouseReleased(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.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$1.doIntersectionPrivilege(Unknown Source)
          at java.security.ProtectionDomain$1.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$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)
          It seems that changing a TL, FG, or BG Color to "None" generates a null pointer exception (see below):

          Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
          at com.affymetrix.igb.action.ChangeColorActionA.performAction(ChangeColorActionA.java:98)
          at com.affymetrix.igb.shared.Actions.setLabelColor(Actions.java:45)
          at com.affymetrix.igb.shared.StylePanelImpl.labelColorComboBoxActionPerformedA(StylePanelImpl.java:86)
          at com.affymetrix.igb.shared.StylePanel.labelColorComboBoxActionPerformed(StylePanel.java:146)
          at com.affymetrix.igb.shared.StylePanel$$Lambda$241/1919932590.actionPerformed(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.fireActionEvent(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.ColorComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox.setSelectedItem(Unknown Source)
          at com.jidesoft.combobox.AbstractComboBox$3.itemStateChanged(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.fireItemStateChanged(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
          at com.jidesoft.combobox.PopupPanel.setSelectedObject(Unknown Source)
          at com.jidesoft.combobox.ColorChooserPanel.setSelectedColor(Unknown Source)
          at com.jidesoft.combobox.ColorChooserPanel$d_.actionPerformed(Unknown Source)
          at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
          at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
          at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
          at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
          at com.jidesoft.plaf.basic.BasicJideButtonListener.mouseReleased(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.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$1.doIntersectionPrivilege(Unknown Source)
          at java.security.ProtectionDomain$1.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$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)
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 24 [ 31 ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 25 [ 32 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked higher
          dcnorris David Norris (Inactive) made changes -
          Sprint Sprint 25 [ 32 ] Backlog Grooming Meeting 2 [ 35 ]
          dcnorris David Norris (Inactive) made changes -
          Assignee Tarun Mall [ tmall ]
          dcnorris David Norris (Inactive) made changes -
          Sprint Backlog Grooming Meeting 2 [ 35 ] Sprint 26 [ 34 ]
          dcnorris David Norris (Inactive) made changes -
          Rank Ranked lower
          tmall Tarun Mall (Inactive) made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          tmall Tarun Mall (Inactive) made changes -
          Status In Progress [ 3 ] Pull Request Submitted [ 10101 ]
          tmall Tarun Mall (Inactive) made changes -
          Status Pull Request Submitted [ 10101 ] Needs Testing [ 10002 ]
          mason Mason Meyer (Inactive) made changes -
          Status Needs Testing [ 10002 ] Testing In Progress [ 10003 ]
          mason Mason Meyer (Inactive) made changes -
          Assignee Tarun Mall [ tmall ] Mason Meyer [ mason ]
          Hide
          mason Mason Meyer (Inactive) added a comment -

          Testing for this issue included checking to make sure a null pointer exception is not generated when changing TL, FG, or BG color to "None".

          I also checked to make sure that the colors could be changed to other colors after selecting "none".

          I wanted to point out that that the "None" option for color is available on each color picker but it has no effect. Ideally this should be changed so that "None" is not an option if it is not going to function when clicked.

          Since this story is resolved it will now be closed.

          Show
          mason Mason Meyer (Inactive) added a comment - Testing for this issue included checking to make sure a null pointer exception is not generated when changing TL, FG, or BG color to "None". I also checked to make sure that the colors could be changed to other colors after selecting "none". I wanted to point out that that the "None" option for color is available on each color picker but it has no effect. Ideally this should be changed so that "None" is not an option if it is not going to function when clicked. Since this story is resolved it will now be closed.
          mason Mason Meyer (Inactive) made changes -
          Resolution Done [ 10000 ]
          Status Testing In Progress [ 10003 ] Closed [ 6 ]
          ann.loraine Ann Loraine made changes -
          Workflow Loraine Lab Workflow [ 16105 ] Fall 2019 Workflow Update [ 19581 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 19581 ] Revised Fall 2019 Workflow Update [ 21700 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved: