#63 OpenJNLP GUI will freeze sometimes

closed-wont-fix
6
2002-06-25
2002-05-12
No

Sometimes when selecting through the list of apps, the user interface will freeze for a period of time and then come back just fine. This is noticeable on Mac OS X as seeing the spinning beach ball, which indicates a thread deadlock.

The thread dump from a frozen state follows:

Full thread dump:

"Keep-Alive-Timer:www.JohnMunsch.com" daemon prio=8 tid=0x4761170 nid=0x40edda0 waiting on monitor [0x5160000..0x5160b48]
at java.lang.Thread.sleep(Native Method)
at sun.net.www.http.ClientVector.run(KeepAliveCache.java:216)
at java.lang.Thread.run(Thread.java:496)

"TimerQueue" daemon prio=5 tid=0x2bdc580 nid=0x3ee6c20 waiting on monitor [0x3fa0000..0x3fa0b48]
at java.lang.Object.wait(Native Method)
at javax.swing.TimerQueue.run(TimerQueue.java:233)
at java.lang.Thread.run(Thread.java:496)

"Thread-7" daemon prio=5 tid=0x2be0310 nid=0x3c59060 waiting on monitor [0x41d2000..0x41d2b48]
at java.lang.Object.wait(Native Method)
at java.io.PipedInputStream.read(PipedInputStream.java:232)
at org.nanode.app.openjnlp.desktop.Console$Streamer.readline(Unknown Source)
at org.nanode.app.openjnlp.desktop.Console$Streamer.run(Unknown Source)
at java.lang.Thread.run(Thread.java:496)

"Thread-4" prio=5 tid=0x2bdbf80 nid=0x3c41230 waiting on monitor [0x2f2c000..0x2f2cb48]
at java.lang.Thread.sleep(Native Method)
at org.nanode.app.openjnlp.desktop.LaunchDialog$Updater.run(Unknown Source)
at java.lang.Thread.run(Thread.java:496)

"Screen Updater" prio=5 tid=0x2bca510 nid=0x2b2a620 waiting on monitor [0x30a7000..0x30a7b48]
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)

"TimerThread" prio=5 tid=0x2bc9d50 nid=0x2b2a3c0 waiting on monitor [0x3026000..0x3026b48]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at sun.misc.TimerThread.run(Timer.java:362)

"SunToolkit.PostEventQueue-0" prio=6 tid=0xc6700 nid=0x2b0ce90 waiting on monitor [0x2e12000..0x2e12b48]
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" prio=6 tid=0xc6090 nid=0x2b0cc30 runnable [0x2d90000..0x2d91b48]
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)
at java.net.Socket.<init>(Socket.java:273)
at java.net.Socket.<init>(Socket.java:100)
at sun.net.NetworkClient.doConnect(NetworkClient.java:50)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)
at sun.net.www.http.HttpClient.New(HttpClient.java:289)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:408)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:501)
at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:817)
at java.net.HttpURLConnection.getHeaderFieldDate(HttpURLConnection.java:270)
at java.net.URLConnection.getLastModified(URLConnection.java:424)
at org.nanode.launcher.cache.CachedResource.getRemoteLastModified(Unknown Source)
at org.nanode.launcher.cache.CachedResource.update(Unknown Source)
at org.nanode.launcher.cache.FileCacheEntry$FileCachedResource.update(Unknown Source)
at org.nanode.launcher.cache.FileCacheEntry.getResource(Unknown Source)
at org.nanode.jnlp.JNLPParser$CachedJNLPParser.openInputStream(Unknown Source)
at org.nanode.jnlp.JNLPParser.parse(Unknown Source)
at org.nanode.jnlp.JNLPParser$CachedJNLPParser.parse(Unknown Source)
at org.nanode.jnlp.JNLPParser.getEntryDescriptor(Unknown Source)
at org.nanode.app.openjnlp.desktop.DetailFrame$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)

"Native Carbon Event Thread" daemon prio=5 tid=0x9da50 nid=0x150d0 waiting on monitor [0x132e000..0x132fc30]
at java.lang.Object.wait(Native Method)
at com.apple.mrj.internal.awt.publicpeers.VToolkit.postAndHandleEvent(VToolkit.java:1014)
at com.apple.mrj.internal.awt.basepeers.EventHandlingComponentPeer.postAndHandleEvent(EventHandlingComponentPeer.java:1166)
at com.apple.mrj.internal.awt.basepeers.EventHandlingComponentPeer.postAndHandleEvent(EventHandlingComponentPeer.java:1155)
at com.apple.mrj.internal.awt.basepeers.EventHandlingComponentPeer.pumaWorkaroundPostEvent(EventHandlingComponentPeer.java:925)
at com.apple.mrj.internal.awt.basepeers.EventHandlingComponentPeer.mousePressed(EventHandlingComponentPeer.java:676)
at com.apple.mrj.internal.awt.frames.SimpleFramePeer.handleClick(SimpleFramePeer.java:1744)
at com.apple.mrj.internal.awt.framehosts.CarbonWindowFrameHost.handleClick(CarbonWindowFrameHost.java:1092)
at com.apple.mrj.internal.awt.framehosts.CarbonWindowFrameHost.handleClickContentRgn(CarbonWindowFrameHost.java:1052)
at com.apple.buckyball.app.WindowEventHandler.handleEvent(WindowEventHandler.java:99)
at com.apple.buckyball.app.EventHandler$Adapter.EventHandler(EventHandler.java:248)

"Signal Dispatcher" daemon prio=10 tid=0x9aac0 nid=0x14380 waiting on monitor [0..0]

"Finalizer" daemon prio=8 tid=0x976b0 nid=0xed70 waiting on monitor [0x1092000..0x1092b48]
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" daemon prio=10 tid=0x96ae0 nid=0xe100 waiting on monitor [0x1011000..0x1011b48]
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)

"main" prio=5 tid=0x8e000 nid=0x800013b8 waiting on monitor [0xbffff000..0xbffffab0]
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at org.nanode.app.openjnlp.desktop.MasterFrame.run(Unknown Source)
at org.nanode.app.openjnlp.desktop.Gooey$SwingGooey.run(Unknown Source)
at org.nanode.app.openjnlp.desktop.Gooey.go(Unknown Source)
at org.nanode.app.openjnlp.DefaultAppHandler.handleOpenApplication(Unknown Source)
at org.nanode.app.openjnlp.MacOSAppHandler.handleOpenApplication(Unknown Source)
at org.nanode.app.OpenJNLP.main(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at com.apple.buckyball.app.LaunchRunner.run(LaunchRunner.java:82)
at com.apple.buckyball.app.LaunchRunner.callMain(LaunchRunner.java:44)
at com.apple.buckyball.app.CarbonLibApp.launch(CarbonLibApp.java:67)

"VM Thread" prio=5 tid=0x95a90 nid=0xde00 runnable

"VM Periodic Task Thread" prio=10 tid=0x9a1f0 nid=0x14120 waiting on monitor

Discussion

  • Kevin Herrboldt

    Kevin Herrboldt - 2002-06-25

    Logged In: YES
    user_id=6750

    This seems to be an issue with network timeout when accessing remote resources. This will require major reworking of how remote resources are retrieved and will be considered as part of evolution of future versions of OpenJNLP but not tackled as a bug fix.

     
  • Kevin Herrboldt

    Kevin Herrboldt - 2002-06-25
    • assigned_to: nobody --> kherr
    • status: open --> closed-wont-fix
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks