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

ClassCastException exception throws and applet fail to load on 7u13

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 7u13
    • Fix Version/s: 7u25
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      windows_7

      Description

      CAP member had reported -

      first tried to run Java 7 Update 13 I got the attached exception and the applet failed to load once.

      not been able to reproduce this since, but it does make wonder about the robustness of javax.swing.ArrayTable.



      Java Plug-in 10.13.2.20
      Using JRE version 1.7.0_13-b20 Java HotSpot(TM) Client VM
      User home directory = D:\Users\jessh
      ----------------------------------------------------
      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>
      ----------------------------------------------------
      java.lang.ClassCastException: java.util.Hashtable cannot be cast to [Ljava.lang.Object;
      at javax.swing.ArrayTable.put(Unknown Source)
      at javax.swing.ActionMap.put(Unknown Source)
      at javax.swing.plaf.basic.LazyActionMap.put(Unknown Source)
      at wt.security.WTTransferAction.installAction(WTTransferAction.java:124)
      at wt.security.WTTransferAction.installActions(WTTransferAction.java:117)
      at wt.security.WTTransferAction.onlyInstallActions(WTTransferAction.java:105)
      at wt.security.WTTransferAction.installActions(WTTransferAction.java:90)
      at wt.clients.checker.LookAndFeelChecker.configureClient(LookAndFeelChecker.java:39)
      at wt.clients.checker.Checker.configureClient(Checker.java:146)
      at wt.clients.checker.CheckerApplet.init(CheckerApplet.java:69)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      java.lang.ClassCastException: java.util.Hashtable cannot be cast to [Ljava.lang.Object;
      at javax.swing.ArrayTable.put(Unknown Source)
      at javax.swing.ActionMap.put(Unknown Source)
      at javax.swing.plaf.basic.LazyActionMap.put(Unknown Source)
      at wt.security.WTTransferAction.installAction(WTTransferAction.java:124)
      at wt.security.WTTransferAction.installActions(WTTransferAction.java:117)
      at wt.security.WTTransferAction.onlyInstallActions(WTTransferAction.java:105)
      at wt.security.WTTransferAction.installActions(WTTransferAction.java:90)
      at wt.clients.checker.LookAndFeelChecker.configureClient(LookAndFeelChecker.java:39)
      at wt.clients.checker.Checker.configureClient(Checker.java:146)
      at wt.clients.checker.CheckerApplet.init(CheckerApplet.java:69)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            Assignee:
            alexsch Alexandr Scherbatiy
            Reporter:
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: