Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8034185

The applet throws java.security.PrivilegedActionException when loading it

XMLWordPrintable

      Testsuite name: Applet Compatibility
      JDK/JRE tested:8b121(jre-8-ea-windows-i586.exe)
      OS/architecture: Windows 7 SP1 x86

      Test case:
      set2/vatican_VaticanMuseums

      Steps to reproduce:

      1.Browse to http://mv.vatican.va/3_EN/pages/x-Pano/CSN/Visit_CSN_01.html
      2.The applet should be loaded
      3.Interact with the applet using available control buttons
      4.Reload the applet
      5.Resize the applet window
      6.Check the Java Console for errors/warnings

      #Exception
      java.security.PrivilegedActionException: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
      at com.sun.deploy.net.CrossDomainXML.check(Unknown Source)
      at sun.plugin2.applet.SecurityManagerHelper.checkURLPermissionHelper(Unknown Source)
      at sun.plugin2.applet.AWTAppletSecurityManager.checkPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.URLtoSocketPermission(Unknown Source)
      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at java.net.URL.openStream(Unknown Source)
      at a.a.a.a.a.e.a(Unknown Source)
      at a.a.a.a.a.e.e(Unknown Source)
      at a.a.a.a.a.a.e(Unknown Source)
      at a.a.a.a.a.b.int(Unknown Source)
      at a.a.a.a.a.b.h(Unknown Source)
      at a.a.a.a.d.a.start(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
      at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.parse(Unknown Source)
      at javax.xml.parsers.SAXParser.parse(Unknown Source)
      at com.sun.deploy.net.CrossDomainXML$2.run(Unknown Source)
      ... 17 more

      #Actual results:
      The applet throws java.security.PrivilegedActionException when loading it.Please refer to vatican_VaticanMuseums.jpg.refer to vatican_VaticanMuseums.txt.

      #validation:
      - Same configuration/ jre from java.com-----pass
      - x86 Win 7(sp1)/ Latest Firefox/ jre 8-b121-----fail as the same issue
      - x86 Win 8.1 (rtm)/ IE 11 / jre 8-b121-----fail as the same issue
      - x64 Vista(sp2)/ 64-bit IE 9/ jre 8-b121-----fail as the same issue
      - x86 Ubuntu 12.04/Latest Firefox/ jre 8-b121-----fail as the same issue

            stayer Kirill Kirichenko (Inactive)
            tolli Tony Li (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: