NetBeans build 080313, JDK 1.6.0_10-b13-fastdebug, Linux (Ubuntu 7.10), quad-core Intel PC
When opening a very simple J2SE project during startup, a livelock occurred. The status bar displays "Collecting Project
Dependencies..." but the corresponding progress bar does not move. It seems that thread "Java Source Worker Thread" is
busy doing a never-ending task. See the attached thread-dump for more detailed information. Below are the top frames
from the suspicious thread. See the attachment (full thread-dump generated by jstack) for more information about this
thread and other threads.
"Java Source Worker Thread" prio=10 tid=0x9fe5e000 nid=0x4080 runnable [0x9bcfe000..0x9bcff130]
at java.lang.Throwable.fillInStackTrace(Native Method)
- locked <0xa1226680> (a java.lang.IllegalMonitorStateException)
- locked <0xa2444448> (a sun.awt.EventListenerAggregate)
- locked <0xa242c610> (a java.beans.PropertyChangeSupport)
Created attachment 58459 [details]
full thread dump (from jstack)
Seems really strange - in my sources, EventListenerAggregate.java:75 contains only assignment into an array, not sure
how it could throw IMSE. Anyway, I tried to add new IMSE() into SourceRoots.addPropertyChangeListener, and no infinite
loop occurred, so it seems more like a JDK problem. When it happens again, could you please do several thread dumps with
jstack -m -l? Thanks.
I did not find any corresponding sources for sun.awt.EventListenerAggregate - the bundled src.zip does not contain
sources for package 'sun.awt'. Sources available from jdk6.dev.java.net and openjdk.java.net do not match the line
numbers. The next time the livelock happens, I will generate several thread-dumps using jstack.
I talked to Petr N., and this seems like another issue with biased locking. The mixed thread dumps would help me to file
a bug against JDK. Also please include output from java -version (of the JDK on which the IDE runs). Thanks.
//closing INCOMPLETE issues older than a 4 weeks
Please reopen if the problem persists, or verify if it has been solved.