Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901432

JavaTest throws exception in Report Browser on Print Setup menu click

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: jt5.0
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b07
    • Introduced In Version:
    • Verification:
      Verified

      Description

      1. Open JT, create WD, open suite (I was using sample JCK9-runtime)
      2. Run tests, create report
      3. In 'Report Browser' click on File->Print Setup

      Expected: opens print settings
      Observed: exception in console

      ===========

      Exception in thread "Thread-3" java.lang.ExceptionInInitializerError
      at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2587)
      at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2611)
      at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:548)
      at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:527)
      at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:194)
      at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:346)
      at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:304)
      at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:614)
      at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:525)
      at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:72)
      at sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:409)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:162)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
      at sun.net.www.protocol.https.HttpsClient.&lt;init&gt;(HttpsClient.java:275)
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
      at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:988)
      at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:986)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:713)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:985)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
      at sun.net.www.protocol.http.HttpURLConnection.access$100(HttpURLConnection.java:90)
      at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1249)
      at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1247)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:713)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1246)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
      at sun.print.IPPPrintService$1.run(IPPPrintService.java:1680)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.print.IPPPrintService.opGetAttributes(IPPPrintService.java:1677)
      at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:403)
      at sun.print.IPPPrintService.getAttribute(IPPPrintService.java:1105)
      at sun.print.UnixPrintServiceLookup.addPrintServiceToList(UnixPrintServiceLookup.java:251)
      at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:338)
      at sun.print.UnixPrintServiceLookup$PrinterChangeListener.run(UnixPrintServiceLookup.java:947)
      Caused by: java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "createSecurityManager")
      at java.security.AccessControlContext.checkPermission(AccessControlContext.java:457)
      at java.security.AccessController.checkPermission(AccessController.java:884)
      at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
      at com.sun.javatest.NewJavaTestSecurityManager.checkPermission(JavaTestSecurityManager.java:202)
      at java.lang.SecurityManager.<init>(SecurityManager.java:299)
      at javax.crypto.JceSecurityManager.<init>(JceSecurityManager.java:76)
      at javax.crypto.JceSecurityManager.<init>(JceSecurityManager.java:49)
      at javax.crypto.JceSecurityManager$1.run(JceSecurityManager.java:71)
      at javax.crypto.JceSecurityManager$1.run(JceSecurityManager.java:69)
      at java.security.AccessController.doPrivileged(Native Method)
      at javax.crypto.JceSecurityManager.<clinit>(JceSecurityManager.java:68)
      ... 40 more
      Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: Could not initialize class javax.crypto.JceSecurityManager
      at javax.crypto.Cipher.getConfiguredPermission(Cipher.java:2587)
      at javax.crypto.Cipher.getMaxAllowedKeyLength(Cipher.java:2611)
      at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:548)
      at sun.security.ssl.CipherSuite$BulkCipher.isAvailable(CipherSuite.java:527)
      at sun.security.ssl.CipherSuite.isAvailable(CipherSuite.java:194)
      at sun.security.ssl.SSLContextImpl.getApplicableCipherSuiteList(SSLContextImpl.java:346)
      at sun.security.ssl.SSLContextImpl.getDefaultCipherSuiteList(SSLContextImpl.java:304)
      at sun.security.ssl.SSLSocketImpl.init(SSLSocketImpl.java:614)
      at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:525)
      at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:72)
      at sun.net.www.protocol.https.HttpsClient.createSocket(HttpsClient.java:409)
      at sun.net.NetworkClient.doConnect(NetworkClient.java:162)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
      at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
      at sun.net.www.protocol.https.HttpsClient.&lt;init&gt;(HttpsClient.java:275)
      at sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:371)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1104)
      at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:988)
      at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:986)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:713)
      at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:985)
      at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1282)
      at sun.net.www.protocol.http.HttpURLConnection.access$100(HttpURLConnection.java:90)
      at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1249)
      at sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1247)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessController.doPrivileged(AccessController.java:713)
      at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1246)
      at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:250)
      at sun.print.IPPPrintService$1.run(IPPPrintService.java:1680)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.print.IPPPrintService.opGetAttributes(IPPPrintService.java:1677)
      at sun.print.IPPPrintService.initAttributes(IPPPrintService.java:403)
      at sun.print.IPPPrintService.getAttribute(IPPPrintService.java:1105)
      at sun.print.UnixPrintServiceLookup.addPrintServiceToList(UnixPrintServiceLookup.java:251)
      at sun.print.UnixPrintServiceLookup.refreshServices(UnixPrintServiceLookup.java:338)
      at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:233)
      at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:503)
      at sun.print.UnixPrintServiceLookup.getPrintServices(UnixPrintServiceLookup.java:590)
      at javax.print.PrintServiceLookup.getServices(PrintServiceLookup.java:382)
      at javax.print.PrintServiceLookup.lookupPrintServices(PrintServiceLookup.java:123)
      at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:480)
      at sun.print.RasterPrinterJob.defaultPage(RasterPrinterJob.java:1602)
      at java.awt.print.PrinterJob.defaultPage(PrinterJob.java:393)
      at com.sun.javatest.exec.ExecTool.printSetup(ExecTool.java:506)
      at com.sun.javatest.exec.ReportBrowser$1.actionPerformed(ReportBrowser.java:131)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.menuDragMouseReleased(BasicMenuItemUI.java:943)
      at javax.swing.JMenuItem.fireMenuDragMouseReleased(JMenuItem.java:586)
      at javax.swing.JMenuItem.processMenuDragMouseEvent(JMenuItem.java:483)
      at javax.swing.JMenuItem.processMouseEvent(JMenuItem.java:429)
      at javax.swing.MenuSelectionManager.processMouseEvent(MenuSelectionManager.java:329)
      at javax.swing.plaf.basic.BasicPopupMenuUI$MouseGrabber.eventDispatched(BasicPopupMenuUI.java:870)
      at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2425)
      at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2317)
      at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2275)
      at java.awt.Component.dispatchEventImpl(Component.java:4777)
      at java.awt.Container.dispatchEventImpl(Container.java:2292)
      at java.awt.Component.dispatchEvent(Component.java:4703)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4898)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4533)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4462)
      at java.awt.Container.dispatchEventImpl(Container.java:2278)
      at java.awt.Window.dispatchEventImpl(Window.java:2750)
      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)

        Attachments

          Activity

            People

            Assignee:
            afedorch Alexey Fedorchenko (Inactive)
            Reporter:
            dsandalov Dmitry Sandalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: