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 148926 - reflect.UndeclaredThrowableException at $Proxy5.propertyChange
Summary: reflect.UndeclaredThrowableException at $Proxy5.propertyChange
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Zezula
URL: http://statistics.netbeans.org/except...
Keywords:
: 149047 149074 149089 149462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-02 09:48 UTC by Jana Maleckova
Modified: 2008-10-20 12:37 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 121894


Attachments
stacktrace (18.88 KB, text/plain)
2008-10-02 09:48 UTC, Jana Maleckova
Details
stacktrace (18.62 KB, text/plain)
2008-10-03 16:09 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jana Maleckova 2008-10-02 09:48:42 UTC
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)
Comment 1 Jana Maleckova 2008-10-02 09:48:48 UTC
Created attachment 71028 [details]
stacktrace
Comment 2 Jana Maleckova 2008-10-02 09:59:54 UTC
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
Comment 3 t_h 2008-10-03 12:04:18 UTC
*** Issue 149047 has been marked as a duplicate of this issue. ***
Comment 4 t_h 2008-10-03 12:17:01 UTC
assert from #148066
Comment 5 Martin Fousek 2008-10-03 12:41:30 UTC
*** Issue 149047 has been marked as a duplicate of this issue. ***
Comment 6 Andrei Badea 2008-10-03 13:46:01 UTC
Probably PhysicalView should fire the Node events in the AWT thread, not synchronously.
Comment 7 t_h 2008-10-03 14:54:00 UTC
*** Issue 149074 has been marked as a duplicate of this issue. ***
Comment 8 Lukas Hasik 2008-10-03 16:09:46 UTC
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)
Comment 9 Lukas Hasik 2008-10-03 16:09:57 UTC
Created attachment 71128 [details]
stacktrace
Comment 10 Tomas Zezula 2008-10-03 17:10:45 UTC
*** Issue 149089 has been marked as a duplicate of this issue. ***
Comment 11 Tomas Zezula 2008-10-03 17:12:31 UTC
Increasing priority as it should be fixed in 6.5
Comment 12 Tomas Zezula 2008-10-06 13:18:12 UTC
http://hg.netbeans.org/main/rev/939eb7217da5
Comment 13 Quality Engineering 2008-10-07 06:03:57 UTC
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
Comment 14 Milan Kubec 2008-10-10 09:37:44 UTC
*** Issue 149462 has been marked as a duplicate of this issue. ***
Comment 15 David Konecny 2008-10-12 23:07:53 UTC
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.
Comment 16 Tomas Zezula 2008-10-13 10:22:54 UTC
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.

Comment 17 David Konecny 2008-10-13 21:46:13 UTC
You mean 452ca65f8a36 :-) Thanks.
Comment 18 Jana Maleckova 2008-10-20 12:37:26 UTC
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)