-
Bug
-
Resolution: Duplicate
-
P2
-
8u40
-
JDK8u40b06(32bit)/Ubuntu12.04-x86
-
b06
-
x86
-
linux_ubuntu
Testsuite name: JDK Demos
Test name(s): tests/demo/applets/GraphLayoutTest
Product(s) tested: JDK8u40b06(32bit)
OS/architecture: Ubuntu12.04 x86/FF32.0.1
Error log file: http://aurora.ru.oracle.com/slot-gw/589835.ManualSubmit-1/workDir/tests/demo/applets/GraphLayoutTest.jtr
Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:
Is it a Regression: Yes
[If Regression] Regression introduced in release/build: b06 (b01,b02 and b05/ubuntu12.04-x86/FF32.0.1:All pass)
Test result on the last GAed release for this train: Pass(JDK8u25b17(32bit)/ubuntu12.04-x86/FF32.0.1:Pass)
[if Fail] Test result on FCS:
Is it a platform specific issue: No(JDK8u40b06/Mac10.9.2/Safari7.0.2:Fail)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version:
Steps to reproduce:
1)Install test bundle JDK8u40b06 (download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b06/bundles/linux-i586/jdk-8u40-ea-linux-i586.tar.gz) to /demo
2)Uncompress the jdk demo (download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b06/bundles/linux-i586/jdk-8u40-ea-bin-b06-linux-i586-demos-16_sep_2014.tar.gz) to /demo/jdk1.8.0_40
3)Do plugin soft link from jre to the FF32.0.1: ln -sf /demo/jdk1.8.0_40/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins
4)We located the applets cases on our server with apache-tomcat-7.0.42 (http://localhost:8080/demo/applets)
5)Add http://localhost:8080 to ESL from the java control panel.
6)Run the applet, go to http://localhsot:8080/demo/applets/GraphLayout directory, then open each example<N>.html file in browser.
Expected result:
the demos should work as expected, there must be no exceptions in the Java Console log.
Actual result:
When click the Scramble,shake and Random button,it throws IOExeption, please refer to GraphLayout.png and the exception:
java.io.IOException: stream is closed
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen(HttpURLConnection.java:3295)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3320)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at com.sun.deploy.uitoolkit.impl.awt.Applet2AudioClipFactory$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.uitoolkit.impl.awt.Applet2AudioClipFactory.createAudioClip(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$AppletContextImpl.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Applet.java:329)
at java.applet.Applet.getAudioClip(Applet.java:349)
at java.applet.Applet.play(Applet.java:435)
at Graph.actionPerformed(Graph.java:416)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The following cases have the same issue:
tests/demo/applets/AnimatorTest
When loading the applet from the example1.html-example3.html,it throws IOException,refer to Animator1.png;but loading the applet from the example4.html,the applet cannot bu loaded,refer to Animator2.png.
tests/demo/applets/TicTacToeTest
When click the form it throws a java.io.IOException,refer to TicTacToe.png.
Test name(s): tests/demo/applets/GraphLayoutTest
Product(s) tested: JDK8u40b06(32bit)
OS/architecture: Ubuntu12.04 x86/FF32.0.1
Error log file: http://aurora.ru.oracle.com/slot-gw/589835.ManualSubmit-1/workDir/tests/demo/applets/GraphLayoutTest.jtr
Reproducible: Always
Reproducible on machine: Evergreen-machine
[If Sometimes] Also reproducible on machine:
Is it a Regression: Yes
[If Regression] Regression introduced in release/build: b06 (b01,b02 and b05/ubuntu12.04-x86/FF32.0.1:All pass)
Test result on the last GAed release for this train: Pass(JDK8u25b17(32bit)/ubuntu12.04-x86/FF32.0.1:Pass)
[if Fail] Test result on FCS:
Is it a platform specific issue: No(JDK8u40b06/Mac10.9.2/Safari7.0.2:Fail)
[If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: No
[If new configuration testing] Issue specific to execution mode or OS/browser version:
Steps to reproduce:
1)Install test bundle JDK8u40b06 (download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b06/bundles/linux-i586/jdk-8u40-ea-linux-i586.tar.gz) to /demo
2)Uncompress the jdk demo (download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b06/bundles/linux-i586/jdk-8u40-ea-bin-b06-linux-i586-demos-16_sep_2014.tar.gz) to /demo/jdk1.8.0_40
3)Do plugin soft link from jre to the FF32.0.1: ln -sf /demo/jdk1.8.0_40/jre/lib/i386/libnpjp2.so ~/.mozilla/plugins
4)We located the applets cases on our server with apache-tomcat-7.0.42 (http://localhost:8080/demo/applets)
5)Add http://localhost:8080 to ESL from the java control panel.
6)Run the applet, go to http://localhsot:8080/demo/applets/GraphLayout directory, then open each example<N>.html file in browser.
Expected result:
the demos should work as expected, there must be no exceptions in the Java Console log.
Actual result:
When click the Scramble,shake and Random button,it throws IOExeption, please refer to GraphLayout.png and the exception:
java.io.IOException: stream is closed
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.ensureOpen(HttpURLConnection.java:3295)
at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.read(HttpURLConnection.java:3320)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at com.sun.deploy.uitoolkit.impl.awt.Applet2AudioClipFactory$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.deploy.uitoolkit.impl.awt.Applet2AudioClipFactory.createAudioClip(Unknown Source)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$AppletContextImpl.getAudioClip(Unknown Source)
at java.applet.Applet.getAudioClip(Applet.java:329)
at java.applet.Applet.getAudioClip(Applet.java:349)
at java.applet.Applet.play(Applet.java:435)
at Graph.actionPerformed(Graph.java:416)
at java.awt.Button.processActionEvent(Button.java:409)
at java.awt.Button.processEvent(Button.java:377)
at java.awt.Component.dispatchEventImpl(Component.java:4881)
at java.awt.Component.dispatchEvent(Component.java:4703)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:751)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:724)
at java.awt.EventQueue$4.run(EventQueue.java:722)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:721)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
The following cases have the same issue:
tests/demo/applets/AnimatorTest
When loading the applet from the example1.html-example3.html,it throws IOException,refer to Animator1.png;but loading the applet from the example4.html,the applet cannot bu loaded,refer to Animator2.png.
tests/demo/applets/TicTacToeTest
When click the form it throws a java.io.IOException,refer to TicTacToe.png.