-
Bug
-
Resolution: Duplicate
-
P4
-
17
-
aarch64
-
os_x
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.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1343)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1479)
at TestWrongCSSFontSize.main(TestWrongCSSFontSize.java:154)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
at TestWrongCSSFontSize.captureImage(TestWrongCSSFontSize.java:138)
at TestWrongCSSFontSize.lambda$main$0(TestWrongCSSFontSize.java:163)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
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.reflect.InvocationTargetException
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1368)
at java.desktop/java.awt.EventQueue.invokeAndWait(EventQueue.java:1343)
at java.desktop/javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1479)
at TestWrongCSSFontSize.main(TestWrongCSSFontSize.java:154)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:831)
Caused by: java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0
at java.desktop/java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.desktop/java.awt.image.BufferedImage.<init>(BufferedImage.java:333)
at TestWrongCSSFontSize.captureImage(TestWrongCSSFontSize.java:138)
at TestWrongCSSFontSize.lambda$main$0(TestWrongCSSFontSize.java:163)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:308)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:770)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:740)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
- duplicates
-
JDK-8253120 [macos] intermittent failures to locate system fonts in headless testing.
- Open
- relates to
-
JDK-8253120 [macos] intermittent failures to locate system fonts in headless testing.
- Open