-
Bug
-
Resolution: Unresolved
-
P4
-
10, 11
-
x86_64
-
windows_10
ADDITIONAL SYSTEM INFORMATION :
Microsoft Windows [Version 10.0.16299.371]
A DESCRIPTION OF THE PROBLEM :
The test java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java throws java.lang.NullPointerException on Windows.
The issue was not observed on Linux
On MacOS it fails because of JDK-8193941
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -testjdk:/cygdrive/c/Program\ Files/Java/jdk-10.0.1 -javaoptions:"-Djava.awt.headless=false" -timeoutFactor:2 test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java
ACTUAL -
#section:main
----------messages:(5/322)----------
command: main -Dsun.java2d.uiScale=1 MultiResolutionJOptionPaneIconTest
reason: User specified action: run main/othervm/timeout=300 -Dsun.java2d.uiScale=1 MultiResolutionJOptionPaneIconTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 5.095
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/14)----------
L&F: Metal
----------System.err:(14/896)----------
java.lang.NullPointerException
at MultiResolutionJOptionPaneIconTest.doTest(MultiResolutionJOptionPaneIconTest.java:109)
at MultiResolutionJOptionPaneIconTest.main(MultiResolutionJOptionPaneIconTest.java:178)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
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:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NullPointerException
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java
---------- END SOURCE ----------
FREQUENCY : always
Microsoft Windows [Version 10.0.16299.371]
A DESCRIPTION OF THE PROBLEM :
The test java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java throws java.lang.NullPointerException on Windows.
The issue was not observed on Linux
On MacOS it fails because of JDK-8193941
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
$ jtreg -testjdk:/cygdrive/c/Program\ Files/Java/jdk-10.0.1 -javaoptions:"-Djava.awt.headless=false" -timeoutFactor:2 test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java
ACTUAL -
#section:main
----------messages:(5/322)----------
command: main -Dsun.java2d.uiScale=1 MultiResolutionJOptionPaneIconTest
reason: User specified action: run main/othervm/timeout=300 -Dsun.java2d.uiScale=1 MultiResolutionJOptionPaneIconTest
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules java.desktop
elapsed time (seconds): 5.095
----------configuration:(3/43)----------
Boot Layer
add modules: java.desktop
----------System.out:(2/14)----------
L&F: Metal
----------System.err:(14/896)----------
java.lang.NullPointerException
at MultiResolutionJOptionPaneIconTest.doTest(MultiResolutionJOptionPaneIconTest.java:109)
at MultiResolutionJOptionPaneIconTest.main(MultiResolutionJOptionPaneIconTest.java:178)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
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:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.NullPointerException
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.NullPointerException
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk10/jdk10/jdk/file/777356696811/test/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java
---------- END SOURCE ----------
FREQUENCY : always
- relates to
-
JDK-8193941 [macos] Regression automated test '/open/test/jdk/java/awt/image/multiresolution/MultiResolutionJOptionPaneIconTest.java' fails
- Open