Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 196486 - java.lang.IllegalStateException if IDE is closed
java.lang.IllegalStateException if IDE is closed
Product: cnd
Classification: Unclassified
Component: Project
All All
: P1 (vote)
: 7.0
Assigned To: Alexander Simon
: 196095 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2011-03-09 12:27 UTC by soldatov
Modified: 2011-03-25 06:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

full log (67.91 KB, text/plain)
2011-03-09 12:28 UTC, soldatov

Note You need to log in before you can comment on or make changes to this bug.
Description soldatov 2011-03-09 12:27:44 UTC
- Create Quote project
- Wait parser is finished
- Click on [x] button in right top corner (close IDE)
- Check log
java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()
	at org.openide.nodes.Children$ProjectManagerDeadlockDetector.execute(
	at org.openide.util.Mutex.doWrapperAccess(
	at org.openide.util.Mutex.readAccess(
	at org.openide.explorer.view.TreeView$TreePropertyListener.propertyChange(
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at org.openide.explorer.ExplorerManager$
	at org.openide.util.Mutex.doEvent(
	at org.openide.util.Mutex.readAccess(
	at org.openide.explorer.ExplorerManager.fireInAWT(
	at org.openide.explorer.ExplorerManager$Listener.propertyChange(
Caused: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke(
Caused: java.lang.reflect.UndeclaredThrowableException
	at $Proxy8.propertyChange(Unknown Source)
	at org.openide.nodes.Node.fireOwnPropertyChange(
	at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(
	at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(
	at org.openide.nodes.Node.fireOwnPropertyChange(
	at org.openide.nodes.Node.fireDisplayNameChange(
	at org.openide.nodes.AbstractNode.setName(
	at org.netbeans.modules.cnd.makeproject.ui.MakeLogicalViewRootNode.propertyChange(
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at java.beans.PropertyChangeSupport.firePropertyChange(
	at org.netbeans.modules.cnd.makeproject.MakeProject$Info.firePropertyChange(
	at org.netbeans.modules.cnd.makeproject.MakeProject.configurationXmlChanged(
[catch] at$
	at org.openide.util.Mutex.readAccess(
Comment 1 soldatov 2011-03-09 12:28:23 UTC
Created attachment 106852 [details]
full log
Comment 2 Alexander Simon 2011-03-09 18:58:58 UTC
fixed, change set:
Comment 3 Alexander Simon 2011-03-09 18:59:18 UTC
QA, please, verify fix
Comment 4 Thomas Preisler 2011-03-10 02:24:36 UTC
*** Bug 196095 has been marked as a duplicate of this bug. ***
Comment 5 Quality Engineering 2011-03-10 09:33:57 UTC
Integrated into 'main-golden', will be available in build *201103100400* on (upload may still be in progress)
User: Alexander Simon <>
Log: fixed Bug #196486 java.lang.IllegalStateException if IDE is closed
Comment 6 soldatov 2011-03-11 09:10:12 UTC
NetBeans IDE Dev (Build 201103110400)
verified this and scenario from issue 196095
Comment 7 Alexander Simon 2011-03-11 11:40:55 UTC
Vladimir V, please, review fix.
Comment 8 Vladimir Voskresensky 2011-03-11 13:10:54 UTC
fix is OK and it also fixes regression mentioned in issue #196095
Comment 9 Alexander Pepin 2011-03-11 13:40:45 UTC
Should be P1.
Comment 10 Alexander Simon 2011-03-11 21:13:37 UTC
fixed in release70:
Comment 11 soldatov 2011-03-18 11:50:43 UTC
Verified in NetBeans IDE 7.0 RC1 (Build 201103180000)

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo