Closed
Bug 508315
Opened 15 years ago
Closed 14 years ago
Applet on Mac Firefox hangs while loading ImageIcon or applet class
Categories
(Plugins Graveyard :: Java (Java Embedding Plugin), defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: hranavat, Assigned: smichaud)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 This may be a bug in the Java Embedded Plugin but noting it here as well: https://sourceforge.net/support/tracker.php?aid=2832144 Unable to log bug with Apple since their site is down. Platform: Mac OS X 10.4 (Power PC), 10.5 (Intel Core 2 Duo) Firefox: 3.5 Reproducible: Always Steps to Reproduce: 1. Try to show a panel in the applet with a label which contains ImageIcon. Load the ImageIcon from the network. 2. Or try loading a ResourceBundle. The ResourceBundle should be bundled with the applet. Since this is an issue with threads, you will notice errors occassionally. Actual Results: Applet does not show up and firefox hangs Expected Results: Applet should load properly without causing firefox to hang. Thread dump while loading ImageIcon: 23015 /Volumes/Firefox 1/Firefox.app/Contents/MacOS/firefox-bin -psn_0_55443457 COMMAND /Volumes/Firefox 1/Firefox.app/Contents/MacOS/firefox-bin -psn_0_55443457 Full thread dump Java HotSpot(TM) Client VM (1.5.0_19-138 mixed mode): "StackTrace Remote Thread" prio=5 tid=0x0713c0d0 nid=0x25d3400 runnable [0x00000000..0xf0c98290] "Image Fetcher 0" daemon prio=4 tid=0x07140e30 nid=0x25e1a00 runnable [0xf0f9d000..0xf0f9eb30] at com.sun.deploy.net.cookie.JEPCookieHandler.getCookie(Native Method) at com.sun.deploy.net.cookie.JEPCookieHandler.getCookieInfo(Unknown Source) at com.sun.deploy.net.cookie.DeployCookieManager.getCookieInfo(DeployCookieMan ager.java:83) - locked <0x17c1e5f8> (a java.lang.Class) at com.sun.deploy.net.cookie.DeployCookieSelector.get(DeployCookieSelector.jav a:70) - locked <0x11f721d8> (a com.sun.deploy.net.cookie.DeployCookieSelector) at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies(HttpURLConnec tion.java:475) at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection .java:428) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnectio n.java:972) - locked <0x1149ca08> (a sun.net.www.protocol.http.HttpURLConnection) at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:43) at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:296) at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:119) at sun.plugin.cache.FileCache.get(FileCache.java:136) at sun.plugin.cache.PluginCacheHandler.get(PluginCacheHandler.java:87) - locked <0x11f71d40> (a sun.plugin.cache.PluginCacheHandler) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection. java:734) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java: 707) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnectio n.java:951) - locked <0x1149b480> (a sun.net.www.protocol.http.HttpURLConnection) at sun.awt.image.URLImageSource.getDecoder(URLImageSource.java:107) at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:24 0) at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172) at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136) "StackTrace Shell 10000" prio=5 tid=0x0713bc40 nid=0x69f3e00 runnable [0xf0e9c000..0xf0e9cb30] at java.net.PlainSocketImpl.socketAccept(Native Method) at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) - locked <0x126a7e48> (a java.net.SocksSocketImpl) at java.net.ServerSocket.implAccept(ServerSocket.java:450) at java.net.ServerSocket.accept(ServerSocket.java:421) at com.adaptj.shell.ServerThread.run(Unknown Source) "AWT-EventQueue-6" prio=4 tid=0x0712c6f0 nid=0x23ee400 in Object.wait() [0xf0d99000..0xf0d9ab30] at java.lang.Object.wait(Native Method) - waiting on <0x11f08c98> (a java.awt.MediaTracker) at java.awt.MediaTracker.waitForID(MediaTracker.java:651) - locked <0x11f08c98> (a java.awt.MediaTracker) at javax.swing.ImageIcon.loadImage(ImageIcon.java:234) - locked <0x11f08c98> (a java.awt.MediaTracker) at javax.swing.ImageIcon.<init>(ImageIcon.java:165) at com.xxxx.client.upload.applet.FileName.<init>(FileName.java:36) .....company classes.................. at com.xxxxx.client.upload.applet.DragDropEventListener.drop(DragDropEventList ener.java:57) at java.awt.dnd.DropTarget.drop(DropTarget.java:430) - locked <0x126785c0> (a java.awt.dnd.DropTarget) at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContex tPeer.java:500) at sun.awt.dnd.SunDropTargetContextPeer.access$800(SunDropTargetContextPeer.ja va:53) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunD ropTargetContextPeer.java:812) - locked <0x1141e500> (a apple.awt.CDropTargetContextPeer) at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropT argetContextPeer.java:736) at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:29) at java.awt.Component.dispatchEventImpl(Component.java:3908) at java.awt.Container.dispatchEventImpl(Container.java:2068) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256) at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4007) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3861) at java.awt.Container.dispatchEventImpl(Container.java:2054) at java.awt.Component.dispatchEvent(Component.java:3885) at java.awt.EventQueue.dispatchEvent(EventQueue.java:463) at jep.MySimpleEventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) "TimerQueue" daemon prio=4 tid=0x0712bb40 nid=0x2327a00 in Object.wait() [0xf0e1b000..0xf0e1bb30] at java.lang.Object.wait(Native Method) - waiting on <0x12594118> (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:236) - locked <0x12594118> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:613) "AWT-EventQueue-1" prio=6 tid=0x07118d40 nid=0x22d7e00 in Object.wait() [0xf10a0000..0xf10a0b30] at java.lang.Object.wait(Native Method) - waiting on <0x11ed5ab0> (a jep.MySimpleEventQueue) at java.lang.Object.wait(Object.java:474) at java.awt.EventQueue.getNextEvent(EventQueue.java:345) - locked <0x11ed5ab0> (a jep.MySimpleEventQueue) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:216) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) "TimerQueue" daemon prio=5 tid=0x07116ab0 nid=0x27d2400 in Object.wait() [0xf0f1d000..0xf0f1db30] at java.lang.Object.wait(Native Method) - waiting on <0x11f829c0> (a javax.swing.TimerQueue) at javax.swing.TimerQueue.run(TimerQueue.java:236) - locked <0x11f829c0> (a javax.swing.TimerQueue) at java.lang.Thread.run(Thread.java:613) "thread applet-com.xythos.client.upload.applet.UploadApplet.class" prio=4 tid=0x07115500 nid=0x2344200 in Object.wait() [0xf0992000..0xf0992b30] at java.lang.Object.wait(Native Method) - waiting on <0x11f82bd8> (a jep.AppletFramePanel) at java.lang.Object.wait(Object.java:474) at sun.applet.AppletPanel.getNextEvent(AppletPanel.java:284) - locked <0x11f82bd8> (a jep.AppletFramePanel) at sun.applet.AppletPanel.run(AppletPanel.java:334) at jep.AppletFramePanel.run(Unknown Source) at java.lang.Thread.run(Thread.java:613) "ConsoleWriterThread" daemon prio=6 tid=0x07112450 nid=0x2631200 in Object.wait() [0xf0d19000..0xf0d19b30] at java.lang.Object.wait(Native Method) - waiting on <0x11ed5758> (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at com.sun.deploy.util.ConsoleTraceListener$ConsoleWriterThread.run(ConsoleTra ceListener.java:72) - locked <0x11ed5758> (a java.lang.Object) "AWT-EventQueue-4" prio=6 tid=0x07110b90 nid=0x2112400 in Object.wait() [0xf0b15000..0xf0b15b30] at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:474) at java.awt.EventQueue.getNextEvent(EventQueue.java:345) - locked <0x11f06fc0> (a java.awt.EventQueue) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:216) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) "traceMsgQueueThread" daemon prio=5 tid=0x071101f0 nid=0x253c600 in Object.wait() [0xf0c17000..0xf0c17b30] at java.lang.Object.wait(Native Method) - waiting on <0x11f08d90> (a java.util.ArrayList) at java.lang.Object.wait(Object.java:474) at com.sun.deploy.util.Trace$TraceMsgQueueChecker.run(Trace.java:74) - locked <0x11f08d90> (a java.util.ArrayList) at java.lang.Thread.run(Thread.java:613) "AWT-EventQueue-3" prio=6 tid=0x0710f910 nid=0x215b200 in Object.wait() [0xf0b96000..0xf0b96b30] at java.lang.Object.wait(Native Method) - waiting on <0x11f070c8> (a jep.MySimpleEventQueue) at java.lang.Object.wait(Object.java:474) at java.awt.EventQueue.getNextEvent(EventQueue.java:345) - locked <0x11f070c8> (a jep.MySimpleEventQueue) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.j ava:216) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.jav a:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) "Java2D Disposer" daemon prio=10 tid=0x0710f150 nid=0x2651000 in Object.wait() [0xf0a94000..0xf0a94b30] at java.lang.Object.wait(Native Method) - waiting on <0x11f07170> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120) - locked <0x11f07170> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136) at sun.java2d.Disposer.run(Disposer.java:125) at java.lang.Thread.run(Thread.java:613) "AWT-Shutdown" prio=5 tid=0x0710ddc0 nid=0x2608200 in Object.wait() [0xf0a13000..0xf0a13b30] at java.lang.Object.wait(Native Method) - waiting on <0x11f07200> (a java.lang.Object) at java.lang.Object.wait(Object.java:474) at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259) - locked <0x11f07200> (a java.lang.Object) at java.lang.Thread.run(Thread.java:613) "Low Memory Detector" daemon prio=5 tid=0x0710ab00 nid=0x22a8e00 runnable [0x00000000..0x00000000] "CompilerThread0" daemon prio=9 tid=0x0710a140 nid=0x2798600 waiting on condition [0x00000000..0xf080f450] "Signal Dispatcher" daemon prio=9 tid=0x07109c90 nid=0x26bce00 runnable [0x00000000..0x00000000] "Finalizer" daemon prio=8 tid=0x07109360 nid=0x2348000 in Object.wait() [0xf070d000..0xf070db30] at java.lang.Object.wait(Native Method) - waiting on <0x11ec3138> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:120) - locked <0x11ec3138> (a java.lang.ref.ReferenceQueue$Lock) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:136) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159) "Reference Handler" daemon prio=10 tid=0x07108fc0 nid=0x2228c00 in Object.wait() [0xf068c000..0xf068cb30] at java.lang.Object.wait(Native Method) - waiting on <0x11ec2f88> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:474) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <0x11ec2f88> (a java.lang.ref.Reference$Lock) "AWT-AppKit" prio=8 tid=0x07101600 nid=0xa000ed88 runnable [0xbfffd000..0xbfffe5b0] at apple.awt.CToolkit.doAWTRunLoop(Native Method) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1053) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1034) at apple.awt.CDropTargetContextPeer.flushEvents(CDropTargetContextPeer.java:50 ) "VM Thread" prio=9 tid=0x07108780 nid=0x2602200 runnable "VM Periodic Task Thread" prio=9 tid=0x0710c220 nid=0x25ff200 waiting on condition "Exception Catcher Thread" prio=10 tid=0x07101810 nid=0x205d200 runnable
Thread dump when loading resourceBundle: 2009-07-31 15:32:59.311 firefox-bin[52063:f703] "thread applet-com.xxx.client.upload.applet.UploadApplet.class" 2009-07-31 15:32:59.312 firefox-bin[52063:f703] prio=4 tid=0x17913250 2009-07-31 15:32:59.313 firefox-bin[52063:f703] nid=0x2673200 2009-07-31 15:32:59.314 firefox-bin[52063:f703] runnable 2009-07-31 15:32:59.314 firefox-bin[52063:f703] [0xb0dd3000..0xb0dd3d90] 2009-07-31 15:32:59.314 firefox-bin[52063:f703] at com.sun.deploy.net.cookie.JEPCookieHandler.getCookie(Native Method) 2009-07-31 15:32:59.315 firefox-bin[52063:f703] at com.sun.deploy.net.cookie.JEPCookieHandler.getCookieInfo(Unknown Source) 2009-07-31 15:32:59.317 firefox-bin[52063:f703] at com.sun.deploy.net.cookie.DeployCookieManager.getCookieInfo(DeployCookieManager.java:83) 2009-07-31 15:32:59.318 firefox-bin[52063:f703] - locked <0x283dd470> (a java.lang.Class) 2009-07-31 15:32:59.319 firefox-bin[52063:f703] at com.sun.deploy.net.cookie.DeployCookieSelector.get(DeployCookieSelector.java:70) 2009-07-31 15:32:59.319 firefox-bin[52063:f703] - locked <0x225f9cb0> (a com.sun.deploy.net.cookie.DeployCookieSelector) 2009-07-31 15:32:59.320 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.addRequestCookies(HttpURLConnection.java:475) 2009-07-31 15:32:59.320 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.writeRequests(HttpURLConnection.java:428) 2009-07-31 15:32:59.321 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:972) 2009-07-31 15:32:59.321 firefox-bin[52063:f703] - locked <0x22846a30> (a sun.net.www.protocol.http.HttpURLConnection) 2009-07-31 15:32:59.322 firefox-bin[52063:f703] at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:43) 2009-07-31 15:32:59.322 firefox-bin[52063:f703] at sun.plugin.cache.CachedFileLoader.download(CachedFileLoader.java:296) 2009-07-31 15:32:59.323 firefox-bin[52063:f703] at sun.plugin.cache.CachedFileLoader.load(CachedFileLoader.java:119) 2009-07-31 15:32:59.323 firefox-bin[52063:f703] at sun.plugin.cache.FileCache.get(FileCache.java:136) 2009-07-31 15:32:59.324 firefox-bin[52063:f703] at sun.plugin.cache.PluginCacheHandler.get(PluginCacheHandler.java:87) 2009-07-31 15:32:59.324 firefox-bin[52063:f703] - locked <0x22635dc8> (a sun.plugin.cache.PluginCacheHandler) 2009-07-31 15:32:59.325 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:734) 2009-07-31 15:32:59.325 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:707) 2009-07-31 15:32:59.326 firefox-bin[52063:f703] at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:951) 2009-07-31 15:32:59.326 firefox-bin[52063:f703] - locked <0x22846be8> (a sun.net.www.protocol.http.HttpURLConnection) 2009-07-31 15:32:59.326 firefox-bin[52063:f703] at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367) 2009-07-31 15:32:59.327 firefox-bin[52063:f703] at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:312) 2009-07-31 15:32:59.327 firefox-bin[52063:f703] at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:49) 2009-07-31 15:32:59.328 firefox-bin[52063:f703] at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:196) 2009-07-31 15:32:59.328 firefox-bin[52063:f703] at java.security.AccessController.doPrivileged(Native Method) 2009-07-31 15:32:59.329 firefox-bin[52063:f703] at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:186) 2009-07-31 15:32:59.329 firefox-bin[52063:f703] at java.lang.ClassLoader.loadClass(ClassLoader.java:316) 2009-07-31 15:32:59.330 firefox-bin[52063:f703] - locked <0x22690748> (a sun.plugin.security.PluginClassLoader) 2009-07-31 15:32:59.330 firefox-bin[52063:f703] at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144) 2009-07-31 15:32:59.331 firefox-bin[52063:f703] - locked <0x22690748> (a sun.plugin.security.PluginClassLoader) 2009-07-31 15:32:59.331 firefox-bin[52063:f703] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) 2009-07-31 15:32:59.332 firefox-bin[52063:f703] at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1053) 2009-07-31 15:32:59.332 firefox-bin[52063:f703] at java.util.ResourceBundle.findBundle(ResourceBundle.java:928) 2009-07-31 15:32:59.333 firefox-bin[52063:f703] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:743) 2009-07-31 15:32:59.333 firefox-bin[52063:f703] at java.util.ResourceBundle.getBundle(ResourceBundle.java:576) 2009-07-31 15:32:59.334 firefox-bin[52063:f703] at com.xxx.client.upload.applet.Messages.<init>(Messages.java:48) 2009-07-31 15:32:59.334 firefox-bin[52063:f703] at com.xxx.client.upload.applet.UploadApplet.internalStart(UploadApplet.java:299) 2009-07-31 15:32:59.335 firefox-bin[52063:f703] at com.xxx.client.upload.applet.UploadApplet.init(UploadApplet.java:134) 2009-07-31 15:32:59.335 firefox-bin[52063:f703] at sun.applet.AppletPanel.run(AppletPanel.java:380) 2009-07-31 15:32:59.335 firefox-bin[52063:f703] at jep.AppletFramePanel.run(Unknown Source) 2009-07-31 15:32:59.336 firefox-bin[52063:f703] at java.lang.Thread.run(Thread.java:613)
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → smichaud
Component: General → Java Embedding Plugin
Product: Firefox → Core
QA Contact: general → java.jep
Assignee | ||
Updated•15 years ago
|
Hardware: PowerPC → All
Assignee | ||
Comment 2•15 years ago
|
||
There's more information at https://sourceforge.net/support/tracker.php?aid=2832144 than here. Go there for this bug's current status.
Assignee | ||
Comment 3•14 years ago
|
||
I've just released a new version of the Java Embedding Plugin (0.9.7.3) that fixes this bug (by working around it). For more information see bug 551327.
Assignee | ||
Comment 4•14 years ago
|
||
JEP 0.9.7.3 has now landed on the 1.9.2 and 1.9.1 branches, and should be in tomorrow's Firefox 3.6.3pre and 3.1.10pre nightlies (at ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/).
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
Updated•8 years ago
|
Product: Plugins → Plugins Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•