Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Epic Link:
-
Sprint:Sprint 26
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
Field | Original Value | New Value |
---|---|---|
Epic Link | IGBF-497 [ 15559 ] |
Sprint | Sprint 24 [ 31 ] | Backlog Grooming Meeting [ 32 ] |
Sprint | Backlog Grooming Meeting [ 32 ] | Sprint 24 [ 31 ] |
Rank | Ranked higher |
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 |
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) |
Sprint | Sprint 24 [ 31 ] |
Sprint | Sprint 25 [ 32 ] |
Rank | Ranked higher |
Sprint | Sprint 25 [ 32 ] | Backlog Grooming Meeting 2 [ 35 ] |
Assignee | Tarun Mall [ tmall ] |
Sprint | Backlog Grooming Meeting 2 [ 35 ] | Sprint 26 [ 34 ] |
Rank | Ranked lower |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Pull Request Submitted [ 10101 ] |
Status | Pull Request Submitted [ 10101 ] | Needs Testing [ 10002 ] |
Status | Needs Testing [ 10002 ] | Testing In Progress [ 10003 ] |
Assignee | Tarun Mall [ tmall ] | Mason Meyer [ mason ] |
Resolution | Done [ 10000 ] | |
Status | Testing In Progress [ 10003 ] | Closed [ 6 ] |
Workflow | Loraine Lab Workflow [ 16105 ] | Fall 2019 Workflow Update [ 19581 ] |
Workflow | Fall 2019 Workflow Update [ 19581 ] | Revised Fall 2019 Workflow Update [ 21700 ] |
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.