Closed Bug 119243 Opened 23 years ago Closed 21 years ago

Java error during applet initialization

Categories

(Core Graveyard :: Java: OJI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: david, Assigned: joshua.xia)

References

()

Details

(Whiteboard: IBM, Java1)

This occurs with 130 and 131 of the IBM JVM. Other people report this
problem on win32 and linux. Problem occurs on 0.9.4 - 0.9.7 builds.

This works on Netscape 4.79 using the 131 JVM.

Stack trace follows:

java.lang.ClassFormatError: mortgage (Illegal constant pool index)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:496)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:117)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
        at java.net.URLClassLoader.access$300(URLClassLoader.java:69)
        at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:544)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:203)
        at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:132)
        at
sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:259)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:325)
        at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:257)
        at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:370)
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:583)
        at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1183)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java(Compiled Code))
        at sun.applet.AppletPanel.run(AppletPanel.java(Compiled Code))
        at
sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
        at
sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123)
->OJI
Assignee: idk → joe.chou
Component: Java-Implemented Plugins → OJI
QA Contact: avm → pmac
Reporter, is this still occurring in Mozilla 1.0 and the latest IBM JVM?
Yes. This is still broken using the latest version of Java130.rte.bin:1.3.0.5.
Yes. This is still broken using the latest version of Java130.rte.bin:1.3.0.5
with mozilla 1.0.
jre 1.4 gives following error on win2k:
java.lang.VerifyError: (class: j, method: Á signature: (Ljava/lang/String;)[B)
Illegal use of nonvirtual function call

	at mortgage.init(
WARNING: Decompiling this code may violate your licensing agreement


tech evang ?
QA Contact: pmac → petersen
So how about it?
This applet does *not* run for me on Mozilla 1.2b, Netscape 4.8 AND IE5.
Using "Java Plug-in 1.4.0_01 for Netscape Navigator (DLL Helper)" from Sun.
Maybe the applet is not as good as it should be...
The applet fails to run for me with Mozilla 1.2 beta, 2002110208, Windows 98,
and Sun Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01)
Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode). 

The applet does run with fully patched IE 6 & MS VM on the same machine.

All/all. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: AIX → All
reassign to me
Assignee: joe.chou → joshua.xia
Whiteboard: IBM
by using appletviewer to view this applet, the same exception happen. I used Sun
jre1.4.1_01 and today 's trunk to test, exception happened

If IE+Sun JVM, the same exception happen.

Is the Sun JVM and IBM JVM uncompatible with MS JVM?
As far as I know, the Sun VM and the Microsoft VM are incompatible. Maybe the
applet is just written for the Microsoft VM?
-- Verified on latest trunk build on Win2K with JRE1.4.2_Beta. I am getting the
following exceptions.

java.lang.VerifyError: (class: j, method: Á signature: (Ljava/lang/String;)[B)
Illegal use of nonvirtual function call

at mortgage.init(
WARNING: Decompiling this code may violate your licensing agreement
)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Need traction on this bug.
QA Contact: cpetersen0953 → dsirnapalli
Whiteboard: IBM → IBM, Java1
The following exception also happened when use appletviewer 
appletviewer.exe http://www.ewmortgage.com/mortgage/

java.lang.ClassFormatError: mortgage (Local variable name has bad constant pool
index)

So this is neither OJI nor Java Plugin 's bug
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.