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.
Build: NetBeans IDE Dev (Build 20081002043206) VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32 OS: Windows XP, 5.1, x86 User Comments: janie: I tried to add dependence of one project on another one Stacktrace: java.lang.reflect.UndeclaredThrowableException at $Proxy.propertyChange(.java:0) at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1206) at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1195) at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1170) at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1206) at org.openide.nodes.Node.fireNameChange(Node.java:1005)
Created attachment 71028 [details] stacktrace
Detailed description: ===================== dependence has been arranged via project tree. 1. select library dir and invoke popup menu -> Add Project... 2. select appropriate project and confirm it => exception is thrown The same case happens when dependence is removed
*** Issue 149047 has been marked as a duplicate of this issue. ***
assert from #148066
Probably PhysicalView should fire the Node events in the AWT thread, not synchronously.
*** Issue 149074 has been marked as a duplicate of this issue. ***
Build: NetBeans IDE Dev (Build 081002) VM: Java HotSpot(TM) Client VM, 1.5.0_14-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_14-b03 OS: Windows XP, 5.1, x86 User Comments: Stacktrace: java.lang.reflect.UndeclaredThrowableException at $Proxy.propertyChange(.java:0) at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1206) at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1195) at org.openide.nodes.FilterNode$NodeAdapter.propertyChange(FilterNode.java:1170) at org.openide.nodes.Node.fireOwnPropertyChange(Node.java:1206) at org.openide.nodes.Node.fireNameChange(Node.java:1005)
Created attachment 71128 [details] stacktrace
*** Issue 149089 has been marked as a duplicate of this issue. ***
Increasing priority as it should be fixed in 6.5
http://hg.netbeans.org/main/rev/939eb7217da5
Integrated into 'main-golden', will be available in build *200810070201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/939eb7217da5 User: Tomas Zezula <tzezula@netbeans.org> Log: #148926:reflect.UndeclaredThrowableException at $Proxy5.propertyChange
*** Issue 149462 has been marked as a duplicate of this issue. ***
Tomas, I'm about to clone your fix and apply it in web project in very similar scenario. Does it fix the problem though? Both above stack traces are from AWT thread and in such a case your Runnable will be just run and should again likely result into "java.lang.IllegalStateException: Should not acquire Children.MUTEX while holding ProjectManager.mutex()". Or am I missing something? Thanks.
Sorry David, the mentioned commit was followed by another one (939eb7217da5) fixing the problem you have described. Unfortunately I've forgot to add the log into this issue.
You mean 452ca65f8a36 :-) Thanks.
verified on RC1 Product Version: NetBeans IDE 6.5 RC1 (Build 200810171318) Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15 System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)