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.
I have a deadlock in NetBeans at startup time. These two threads deadlock (on 0x09e08b48): "Parsing & Indexing Loop (090819)" prio=6 tid=0x010dcad0 nid=0xb03000 in Object.wait() [0xb4c9d000..0xb4c9dd90] at java.lang.Object.wait(Native Method) - waiting on <0x09e08b48> (a org.openide.util.RequestProcessor$Task) at java.lang.Object.wait(Object.java:474) at org.openide.util.Task.waitFinished(Task.java:130) - locked <0x09e08b48> (a org.openide.util.RequestProcessor$Task) "Path Registry Request Processor" daemon prio=1 tid=0x010892b0 nid=0xaa6e00 in Object.wait() [0xb489b000..0xb489bd90] at java.lang.Object.wait(Native Method) - waiting on <0x09e08b48> (a org.openide.util.RequestProcessor$Task) at java.lang.Object.wait(Object.java:474) at org.openide.util.Task.waitFinished(Task.java:130) - locked <0x09e08b48> (a org.openide.util.RequestProcessor$Task) I've attached the threaddump and the two projects to (hopefully) reproduce this issue on your box.
Created attachment 86467 [details] Scala Project, clean
Created attachment 86468 [details] Scala Editor Module (scala.editor as of today) from contrib, clean
Created attachment 86469 [details] NB Threaddump for Client VM (1.5.0_19-137) on Mac OSX 10.5.8
NB info from user: "The build is trunk from 3 hours ago. Checkout of main and then ant clean && ant."
I can reproduce it as well - starting from fresh userdir and opening j2se project
>indexing
This is kind of similar to issue #168734. The problem is that code that runs as part of the project opening calls ParserManager.parse() (I'm not sure if this is actually legal to do), which blocks if scan is running. And the scan waits for projects to open.
Fixed in jet-main: 2143554a0189