APAR status
Closed as program error.
Error description
Error Message: When launching SwingSet2 Demo with NimbusLookAndFeel there are multiple problems occurs and they are ClassCastException, assertion failure and intermittent GUI hang. Stack Trace: Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.plaf.nimbus.DerivedColor$UIResource incompatible with javax.swing.Painter at javax.swing.plaf.nimbus.NimbusStyle.getBackgroundPainter(NimbusS tyle.java:708) at javax.swing.plaf.nimbus.SynthPainterImpl.paintBackground(SynthPa interImpl.java:99) at javax.swing.plaf.nimbus.SynthPainterImpl.paintPanelBackground(Sy nthPainterImpl.java:957) at javax.swing.plaf.synth.SynthPanelUI.update(SynthPanelUI.java:155 ) at javax.swing.JComponent.paintComponent(JComponent.java:778) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5219) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaint Manager.java:295) at javax.swing.RepaintManager.paint(RepaintManager.java:1249) at javax.swing.JComponent._paintImmediately(JComponent.java:5167) at javax.swing.JComponent.paintImmediately(JComponent.java:4978) at javax.swing.RepaintManager$3.run(RepaintManager.java:808) at javax.swing.RepaintManager$3.run(RepaintManager.java:796) at java.security.AccessController.doPrivileged(AccessController.jav a:300) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Protect ionDomain.java:76) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java :796) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java :769) at javax.swing.RepaintManager.prePaintDirtyRegions(RepaintManager.j ava:718) at javax.swing.RepaintManager.access$1100(RepaintManager.java:62) at javax.swing.RepaintManager$ProcessingRunnable.run(RepaintManager .java:1677) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251 ) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(AccessController.jav a:300) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Protect ionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatc hThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchTh read.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatc hThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java :146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java :138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) .
Local fix
Problem summary
When SwingSet2 demo with Nimbus look and feel is launched on AIX, lots of exceptions are thrown on GUI thread, causing GUI to hang.
Problem conclusion
This APAR will be fixed in the following Java Releases: 6 R1 SR8 (6.1.8.0) 7 SR7 (7.0.7.0) 6 SR16 (6.0.16.0) . Moving all illegal accesses to GUI components that are outside of GUI thread to GUI thread.
Temporary fix
Comments
APAR Information
APAR number
IV50197
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-09-30
Closed date
2014-03-13
Last modified date
2014-03-14
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
JAVA CLASS LIBS
Fixed component ID
620700130
Applicable component levels
R700 PSY
UP
R600 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022