This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 40485 - IDE hangs when expanding EJB Module after it was deployed.
Summary: IDE hangs when expanding EJB Module after it was deployed.
Status: VERIFIED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Execution (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2004-02-25 18:37 UTC by Michael Ottati
Modified: 2008-12-22 19:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ottati 2004-02-25 18:37:12 UTC
Below line comes from BugBridge:

The actual CVS tag that this bug is referent to is "release351A".

------------------------ Auto generated info follows ------------------


Description: 
Arrow Build 14, Win XP
-Was running an IDE for about 8hrs;
-Selected an application containing EJB Module, Web Module and Web Services 
Lark (which was represented inside J2EE Application as EJB Module and Web 
Service, so totally I had 2 EJB Modules and 2 Web Modules within Application) 
and chosen popup menu > Deploy;  S1AS was set as Default Application Server.
-I deployed this Application 5 times in a row;
-After that selected this Application and chosen popup menu > Export 
Application EAR file;
-Selected this EAR file and chosen popup menu > Extract EAR file;
-Selected the same EAR file and chosen popup menu > Deploy;
-After that selected an EJB Module in another filesystem and chosen popup menu 
> Deploy.  Deployed 2 times to S1AS.  Deploy was OK.
-Selected the same EJB Module and attempted to expand it and IDE hangs. Below 
is the full thread dump and I also attached the log file generated by Crash 
Wizard after I restarted an IDE.
  Full thread dump Java HotSpot(TM) Client VM (1.4.1_06-b01 mixed mode):

"Thread-3" daemon prio=7 tid=0x180707C8 nid=0xd0c runnable [18edf000..18edfd8c]
	at sun.awt.windows.WToolkit.shutdown(Native Method)
	at sun.awt.windows.WToolkit.access$100(WToolkit.java:67)
	at sun.awt.windows.WToolkit$3.run(WToolkit.java:242)
	at java.lang.Thread.run(Thread.java:536)

"Thread-2" prio=5 tid=0x19A1ACB8 nid=0xec0 waiting on condition 
[18ddf000..18ddfd8c]
	at java.lang.Thread.sleep(Native Method)
	at org.netbeans.core.TopLogging.threadDump(TopLogging.java:412)
	at org.netbeans.core.TopLogging$1.run(TopLogging.java:132)

"SIGTERM handler" daemon prio=10 tid=0x19A2C788 nid=0xf6c in Object.wait() 
[187df000..187dfd8c]
	at java.lang.Object.wait(Native Method)
	- waiting on <03E3A2E8> (a org.netbeans.core.TopLogging$1)
	at java.lang.Thread.join(Thread.java:1008)
	- locked <03E3A2E8> (a org.netbeans.core.TopLogging$1)
	at java.lang.Thread.join(Thread.java:1061)
	at java.lang.Shutdown.runHooks(Shutdown.java:130)
	at java.lang.Shutdown.sequence(Shutdown.java:165)
	at java.lang.Shutdown.exit(Shutdown.java:210)
	- locked <12571190> (a java.lang.Class)
	at java.lang.Terminator$1.handle(Terminator.java:35)
	at sun.misc.Signal$1.run(Signal.java:195)
	at java.lang.Thread.run(Thread.java:536)

"exec_server1 (localhost:8080)_14" daemon prio=2 tid=0x18071DC8 nid=0xdf4 
sleeping[18bdf000..18bdfd8c]
	at org.netbeans.core.execution.TaskThreadGroup.isProcessDead
(TaskThreadGroup.java:105)
	at org.netbeans.core.execution.TaskThreadGroup.waitFor
(TaskThreadGroup.java:113)
	- locked <072295E8> (a java.lang.Object)
	at org.netbeans.core.execution.DefaultSysProcess.result
(DefaultSysProcess.java:71)
	at org.netbeans.core.execution.RunClassThread.run
(RunClassThread.java:124)

"Inactive RequestProcessor thread" daemon prio=2 tid=0x1971BF68 nid=0x694 in 
Object.wait() [17cdf000..17cdfd8c]
	at java.lang.Object.wait(Native Method)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:644)
	- locked <071C50A8> (a java.lang.Object)

"Compilation" daemon prio=2 tid=0x17B68288 nid=0xcbc in Object.wait() 
[190df000..190dfd8c]
	at java.lang.Object.wait(Native Method)
	- waiting on <04DA0658> (a java.util.LinkedList)
	at java.lang.Object.wait(Object.java:426)
	at 
org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.nextJobAndTask
(CompilationEngineImpl.java:162)
	- locked <04DA0658> (a java.util.LinkedList)
	at org.netbeans.core.compiler.CompilationEngineImpl$CompilerThread.run
(CompilationEngineImpl.java:175)

"OpenFile Server" daemon prio=2 tid=0x17924300 nid=0xce0 runnable 
[189df000..189dfd8c]
	at java.net.PlainDatagramSocketImpl.peekData(Native Method)
	- locked <04F2DDF8> (a java.net.PlainDatagramSocketImpl)
	at java.net.DatagramSocket.receive(DatagramSocket.java:631)
	- locked <04F2DE48> (a java.net.DatagramPacket)
	- locked <04F27568> (a java.net.DatagramSocket)
	at org.netbeans.modules.openfile.Server.run(Server.java:138)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run
(RequestProcessor.java:328)
	at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:670)

"TimerQueue" daemon prio=5 tid=0x17DD5800 nid=0x804 in Object.wait() 
[186df000..186dfd8c]
	at java.lang.Object.wait(Native Method)
	at javax.swing.TimerQueue.run(TimerQueue.java:231)
	- locked <04159EF8> (a javax.swing.TimerQueue)
	at java.lang.Thread.run(Thread.java:536)

"Thread-4" prio=5 tid=0x17DD5970 nid=0xc6c waiting on condition 
[185df000..185dfd8c]
	at java.lang.Thread.sleep(Native Method)
	at com.sun.ffj.modules.licensemgr.LMsnCheck.sleepForSomeDays
(LMsnCheck.java:181)
	at com.sun.ffj.modules.licensemgr.LMsnCheck.run(LMsnCheck.java:112)

"AWT-EventQueue-0" prio=7 tid=0x16E3CF30 nid=0xcd0 waiting for monitor entry 
[1774f000..1774fd8c]
	at org.netbeans.core.execution.TaskThreadGroup.kill
(TaskThreadGroup.java:134)
	- waiting to lock <072295E8> (a java.lang.Object)
	at org.netbeans.core.execution.DefaultSysProcess.stop
(DefaultSysProcess.java:60)
	- locked <072295F0> (a org.netbeans.core.execution.DefaultSysProcess)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean.updateNetBeansProcessList
(ServerInstanceBean.java:1071)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean$1.actionPerformed
(ServerInstanceBean.java:675)
	at javax.swing.Timer.fireActionPerformed(Timer.java:271)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
"AWT-EventQueue-0" prio=7 tid=0x16E3CF30 nid=0xcd0 waiting for monitor entry 
[1774f000..1774fd8c]
	at org.netbeans.core.execution.TaskThreadGroup.kill
(TaskThreadGroup.java:134)
	- waiting to lock <072295E8> (a java.lang.Object)
	at org.netbeans.core.execution.DefaultSysProcess.stop
(DefaultSysProcess.java:60)
	- locked <072295F0> (a org.netbeans.core.execution.DefaultSysProcess)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean.updateNetBeansProcessList
(ServerInstanceBean.java:1071)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean$1.actionPerformed
(ServerInstanceBean.java:675)
	at javax.swing.Timer.fireActionPerformed(Timer.java:271)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
"AWT-EventQueue-0" prio=7 tid=0x16E3CF30 nid=0xcd0 waiting for monitor entry 
[1774f000..1774fd8c]
	at org.netbeans.core.execution.TaskThreadGroup.kill
(TaskThreadGroup.java:134)
	- waiting to lock <072295E8> (a java.lang.Object)
	at org.netbeans.core.execution.DefaultSysProcess.stop
(DefaultSysProcess.java:60)
	- locked <072295F0> (a org.netbeans.core.execution.DefaultSysProcess)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean.updateNetBeansProcessList
(ServerInstanceBean.java:1071)
	at 
com.iplanet.ias.tools.forte.server.ServerInstanceBean$1.actionPerformed
(ServerInstanceBean.java:675)
	at javax.swing.Timer.fireActionPerformed(Timer.java:271)
	at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:197)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:150)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:144)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:136)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

"Java2D Disposer" daemon prio=10 tid=0x16E1DE58 nid=0xc80 in Object.wait() 
[1764f000..1764fd8c]
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
	- locked <03E4E510> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
	at sun.java2d.Disposer.run(Disposer.java:99)
	at java.lang.Thread.run(Thread.java:536)

"AWT-Windows" daemon prio=7 tid=0x16E1A3D0 nid=0xccc runnable 
[1744f000..1744fd8c]
	at sun.awt.windows.WToolkit.eventLoop(Native Method)
	at sun.awt.windows.WToolkit.run(WToolkit.java:253)
	at java.lang.Thread.run(Thread.java:536)

"AWT-Shutdown" prio=5 tid=0x16E19FC8 nid=0xcc4 in Object.wait() 
[1734f000..1734fd8c]
	at java.lang.Object.wait(Native Method)
	- waiting on <03E4E610> (a java.lang.Object)
	at java.lang.Object.wait(Object.java:426)
	at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:259)
	- locked <03E4E610> (a java.lang.Object)
	at java.lang.Thread.run(Thread.java:536)

"Active Reference Queue Daemon" daemon prio=2 tid=0x16D77F28 nid=0xcc8 in 
Object.wait() [171df000..171dfd8c]
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
	- locked <03E4E680> (a java.lang.ref.ReferenceQueue$Lock)
	at org.openide.util.Utilities$ActiveQueue.run(Utilities.java:2420)
	at java.lang.Thread.run(Thread.java:536)

"Thread-1" daemon prio=5 tid=0x16D67910 nid=0x63c in Object.wait() 
[170df000..170dfd8c]
	at java.lang.Object.wait(Native Method)
	- waiting on <03E33F18> (a java.util.TaskQueue)
	at java.util.TimerThread.mainLoop(Timer.java:429)
	- locked <03E33F18> (a java.util.TaskQueue)
	at java.util.TimerThread.run(Timer.java:382)

"Signal Dispatcher" daemon prio=10 tid=0x00A486B0 nid=0xcac waiting on 
condition [0..16bdfd78]

"Finalizer" daemon prio=9 tid=0x008FEC50 nid=0xca8 in Object.wait() 
[168df000..168dfd8c]
	at java.lang.Object.wait(Native Method)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:111)
	- locked <03E340B8> (a java.lang.ref.ReferenceQueue$Lock)
	at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
	at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=10 tid=0x00A45820 nid=0x544 in Object.wait() 
[167df000..167dfd8c]
	at java.lang.Object.wait(Native Method)
	at java.lang.Object.wait(Object.java:426)
	at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:113)
	- locked <03E33F78> (a java.lang.ref.Reference$Lock)

"main" prio=5 tid=0x008F5060 nid=0xc8c waiting on condition [0..12d12c]

"VM Thread" prio=5 tid=0x008FD790 nid=0xc7c runnable 

"VM Periodic Task Thread" prio=10 tid=0x00A473A0 nid=0xca4 waiting on 
condition 
"Suspend Checker Thread" prio=10 tid=0x00A47C60 nid=0xcb0 runnable 
Finished thread dump.


 

A comment.
Comment 1 Petr Nejedly 2004-02-26 10:25:59 UTC
First of all, the thread dump is broken (3xAWT?)
Second, there is no Crash wizard log file
Third, if I read correctly between the thread dump lines,  it seems
like you're using unsupported JDK functionality (signals) and it
influences the thread dump heavily (or is the thread dump below output
of the crash wizard instead of normal thread dump?)

All I can say about the TD is that I don't know why is exec_server1
thread sleeping. If it was not sleeping, the isProcessDead would
quickly finish, waitFor would release the lock and AWT would run as usual.
Comment 2 Marian Mirilovic 2004-03-12 09:12:37 UTC
agreed - verified