Closed Bug 195124 Opened 22 years ago Closed 22 years ago

Applet interferes with Mozilla events

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows 2000
defect
Not set
major

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: mkaply, Assigned: joshua.xia)

References

()

Details

(Whiteboard: [adt2] Java1)

If you go to the references website http://www.kaply.com/work/backwards/ And follow the instructions, you put Mozilla in a state where events don't work anymore. When you type on the URL bar, you type backwards. Menus don't work. and when you close the browser, it crashes. The problem seems to be related to the second applet being scriptable but only "half starting" I don't even know where to begin to look at this. I do not have the source to the second applet, but I will try to obtain it. I'm hoping it's just something broke in Mozilla.
Confirming bug using Mozilla trunk build 2003021808 on WinNT. Using Java Plug-in: Version 1.4.1 When I load the site, I see these errors in the Java Console. My CPU goes to 100% and the strange event behavior begins. java.util.zip.ZipException: ZIP file must have at least one entry at java.util.zip.ZipOutputStream.finish(ZipOutputStream.java:293) at java.util.zip.DeflaterOutputStream.close(DeflaterOutputStream.java:141) at java.util.zip.ZipOutputStream.close(ZipOutputStream.java:312) at sun.plugin.cache.CachedJarLoader.decompress(CachedJarLoader.java:432) at sun.plugin.cache.CachedJarLoader.access$500(CachedJarLoader.java:53) at sun.plugin.cache.CachedJarLoader$5.run(CachedJarLoader.java:335) at java.security.AccessController.doPrivileged(Native Method) at sun.plugin.cache.Cache.privileged(Cache.java:219) at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:320) at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:128) at sun.plugin.cache.JarCache.get(JarCache.java:172) atsun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:93) atsun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541) at sun.misc.URLClassPath$3.run(URLClassPath.java:319) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:308) at sun.misc.URLClassPath.getLoader(URLClassPath.java:285) at sun.misc.URLClassPath.getResource(URLClassPath.java:155) at java.net.URLClassLoader$1.run(URLClassLoader.java:190) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501) at sun.applet.AppletPanel.createApplet(AppletPanel.java:566) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775) at sun.applet.AppletPanel.runLoader(AppletPanel.java:495) at sun.applet.AppletPanel.run(AppletPanel.java:292) at java.lang.Thread.run(Thread.java:536) java.lang.ClassFormatError: LiveConnect (Bad magic number) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:502) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:148) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501) at sun.applet.AppletPanel.createApplet(AppletPanel.java:566) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775) at sun.applet.AppletPanel.runLoader(AppletPanel.java:495) at sun.applet.AppletPanel.run(AppletPanel.java:292) at java.lang.Thread.run(Thread.java:536) Reassigning to OJI - Here is a list of OJI bugs mentioning 'init' in the title. Maybe one of them is relevant here - (?) bug 100196 plug-in doesn't initialise properly bug 115998 onLoad event should fire after applet's init method bug 119243 Java error during applet initialization bug 149451 Microsoft Remote Scripting not initializing bug 152639 Applet hangs when JavaScript -> Java call made during init method bug 161069 Java applet not initialized bug 175348 JSJ_InitJSContext got called multiple times during start up bug 188552 applet cannot be initialized: unrecognized security certificate bug 193359 applet loads, inits, appears, then a JS error appears
Assignee: rogerl → joshua.xia
Component: Live Connect → OJI
QA Contact: pschwartau → dsirnapalli
Summary: Liveconnected plugin interferes with Mozilla events → Applet interferes with Mozilla events
reproduce on win2k
Status: NEW → ASSIGNED
-- I am able to reproduce the bug on latest trunk build on WinXP with JRE1.4.1_02.
Whiteboard: Java1
Need to get some traction on this bug.
Keywords: nsbeta1
Again this bug is a duplicate of 198166 & 197759. They are all calling javascript method in the applet "init" method and it results its hung. We don't have immediate solution for this. The workaround is to call liveconnect in applet's start method. See other bug for reason.
adt: nsbeta1+/adt2
Keywords: nsbeta1nsbeta1+
Whiteboard: Java1 → [adt2] Java1
-- Based on comment #5 marking INVALID as there is no immediate solution for this.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
-- Marking VERIFIED.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.