-
Bug
-
Resolution: Unresolved
-
P4
-
11, 14, 15, 16, 18, 20, 21, 23
-
os_x
----------System.err:(21/2323)----------
Warning: the fonts "Lucida Grande" and "Lucida Grande" are not available for the Java logical font "Dialog", which may have unexpected appearance or behavior. Re-enable the "Lucida Grande" font to remove this warning.
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Warning: the fonts "Lucida Grande" and "Lucida Grande" are not available for the Java logical font "SansSerif", which may have unexpected appearance or behavior. Re-enable the "Lucida Grande" font to remove this warning.
Warning: the fonts "Menlo" and "Courier" are not available for the Java logical font "Monospaced", which may have unexpected appearance or behavior. Re-enable the "Menlo" font to remove this warning.
Warning: the fonts "Lucida Grande" and "Lucida Grande" are not available for the Java logical font "DialogInput", which may have unexpected appearance or behavior. Re-enable the "Lucida Grande" font to remove this warning.
java.lang.NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null
at java.desktop/java.awt.Font.getFont2D(Font.java:500)
at java.desktop/java.awt.Font.getFontName(Font.java:1463)
at java.desktop/java.awt.Font.getFontName(Font.java:1445)
at HeadlessFont.main(HeadlessFont.java:15)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:832)
- duplicates
-
JDK-8282505 java/awt/FontMetrics/StyledSpaceAdvance.java fails with java.lang.NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null
- Closed
-
JDK-8254860 javax/swing/Headless/HeadlessJTabbedPane.java failed with 'NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null'
- Closed
-
JDK-8259712 javax/swing/Headless/HeadlessJCheckBoxMenuItem.java failed with 'NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null'
- Closed
-
JDK-8265610 javax/swing/text/html/StyleSheet/TestWrongCSSFontSize.java failed with IllegalArgumentException
- Closed
-
JDK-8275143 javax/swing/text/html/StyleSheet/8260687/BodyInheritedFontSize.java failed with "NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null"
- Closed
- relates to
-
JDK-8259712 javax/swing/Headless/HeadlessJCheckBoxMenuItem.java failed with 'NullPointerException: Cannot read field "handle" because the return value of "sun.font.FontManager.findFont2D(String, int, int)" is null'
- Closed
-
JDK-8265610 javax/swing/text/html/StyleSheet/TestWrongCSSFontSize.java failed with IllegalArgumentException
- Closed