Date: Wed, 5 Jun 2002 09:40:37 -0500 From: Bruce_Albrecht@bluecrossmn.com To: java@freebsd.org Subject: Java VM dies in Mozilla Message-ID: <OFEF39BEC9.FAD3D7AF-ON86256BCF.0050217F@bcbsmn.com>
next in thread | raw e-mail | index | archive | help
I'm running Mozilla 1.0RC3 with JDK-1.3.1p6 on FreeBSD 4.6, and when I try to bring up Lotus notes, its applet dies with the following error. FWIW, linux netscape and mozilla also die when trying to run this applet, but they're both dying with a Hotspot error that I believe has been already discussed in the mailing list. FATAL ERROR in native method: Native code expects wrong return type from Java callback at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native Method) at sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java:167) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:1160) at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java:316) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:135) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:51) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:72) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462) at sun.misc.URLClassPath$2.run(URLClassPath.java:258) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:247) at sun.misc.URLClassPath.getLoader(URLClassPath.java:224) at sun.misc.URLClassPath.getResource(URLClassPath.java:137) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:128) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:252) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373) at sun.applet.AppletPanel.createApplet(AppletPanel.java:579) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1178) at sun.applet.AppletPanel.runLoader(AppletPanel.java:515) at sun.applet.AppletPanel.run(AppletPanel.java:293) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484) SIGABRT 6* abort (generated by abort(3) routine) Full thread dump Classic VM (1.3.1-p6-root-020414-17:52, green threads): "Thread-5" (TID:0x28e8f618, sys_thread_t:0x85f4a80, state:R) prio=4 at sun.plugin.protocol.https.BrowserHttpsInputStream.readStream(Native Method) at sun.plugin.protocol.https.BrowserHttpsInputStream.read(BrowserHttpsInputStream.java:167) at java.io.BufferedInputStream.fill(BufferedInputStream.java:186) at java.io.BufferedInputStream.read(BufferedInputStream.java:204) at java.net.URLConnection.guessContentTypeFromStream(URLConnection.java:1160) at sun.plugin.protocol.https.BrowserHttpsURLConnection.getInputStream(BrowserHttpsURLConnection.java:316) at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:135) at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:43) at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:51) at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:88) at sun.net.www.protocol.jar.JarURLConnection.getJarFile(JarURLConnection.java:72) at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:500) at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:462) at sun.misc.URLClassPath$2.run(URLClassPath.java:258) at java.security.AccessController.doPrivileged(Native Method) at sun.misc.URLClassPath.getLoader(URLClassPath.java:247) at sun.misc.URLClassPath.getLoader(URLClassPath.java:224) at sun.misc.URLClassPath.getResource(URLClassPath.java:137) at java.net.URLClassLoader$1.run(URLClassLoader.java:192) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:128) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:252) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373) at sun.applet.AppletPanel.createApplet(AppletPanel.java:579) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1178) at sun.applet.AppletPanel.runLoader(AppletPanel.java:515) at sun.applet.AppletPanel.run(AppletPanel.java:293) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484) "Screen Updater" (TID:0x28e92e30, sys_thread_t:0x85e4e80, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.awt.ScreenUpdater.nextEntry(ScreenUpdater.java:76) at sun.awt.ScreenUpdater.run(ScreenUpdater.java:95) "thread applet-lotus.notes.apps.actionbar.ActionBar.class" (TID:0x28e93b80, sys_thread_t:0x85e4a80, state:CW) prio=4 at java.lang.Object.wait(Native Method) at java.lang.Thread.join(Thread.java:930) at java.lang.Thread.join(Thread.java:983) at sun.applet.AppletPanel.run(AppletPanel.java:328) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-1" (TID:0x28e937a8, sys_thread_t:0x85e4680, state:CW) prio=4 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.awt.PostEventQueue.run(SunToolkit.java:491) "AWT-EventQueue-1" (TID:0x28e93758, sys_thread_t:0x85e4480, state:CW) prio=4 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.awt.EventQueue.getNextEvent(EventQueue.java:260) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Thread-3" (TID:0x28e9c048, sys_thread_t:0x8584480, state:CW) prio=5 at sun.plugin.navig.motif.AThread.handleRequest(Native Method) at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:44) at sun.plugin.navig.motif.AThread.run(AThread.java:36) "Thread-2" (TID:0x28e9c718, sys_thread_t:0x8584080, state:CW) prio=5 at java.lang.Thread.sleep(Native Method) at sun.plugin.navig.motif.Plugin$Watcher.run(Plugin.java:519) "TimerQueue" (TID:0x28e9d300, sys_thread_t:0x8301c80, state:CW) prio=5 at java.lang.Object.wait(Native Method) at javax.swing.TimerQueue.run(TimerQueue.java:233) at java.lang.Thread.run(Thread.java:484) "AWT-Motif" (TID:0x28ea6ca0, sys_thread_t:0x8432a80, state:CW) prio=6 at sun.awt.motif.MToolkit.run(Native Method) at java.lang.Thread.run(Thread.java:484) "SunToolkit.PostEventQueue-0" (TID:0x28ea70f8, sys_thread_t:0x8412080, state:CW) prio=6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at sun.awt.PostEventQueue.run(SunToolkit.java:491) "AWT-EventQueue-0" (TID:0x28ea7098, sys_thread_t:0x83f1e80, state:CW) prio=6 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.awt.EventQueue.getNextEvent(EventQueue.java:260) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:106) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) "Thread-1" (TID:0x28e899b8, sys_thread_t:0x818ee80, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.java:144) at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195) "Thread-0" (TID:0x28e89a40, sys_thread_t:0x818ec80, state:CW) prio=5 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at com.sun.media.sound.EventDispatcher.dispatchEvents(EventDispatcher.java:144) at com.sun.media.sound.EventDispatcher.run(EventDispatcher.java:195) "Finalizer" (TID:0x28e7b528, sys_thread_t:0x80d7280, state:CW) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:108) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:123) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:162) "Reference Handler" (TID:0x28e7b300, sys_thread_t:0x809a680, state:CW) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:420) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110) "Signal dispatcher" (TID:0x28e7b330, sys_thread_t:0x809a480, state:CW) prio=5 "main" (TID:0x28e7b1b0, sys_thread_t:0x8054080, state:CW) prio=5 at java.io.FileInputStream.read(Native Method) at java.io.DataInputStream.readInt(DataInputStream.java:338) at sun.plugin.navig.motif.Plugin.doit(Plugin.java:184) at sun.plugin.navig.motif.Plugin.start(Plugin.java:101) Monitor Cache Dump: java.awt.EventQueue@28E936D0/28FDA760: <unowned> Waiting to be notified: "AWT-EventQueue-1" (0x85e4480) javax.swing.TimerQueue@28E9D2F8/28F75A08: <unowned> Waiting to be notified: "TimerQueue" (0x8301c80) com.sun.media.sound.EventDispatcher@28E899B8/28EEAED0: <unowned> Waiting to be notified: "Thread-1" (0x818ee80) sun.awt.ScreenUpdater@28E92E30/28FE99F0: <unowned> Waiting to be notified: "Screen Updater" (0x85e4e80) java.lang.ref.ReferenceQueue$Lock@28E7B540/28EB1478: <unowned> Waiting to be notified: "Finalizer" (0x80d7280) java.lang.Thread@28E8F618/28FF7760: <unowned> Waiting to be notified: "thread applet-lotus.notes.apps.actionbar.ActionBar.class" (0x85e4a80) com.sun.media.sound.EventDispatcher@28E89A40/28EEAC28: <unowned> Waiting to be notified: "Thread-0" (0x818ec80) sun.plugin.security.PluginClassLoader@28E98D40/28FB6EC8: owner "Thread-5" (0x85f4a80) 2 entries java.awt.EventQueue@28EA72B0/28F24F78: <unowned> Waiting to be notified: "AWT-EventQueue-0" (0x83f1e80) sun.plugin.protocol.https.BrowserHttpsInputStream@28E8CA78/290005E0: owner "Thread-5" (0x85f4a80) 1 entry java.lang.ref.Reference$Lock@28E7B310/28EB0F98: <unowned> Waiting to be notified: "Reference Handler" (0x809a680) sun.awt.PostEventQueue@28E937A8/28FDA980: <unowned> Waiting to be notified: "SunToolkit.PostEventQueue-1" (0x85e4680) java.io.BufferedInputStream@28E8CA58/29000530: owner "Thread-5" (0x85f4a80) 1 entry sun.misc.URLClassPath@28E96FE0/28FD7738: owner "Thread-5" (0x85f4a80) 1 entry sun.awt.PostEventQueue@28EA70F8/28F25668: <unowned> Waiting to be notified: "SunToolkit.PostEventQueue-0" (0x8412080) Registered Monitor Dump: utf8 hash table: <unowned> JNI pinning lock: <unowned> JNI global reference lock: <unowned> BinClass lock: <unowned> Class linking lock: <unowned> System class loader lock: <unowned> Code rewrite lock: <unowned> Heap lock: <unowned> Monitor cache lock: owner "Thread-5" (0x85f4a80) 1 entry Dynamic loading lock: <unowned> Monitor IO lock: <unowned> User signal monitor: <unowned> Waiting to be notified: "Signal dispatcher" (0x809a480) Child death monitor: <unowned> I/O monitor: <unowned> Waiting to be notified: "AWT-Motif" (0x8432a80) Alarm monitor: <unowned> Waiting to be notified: <unknown thread> (0x8054280) Thread queue lock: owner "Thread-5" (0x85f4a80) 1 entry Monitor registry: owner "Thread-5" (0x85f4a80) 1 entry INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt System error?:: Undefined error: 0 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?OFEF39BEC9.FAD3D7AF-ON86256BCF.0050217F>