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 149209

Summary: [65cat] reflect.UndeclaredThrowableException at $Proxy5.childrenRemoved
Product: platform Reporter: rajivderas <rajivderas>
Component: NodesAssignee: t_h <t_h>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: bartdeslagmulder, blakenzoe, brettryan, cybermind, fukim, goeh, inkubus08, jarod51, jaschiel, jblume, jdwyah, jvickers, ki4ngel, laurin1, martinoconnor, monguz, nleck, sandange, siriphong, theknack, tobbworld, tveimo, tzezula, vagnermontenegro, vonnie
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=123419
Issue Type: DEFECT Exception Reporter: 123419
Attachments: stacktrace
stacktrace
stacktrace
stacktrace
stacktrace
stacktrace

Description rajivderas 2008-10-06 11:27:22 UTC
Build: NetBeans IDE Dev (Build 200810041417)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1070)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:644)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:368)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:323)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1495)
Comment 1 rajivderas 2008-10-06 11:27:34 UTC
Created attachment 71183 [details]
stacktrace
Comment 2 rajivderas 2008-10-06 11:31:16 UTC
1) Create a ejb 3 module project
2) Create a stateless ejb with remote and local interfaces
3) Goto the bean implementation class "Add Business Method" from insert code action
4) The "Add Business Method" dialog pops out just press the ok button which will add a dummy business method to the 
bean and interface classes.
5) Now goto the remote interface and press CTRL+Z which will produce this error

Dev Build 200810041417
Comment 3 t_h 2008-10-08 09:13:44 UTC
It seems to me like wrong implementation of equals() for keys. I think problem might be in Description.equals() which
calls Element.signatureEquals() which uses non-final field signatures.
Comment 4 Tomas Zezula 2008-10-08 11:04:08 UTC
I doubt it's the problem, the fields were not final syntactically but indeed they were, so I've added the final kws.
http://hg.netbeans.org/main/rev/5773b3dbad0f
Comment 5 Quality Engineering 2008-10-09 05:59:04 UTC
Integrated into 'main-golden', will be available in build *200810090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5773b3dbad0f
User: Tomas Zezula <tzezula@netbeans.org>
Log: #149209:[65cat] reflect.UndeclaredThrowableException at $Proxy5.childrenRemoved
Comment 6 t_h 2008-11-22 17:50:32 UTC
*** Issue 150270 has been marked as a duplicate of this issue. ***
Comment 7 t_h 2008-11-22 17:56:04 UTC
*** Issue 151458 has been marked as a duplicate of this issue. ***
Comment 8 t_h 2008-11-22 18:01:37 UTC
*** Issue 152907 has been marked as a duplicate of this issue. ***
Comment 9 goeh 2009-03-30 22:04:33 UTC
Build: NetBeans IDE Dev (Build web-main-187-on-090326)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows XP, 5.1, x86

User Comments: 
Pasted block of code into Grails controller.

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 10 goeh 2009-03-30 22:04:43 UTC
Created attachment 79090 [details]
stacktrace
Comment 11 laurin1 2009-03-31 00:16:32 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 12 laurin1 2009-03-31 00:16:45 UTC
Created attachment 79095 [details]
stacktrace
Comment 13 jdwyah 2009-04-01 21:52:31 UTC
Build: NetBeans IDE Dev (Build 200903220201)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 14 jdwyah 2009-04-01 21:52:38 UTC
Created attachment 79244 [details]
stacktrace
Comment 15 laurin1 2009-04-14 21:24:48 UTC
Build: NetBeans IDE Dev (Build 200902231810)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1084)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:657)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:380)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:335)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1502)
Comment 16 laurin1 2009-04-14 21:25:01 UTC
Created attachment 80078 [details]
stacktrace
Comment 17 brettryan 2009-04-16 12:11:44 UTC
Build: NetBeans IDE Dev (Build 200904160201)
VM: Java HotSpot(TM) Client VM, 11.3-b02, Java(TM) SE Runtime Environment, 1.6.0_13-b03
OS: Windows Vista, 6.0, x86

User Comments: 
Cut <div> from one section and pasted to another.

Stacktrace: 
java.lang.reflect.UndeclaredThrowableException
        at $Proxy5.childrenRemoved(.java:0)
        at org.openide.nodes.Node.fireSubNodesChange(Node.java:1093)
        at org.openide.nodes.EntrySupport$Default.notifyRemove(EntrySupport.java:647)
        at org.openide.nodes.EntrySupport$Default.updateRemove(EntrySupport.java:379)
        at org.openide.nodes.EntrySupport$Default.setEntries(EntrySupport.java:333)
        at org.openide.nodes.Children$Keys$2.run(Children.java:1503)
Comment 18 brettryan 2009-04-16 12:11:56 UTC
Created attachment 80238 [details]
stacktrace
Comment 19 t_h 2009-04-29 16:11:13 UTC

*** This issue has been marked as a duplicate of 158328 ***