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

[macosx] EmbeddedFrame doesn't become active window

    Details

    • Introduced In Version:
      7u9
    • Resolved In Build:
      b10
    • CPU:
      x86
    • OS:
      os_x
    • Verification:
      Verified

      Backports

        Description


        Java version 7u9
        Browser: Safari v 6.0.1 (8536.26.14)
        OS X 10.8.2
        Hardware: MacBook Pro w/Retina display, 2,7 GHz Intel Core i7, 16 Gb 1600 Mhz DDR3, Intel HD 4000 512 Mb

        Regression: applet last worked in: 7u6

        When trying to enter the password, the user is unable to type in the password field. After enabling the Java Console with "Show Console" in Java control Panel the password field now allows characters to be typed.


        Expected behavior: Able to enter password in password field.
        Actual behavior: Cannot enter password into the field unless "Show Console" is enabled in Java control Panel settings.

        Steps to reproduce:
        1) Go to https://retail.payment.ru/n/Auth/LoginCert.aspx
        2) Click on the button with ... ( with 3 dots in it)
        3) Point to any file with pfx extension ( You can use any text file, just change its extension)
        4) Push button with sign Подписать
        5) You will see entry field for password
        6) You will not be able to type any characters in the password field

        Java Console output:
        Java Plug-in 10.9.2.05
        Using JRE version 1.7.0_09-b05 Java HotSpot(TM) 64-Bit Server VM
        User home directory = /Users/Duke
        ----------------------------------------------------
        c: clear console window
        f: finalize objects on finalization queue
        g: garbage collect
        h: display this help message
        l: dump classloader list
        m: print memory usage
        o: trigger logging
        q: hide console
        r: reload policy configuration
        s: dump system and deployment properties
        t: dump thread list
        v: dump thread stack
        x: clear classloader cache
        0-5: set trace level to <n>
        ----------------------------------------------------
        cache: Initialize resource manager: com.sun.deploy.cache.ResourceProviderImpl@37d9ddba
        security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.
        security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws
        security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws
        security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy
        security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy
        security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
        security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.
        security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws
        security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws
        security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy
        security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy
        security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
        security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
        security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
        security: property package.definition value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp
        security: property package.definition new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal.bind.,com.sun.imageio.,com.sun.org.apache.xerces.internal.utils.,com.sun.org.apache.xalan.internal.utils.,com.sun.org.glassfish.external.,com.sun.org.glassfish.gmbal.,apple.,com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.mozilla.jss
        basic: tap installed
        basic: Creating PluginEmbeddedFrame served by PlaceHolderServerName-7503
        basic: Done creating PluginEmbeddedFrame
        basic: Added progress listener: sun.plugin.util.ProgressMonitorAdapter@31e089d
        basic: Plugin2ClassLoader.addURL parent called for https://retail.payment.ru/n/Cab/retail.jar
        security: Accessing keys and certificate in Mozilla user profile: null
        security: JSS is not configured
        security: Blacklist revocation check is enabled
        security: Trusted libraries list check is enabled
        network: Cache entry found [url: https://retail.payment.ru/n/Cab/retail.jar, version: null] prevalidated=true/0
        cache: Resource https://retail.payment.ru/n/Cab/retail.jar has expired.
        network: Connecting https://retail.payment.ru/n/Cab/retail.jar.pack.gz with proxy=DIRECT
        network: Connecting http://retail.payment.ru:443/ with proxy=DIRECT
        security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Loading SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Loaded SSL Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Loading certificates from Deployment session certificate store
        security: Loaded certificates from Deployment session certificate store
        security: Checking if certificate is in Deployment denied certificate store
        network: Connecting https://retail.payment.ru/n/Cab/retail.jar with proxy=DIRECT
        network: ResponseCode for https://retail.payment.ru/n/Cab/retail.jar : 304
        network: Encoding for https://retail.payment.ru/n/Cab/retail.jar : null
        network: Disconnect connection to https://retail.payment.ru/n/Cab/retail.jar
        cache: Reading Signers from 3625 https://retail.payment.ru/n/Cab/retail.jar | /Users/Duke/Library/Application Support/Oracle/Java/Deployment/cache/6.0/58/49ee2bba-5e2928d8.idx
        cache: Done readSigners(https://retail.payment.ru/n/Cab/retail.jar)
        cache: Read manifest for https://retail.payment.ru/n/Cab/retail.jar: read=112 full=1614
        basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
        19:41:28.148 SEVERE "?????? 1.4.2 ?? 09 ??????? 2010 ????" , ru.psbank.applet.RetailSignApplet.<init>(), Seq=0, Thread=32
        network: Cache entry not found [url: https://retail.payment.ru/n/Auth/, version: null]
        network: Cache entry not found [url: https://retail.payment.ru/n/Auth/ru/signalcom/crypto/provider/SignalCOMProvider.class, version: null]
        network: Connecting https://retail.payment.ru/n/Auth/ru/signalcom/crypto/provider/SignalCOMProvider.class with proxy=DIRECT
        19:41:28.255 CONFIG "Signal-COM not installed" , ru.psbank.applet.RetailSignApplet.<init>(), Seq=1, Thread=32
        security: Loading Deployment certificates from /Users/Duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs
        security: Loaded Deployment certificates from /Users/Duke/Library/Application Support/Oracle/Java/Deployment/security/trusted.certs
        security: Loading certificates from Deployment session certificate store
        security: Loaded certificates from Deployment session certificate store
        security: Validate the certificate chain using CertPath API
        security: Loading Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Loaded Root CA certificates from /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/security/cacerts
        security: Obtain certificate collection in Root CA certificate store
        security: Obtain certificate collection in Root CA certificate store
        security: Obtain certificate collection in Root CA certificate store
        security: Obtain certificate collection in Root CA certificate store
        security: The certificate hasnt been expired, no need to check timestamping info
        security: Found jurisdiction list file
        security: Start checking trusted extension for this certificate
        security: Start comparing to jurisdiction list with this certificate
        security: The CRL support is disabled
        security: The OCSP support is disabled
        security: This OCSP End Entity validation is disabled
        security: Checking if certificate is in Deployment denied certificate store
        security: Checking if certificate is in Deployment permanent certificate store
        basic: Applet loaded.
        basic: Applet resized and added to parent container
        basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 126111 us, pluginInit dt 1828679 us, TotalTime: 1954790 us
        basic: Applet initialized
        basic: Starting applet
        basic: completed perf rollup
        basic: Applet made visible
        basic: Applet started
        basic: Told clients applet is started
        java.lang.ArrayIndexOutOfBoundsException: 14 >= 0
        at java.util.Vector.elementAt(Vector.java:470)
        at com.apple.laf.AquaFileSystemModel.getValueAt(AquaFileSystemModel.java:237)
        at javax.swing.JTable.getValueAt(JTable.java:2720)
        at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getCurrentAccessibleContext(JTable.java:7956)
        at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getAccessibleText(JTable.java:8260)
        at sun.lwawt.macosx.CAccessibleText$2.call(CAccessibleText.java:62)
        at sun.lwawt.macosx.CAccessibleText$2.call(CAccessibleText.java:57)
        at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:527)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
        at sun.lwawt.macosx.LWCToolkit$CPeerEvent.dispatch(LWCToolkit.java:684)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:682)
        at java.awt.EventQueue$3.run(EventQueue.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:155)
        at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
        at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
        at java.awt.Dialog.show(Dialog.java:1077)
        at javax.swing.JFileChooser.showDialog(JFileChooser.java:741)
        at ru.psbank.applet.RetailSignApplet.select(RetailSignApplet.java:455)
        at ru.psbank.applet.RetailSignApplet.access$000(RetailSignApplet.java:38)
        at ru.psbank.applet.RetailSignApplet$1.actionPerformed(RetailSignApplet.java:118)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
        at java.awt.Component.processMouseEvent(Component.java:6505)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
        at java.awt.Component.processEvent(Component.java:6270)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4861)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:682)
        at java.awt.EventQueue$3.run(EventQueue.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:696)
        at java.awt.EventQueue$4.run(EventQueue.java:694)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
        java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
        at java.util.Vector.elementAt(Vector.java:470)
        at com.apple.laf.AquaFileSystemModel.getValueAt(AquaFileSystemModel.java:237)
        at javax.swing.JTable.getValueAt(JTable.java:2720)
        at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getCurrentAccessibleContext(JTable.java:7956)
        at javax.swing.JTable$AccessibleJTable$AccessibleJTableCell.getAccessibleText(JTable.java:8260)
        at sun.lwawt.macosx.CAccessibleText$2.call(CAccessibleText.java:62)
        at sun.lwawt.macosx.CAccessibleText$2.call(CAccessibleText.java:57)
        at sun.lwawt.macosx.LWCToolkit$CallableWrapper.run(LWCToolkit.java:527)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:241)
        at sun.lwawt.macosx.LWCToolkit$CPeerEvent.dispatch(LWCToolkit.java:684)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:682)
        at java.awt.EventQueue$3.run(EventQueue.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:155)
        at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182)
        at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219)
        at java.awt.Dialog.show(Dialog.java:1077)
        at javax.swing.JFileChooser.showDialog(JFileChooser.java:741)
        at ru.psbank.applet.RetailSignApplet.select(RetailSignApplet.java:455)
        at ru.psbank.applet.RetailSignApplet.access$000(RetailSignApplet.java:38)
        at ru.psbank.applet.RetailSignApplet$1.actionPerformed(RetailSignApplet.java:118)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
        at java.awt.Component.processMouseEvent(Component.java:6505)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
        at java.awt.Component.processEvent(Component.java:6270)
        at java.awt.Container.processEvent(Container.java:2229)
        at java.awt.Component.dispatchEventImpl(Component.java:4861)
        at java.awt.Container.dispatchEventImpl(Container.java:2287)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
        at java.awt.Container.dispatchEventImpl(Container.java:2273)
        at java.awt.Component.dispatchEvent(Component.java:4687)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723)
        at java.awt.EventQueue.access$200(EventQueue.java:103)
        at java.awt.EventQueue$3.run(EventQueue.java:682)
        at java.awt.EventQueue$3.run(EventQueue.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue$4.run(EventQueue.java:696)
        at java.awt.EventQueue$4.run(EventQueue.java:694)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:693)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:97)
        19:42:10.077 FINE "Signing string 'ZUYxSjNBVEo='" , ru.psbank.applet.RetailSignApplet.sign(), Seq=211, Thread=32

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dcherepanov Dmitry Cherepanov
                  Reporter:
                  sharehma Shakeel Rehman (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  19 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: