Troubleshooting
Problem
IBM Sterling Order Management System Manager Applet does not display server details.
Symptom
Customer wants to use IBM Sterling Order Management System Manager Applet to view table level cache but the server details panel shows blank. Also Java console shows error:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalAccessError: class com.yantra.ycp.hm.ui.screens.laf.YHMRadioButtonUI (in unnamed module @0x3f025b6b) cannot access class com.sun.java.swing.plaf.motif.MotifIconFactory (in module java.desktop) because module java.desktop does not export com.sun.java.swing.plaf.motif to unnamed module @0x3f025b6b
at com.yantra.ycp.hm.ui.screens.laf.YHMRadioButtonUI.paint(YHMRadioButtonUI.java:160)
at com.yantra.ycp.hm.ui.screens.laf.YHMRadioButtonUI.paint(YHMRadioButtonUI.java:160)
Cause
The error is due to com.sun.java.swing.plaf.motif package is not included with java.desktop module for the latest Java versions.
Diagnosing The Problem
Check current Java version to confirm it is higher than java9.
% java -fullversion
java full version "20.0.1+9-29"
java full version "20.0.1+9-29"
Resolving The Problem
Add "--add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED" to command line to launch the SMC applet
ex.
java --add-exports java.desktop/com.sun.java.swing.plaf.motif=ALL-UNNAMED -jar client.jar -mode SMC
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB59","label":"Sustainability Software"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"ARM Category":[{"code":"a8m0z000000cy01AAA","label":"Performance"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
18 July 2023
UID
ibm17012751