-
Bug
-
Resolution: Fixed
-
P2
-
21
-
b26
-
x86_64
-
linux
-
Verified
The following test failed in the JDK21 CI:
java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java
Here's a snippet from the log file:
#section:main
----------messages:(7/297)----------
command: main GetScreenInsetsCustomGC
reason: Assumed action based on file name: run main GetScreenInsetsCustomGC
started: Thu May 25 02:39:08 UTC 2023
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Thu May 25 02:39:08 UTC 2023
elapsed time (seconds): 0.224
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(12/893)----------
java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:891)
at GetScreenInsetsCustomGC.main(GetScreenInsetsCustomGC.java:81)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
----------rerun:(44/5845)*----------
java/awt/Toolkit/GetScreenInsetsCustomGC/GetScreenInsetsCustomGC.java
Here's a snippet from the log file:
#section:main
----------messages:(7/297)----------
command: main GetScreenInsetsCustomGC
reason: Assumed action based on file name: run main GetScreenInsetsCustomGC
started: Thu May 25 02:39:08 UTC 2023
Mode: othervm
Additional options from @modules: --add-modules java.desktop
finished: Thu May 25 02:39:08 UTC 2023
elapsed time (seconds): 0.224
----------configuration:(3/40)----------
Boot Layer
add modules: java.desktop
----------System.out:(0/0)----------
----------System.err:(12/893)----------
java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(XToolkit.java:891)
at GetScreenInsetsCustomGC.main(GetScreenInsetsCustomGC.java:81)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1583)
JavaTest Message: Test threw exception: java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NullPointerException: Cannot invoke "sun.awt.X11GraphicsDevice.getInsets()" because "device" is null
----------rerun:(44/5845)*----------
- caused by
-
JDK-8305578 X11GraphicsDevice.pGetBounds() is slow in remote X11 sessions
-
- Resolved
-
- links to
-
Commit openjdk/jdk/41bf2ad1
-
Review openjdk/jdk/14170
-
Review(pr/3336) openjdk/jdk17u-dev/3337