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

Bug A Ton : Failed to load an applet in netscape / IE browser

XMLWordPrintable

    • unknown
    • windows_2000

      Steps to reproduce :
      1. Install JRE from the location given in the contest.
      2. Verified with http://sqindia.india.sun.com/disk17/deployment/raghu/kernel/detect.html
       Test to detect what JREs installed are on the systemjre
      Detected that toolkit plugin was not installed
      Detected installed version: 1.6.0

      2. Check the Hellow world applet is working (
      invoking runApplet with minimumVersion 1.6.0_10

        Hello World!
        Java Version is : 1.6.0_10-ea

      Opened an applet from : http://www.bodo.com/Applets/Blocks/index.html Got the exeception as given below.
      ========================================================================================

      Java Plug-in 1.6.0_10-ea
      Using JRE version 1.6.0_10-ea Java HotSpot(TM) Kernel VM
      User home directory = C:\Documents and Settings\Administrator


      ----------------------------------------------------
      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
      p: reload proxy configuration
      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.VerifyError: (class: Blocks, method: handleEvent signature: (Ljava/awt/Event;)Z) Unsorted lookup switch
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
      at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2232)
      at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
      at sun.applet.AppletPanel.run(AppletPanel.java:369)
      at java.lang.Thread.run(Unknown Source)
      Exception in thread "AWT-EventQueue-2" java.lang.IllegalThreadStateException: forbid thread creation in disposed TG
      at sun.plugin.security.ActivatorSecurityManager.checkAccess(ActivatorSecurityManager.java:152)
      at java.lang.ThreadGroup.checkAccess(Unknown Source)
      at java.lang.Thread.init(Unknown Source)
      at java.lang.Thread.<init>(Unknown Source)
      at java.awt.EventDispatchThread.<init>(EventDispatchThread.java:57)
      at java.awt.EventQueue$1.run(EventQueue.java:822)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.EventQueue.initDispatchThread(EventQueue.java:819)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:152)
      HelloWorld init()
      java.lang.VerifyError: (class: Blocks, method: handleEvent signature: (Ljava/awt/Event;)Z) Unsorted lookup switch
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
      at java.lang.Class.getConstructor0(Unknown Source)
      at java.lang.Class.newInstance0(Unknown Source)
      at java.lang.Class.newInstance(Unknown Source)
      at sun.applet.AppletPanel.createApplet(AppletPanel.java:786)
      at sun.plugin.AppletViewer.createApplet(AppletViewer.java:2232)
      at sun.applet.AppletPanel.runLoader(AppletPanel.java:715)
      at sun.applet.AppletPanel.run(AppletPanel.java:369)
      at java.lang.Thread.run(Unknown Source)
      ========================================================================================
      Note : I got the above exception on the java console.
      I have used my desktop system to find this bug.

            Unassigned Unassigned
            rthiyaga Ramesh Thiyagarajan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: