APAR status
Closed as program error.
Error description
Error Message: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 . Stack Trace: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 0 at sun.font.CompositeStrike.getStrikeForSlot(CompositeStrike.java:9 1) at sun.font.CompositeStrike.getFontMetrics(CompositeStrike.java:109 ) at sun.font.FontDesignMetrics.initMatrixAndMetrics(FontDesignMetric s.java:371) at sun.font.FontDesignMetrics.<init>(FontDesignMetrics.java:362) at sun.font.FontDesignMetrics.getMetrics(FontDesignMetrics.java:314 ) at sun.swing.SwingUtilities2.getFontMetrics(SwingUtilities2.java:11 25) at javax.swing.JComponent.getFontMetrics(JComponent.java:1637) .
Local fix
Problem summary
Java searches monospaced, SansSerif and serif fonts using linux's fontconfig feature. Linux fontconfig is designed to locate fonts within the system and select them according to requirements specified by applications. Currently, when all the above fonts are missing, Java calls a fallback feature. However if one of the above font is missing, then an Exception is thrown. This issue was raised in OpenJDK bug-id JDK-8188030
Problem conclusion
Java now calls the fallback feature if linux's fontconfig feature could not find either the monospaced, SansSerif or serif fonts. . This APAR will be fixed in the following Java Releases: 8 SR5 FP37 (8.0.5.37) . Contact your IBM Product's Service Team for these Service Refreshes and Fix Packs. For those running stand-alone, information about the available Service Refreshes and Fix Packs can be found at: https://www.ibm.com/developerworks/java/jdk/
Temporary fix
Comments
APAR Information
APAR number
IJ16655
Reported component name
JAVA CLASS LIBS
Reported component ID
620700130
Reported release
800
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2019-06-06
Closed date
2019-06-07
Last modified date
2019-06-07
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
R800 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":"8.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]
Document Information
Modified date:
21 February 2022