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

          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: