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

ClassCastException exception throws and applet fail to load on 7u13

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • 7u25
    • 7u13
    • client-libs
    • x86
    • windows_7

      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)

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

              Created:
              Updated:
              Resolved: