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

The vminfo applet throws exceptions and does not load

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 1.4.1
    • deploy
    • x86, sparc
    • generic, solaris_8

      OS - Solaris Sparc
      browser - NS6.1, NS6.2.1
      build - b04 (SWAT test build)

      Steps to reproduce -

      Step 1) Install hopper build 04 from

              /net/mizu.sfbay/usr/re/jdk1.4.1/bundles/solsparc/latest

      Step 2) Make sure .java.policy file is there in $HOME.

      Step 3) Register the plugin wth Netscape 6

      Step 4) Invoke the vminfo applet from

            http://sqesvr.sfbay.sun.com/deployment1/ws/tests/func/vminfo/vminfo.html

      Note - Similar behavior is seen when executing the cookie tests also with the same build.

      The applet does not load and the following exceptions are thrown on Console -

      Java(TM) Plug-in: Version 1.4.1
       Using JRE version 1.4.1-beta Java HotSpot(TM) Client VM
       User home directory = /home/gt126734
       Proxy Configuration: Browser Proxy Configuration
       
       
       ----------------------------------------------------
       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 properties
       t: dump thread list
       v: dump thread stack
       x: clear classloader cache
       0-5: set trace level to <n>
       ----------------------------------------------------
       java.lang.ClassFormatError: vminfo (Bad magic number)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:509)
        at
       java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:146)
        at
       sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:189)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:473)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:548)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1687)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:477)
        at sun.applet.AppletPanel.run(AppletPanel.java:290)
        at java.lang.Thread.run(Thread.java:536)


      *******************************************************************************
      ###@###.### 2002-03-07
      This problem is also seen on Linux-Redhat7.1 tested with JDK 1.4.1-b04 / NS6.2.1

            skatzsunw Steven Katz (Inactive)
            anprabha Anjana Prabhakar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: