[BUG-16754] Ignition 8.0.14 - vision - dropdown list disable produce error when clicked

Ignition 8.0.14 - vision

@cmallonee, @PGriffith

When a dropdown is disable, for example with a property binding with a checkbox as follow:

image

If you click on the dropdown there are the following error in the client/designer:

gexcept null java.lang.NullPointerException
	at de.javasoft.plaf.synthetica.painter.ImagePainter.drawTopLeft(ImagePainter.java:577)
	at de.javasoft.plaf.synthetica.painter.ImagePainter.drawBorder(ImagePainter.java:534)
	at de.javasoft.plaf.synthetica.painter.ImagePainter.draw(ImagePainter.java:524)
	at de.javasoft.plaf.synthetica.painter.ArrowButtonPainter.paintArrowButtonBackground(ArrowButtonPainter.java:172)
	at com.inductiveautomation.plaf.painter.ArrowButtonPainter.paintArrowButtonBackground(ArrowButtonPainter.java:28)
	at de.javasoft.plaf.synthetica.painter.SyntheticaPainter.paintArrowButtonBackground(SyntheticaPainter.java:168)
	at java.desktop/javax.swing.plaf.synth.SynthArrowButton$SynthArrowButtonUI.paintBackground(Unknown Source)
	at java.desktop/javax.swing.plaf.synth.SynthButtonUI.update(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintComponent(Unknown Source)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintChildren(Unknown Source)
	at com.inductiveautomation.factorypmi.application.components.PMIComboBox.paintChildren(PMIComboBox.java:912)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)


ERROR,critical: gexcept null java.lang.NullPointerException
	at de.javasoft.plaf.synthetica.painter.ImagePainter.drawTopLeft(ImagePainter.java:577)
	at de.javasoft.plaf.synthetica.painter.ImagePainter.drawBorder(ImagePainter.java:534)
	at de.javasoft.plaf.synthetica.painter.ImagePainter.draw(ImagePainter.java:524)
	at de.javasoft.plaf.synthetica.painter.ArrowButtonPainter.paintArrowButtonBackground(ArrowButtonPainter.java:172)
	at com.inductiveautomation.plaf.painter.ArrowButtonPainter.paintArrowButtonBackground(ArrowButtonPainter.java:28)
	at de.javasoft.plaf.synthetica.painter.SyntheticaPainter.paintArrowButtonBackground(SyntheticaPainter.java:168)
	at java.desktop/javax.swing.plaf.synth.SynthArrowButton$SynthArrowButtonUI.paintBackground(Unknown Source)
	at java.desktop/javax.swing.plaf.synth.SynthButtonUI.update(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintComponent(Unknown Source)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintChildren(Unknown Source)
	at com.inductiveautomation.factorypmi.application.components.PMIComboBox.paintChildren(PMIComboBox.java:912)
	at java.desktop/javax.swing.JComponent.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintToOffscreen(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBufferedImpl(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$PaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paint(Unknown Source)
	at java.desktop/javax.swing.JComponent._paintImmediately(Unknown Source)
	at java.desktop/javax.swing.JComponent.paintImmediately(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager.prePaintDirtyRegions(Unknown Source)
	at java.desktop/javax.swing.RepaintManager$ProcessingRunnable.run(Unknown Source)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)



@cmallonee, @PGriffith,
Have you reproduce this issue on your side ?
The error message in the vision client is filled with those error…
I have this issue for every dropdown with enabled binded to a checkbox.

I’ve opened an internal ticket to track the issue. Actually, Paul did a couple of days ago and didn’t link this thread. Mine was closed as a duplicate of his.

2 Likes