-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
8u161
-
x86
-
windows_10
FULL PRODUCT VERSION :
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.16299.192]
A DESCRIPTION OF THE PROBLEM :
The test /java/awt/Window/AlwaysOnTop/SyncAlwaysOnTopFieldTest.java intermittently throws java.lang.InternalError: couldn't create component peer.
The issue was observed on Windows.
The reproducibility is less 10%
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
TESTJDK='/cygdrive/c/Program Files/Java/jre1.8.0_162'
JAVAOPTIONS="-Djava.awt.headless=false"
failed=0
count=0
while [ ${failed} -eq 0 ]
do
jtreg -ignore:quiet -v -a -xml \
-testjdk:"$TESTJDK" \
-javaoptions:"$JAVAOPTIONS" \
-timeoutFactor:2 test/java/awt/Window/AlwaysOnTop/SyncAlwaysOnTopFieldTest.java
failed=$?
done
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no exceptions are expected
ACTUAL -
#section:main
----------messages:(4/153)----------
command: main SyncAlwaysOnTopFieldTest
reason: User specified action: run main SyncAlwaysOnTopFieldTest
Mode: othervm
elapsed time (seconds): 1.669
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(17/949)----------
STATUS:Passed.
java.lang.InternalError: couldn't create component peer
at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createWindow(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at SyncAlwaysOnTopFieldTest.createWindow(SyncAlwaysOnTopFieldTest.java:59)
at SyncAlwaysOnTopFieldTest.lambda$main$0(SyncAlwaysOnTopFieldTest.java:44)
at java.lang.Thread.run(Unknown Source)
STATUS:Failed.`main' threw exception: java.lang.InternalError: couldn't create component peer
REPRODUCIBILITY :
This bug can be reproduced rarely.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java
---------- END SOURCE ----------
java version "1.8.0_162"
Java(TM) SE Runtime Environment (build 1.8.0_162-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.162-b12, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 10.0.16299.192]
A DESCRIPTION OF THE PROBLEM :
The test /java/awt/Window/AlwaysOnTop/SyncAlwaysOnTopFieldTest.java intermittently throws java.lang.InternalError: couldn't create component peer.
The issue was observed on Windows.
The reproducibility is less 10%
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
TESTJDK='/cygdrive/c/Program Files/Java/jre1.8.0_162'
JAVAOPTIONS="-Djava.awt.headless=false"
failed=0
count=0
while [ ${failed} -eq 0 ]
do
jtreg -ignore:quiet -v -a -xml \
-testjdk:"$TESTJDK" \
-javaoptions:"$JAVAOPTIONS" \
-timeoutFactor:2 test/java/awt/Window/AlwaysOnTop/SyncAlwaysOnTopFieldTest.java
failed=$?
done
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no exceptions are expected
ACTUAL -
#section:main
----------messages:(4/153)----------
command: main SyncAlwaysOnTopFieldTest
reason: User specified action: run main SyncAlwaysOnTopFieldTest
Mode: othervm
elapsed time (seconds): 1.669
----------configuration:(0/0)----------
----------System.out:(0/0)----------
----------System.err:(17/949)----------
STATUS:Passed.
java.lang.InternalError: couldn't create component peer
at sun.awt.windows.WComponentPeer.checkCreation(Unknown Source)
at sun.awt.windows.WComponentPeer.<init>(Unknown Source)
at sun.awt.windows.WCanvasPeer.<init>(Unknown Source)
at sun.awt.windows.WPanelPeer.<init>(Unknown Source)
at sun.awt.windows.WWindowPeer.<init>(Unknown Source)
at sun.awt.windows.WToolkit.createWindow(Unknown Source)
at java.awt.Window.addNotify(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at SyncAlwaysOnTopFieldTest.createWindow(SyncAlwaysOnTopFieldTest.java:59)
at SyncAlwaysOnTopFieldTest.lambda$main$0(SyncAlwaysOnTopFieldTest.java:44)
at java.lang.Thread.run(Unknown Source)
STATUS:Failed.`main' threw exception: java.lang.InternalError: couldn't create component peer
REPRODUCIBILITY :
This bug can be reproduced rarely.
---------- BEGIN SOURCE ----------
http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/test/java/awt/Window/AlwaysOnTop/AlwaysOnTopFieldTest.java
---------- END SOURCE ----------