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 63204 - Netbeans IDE error java.lang.reflect.UndeclaredThrowableException
Summary: Netbeans IDE error java.lang.reflect.UndeclaredThrowableException
Status: CLOSED INVALID
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-28 10:54 UTC by awallace
Modified: 2006-03-24 10:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Message log 1 (281.68 KB, application/octet-stream)
2005-08-28 10:56 UTC, awallace
Details
Message log 2 (261.80 KB, application/octet-stream)
2005-08-28 10:57 UTC, awallace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description awallace 2005-08-28 10:54:57 UTC
java.lang.reflect.UndeclaredThrowableException
	at $Proxy13.childrenAdded(Unknown Source)
	at org.openide.nodes.Node.fireSubNodesChange(Node.java:949)
	at org.openide.nodes.Children.notifyAdd(Children.java:925)
	at org.openide.nodes.Children.refreshEntry(Children.java:992)
	at org.openide.nodes.Children$3.run(Children.java:1818)
	at org.openide.util.Mutex.postRequest(Mutex.java:866)
	at org.openide.util.Mutex.postWriteRequest(Mutex.java:364)
	at org.openide.nodes.Children$Keys.refreshKey(Children.java:1816)
	at 
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.stateChanged
(ProjectsRootNode.java:279)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.fireChange
(SourcesHelper.java:470)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.propertyChange
(SourcesHelper.java:490)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange
(WeakListenerImpl.java:131)
	at 
org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.
run(PropertyUtils.java:754)
	at org.openide.util.Mutex.leave(Mutex.java:607)
	at org.openide.util.Mutex.writeAccess(Mutex.java:304)
	at 
org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties.store
(J2SEProjectProperties.java:299)
	at 
org.netbeans.modules.java.j2seproject.ui.J2SECustomizerProvider$OptionListener.
actionPerformed(J2SECustomizerProvider.java:148)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1766)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke
(WeakListenerImpl.java:383)
	... 41 more
Caused by: java.util.NoSuchElementException
	at java.util.LinkedList$ListItr.next(LinkedList.java:554)
	at org.openide.explorer.view.VisualizerChildren.added
(VisualizerChildren.java:57)
	at org.openide.explorer.view.VisualizerEvent$Added.run
(VisualizerEvent.java:84)
	at org.openide.explorer.view.VisualizerNode$QP.run
(VisualizerNode.java:538)
	at org.openide.util.Mutex.doEvent(Mutex.java:903)
	at org.openide.util.Mutex.writeAccess(Mutex.java:318)
	at org.openide.explorer.view.VisualizerNode$QP.runSafe
(VisualizerNode.java:522)
	at org.openide.explorer.view.VisualizerNode.childrenAdded
(VisualizerNode.java:247)
[catch] ... 45 more
==>
java.lang.reflect.InvocationTargetException
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke
(WeakListenerImpl.java:383)
	at $Proxy13.childrenAdded(Unknown Source)
	at org.openide.nodes.Node.fireSubNodesChange(Node.java:949)
	at org.openide.nodes.Children.notifyAdd(Children.java:925)
	at org.openide.nodes.Children.refreshEntry(Children.java:992)
	at org.openide.nodes.Children$3.run(Children.java:1818)
	at org.openide.util.Mutex.postRequest(Mutex.java:866)
	at org.openide.util.Mutex.postWriteRequest(Mutex.java:364)
	at org.openide.nodes.Children$Keys.refreshKey(Children.java:1816)
	at 
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.stateChanged
(ProjectsRootNode.java:279)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.fireChange
(SourcesHelper.java:470)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.propertyChange
(SourcesHelper.java:490)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange
(WeakListenerImpl.java:131)
	at 
org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.
run(PropertyUtils.java:754)
	at org.openide.util.Mutex.leave(Mutex.java:607)
	at org.openide.util.Mutex.writeAccess(Mutex.java:304)
	at 
org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties.store
(J2SEProjectProperties.java:299)
	at 
org.netbeans.modules.java.j2seproject.ui.J2SECustomizerProvider$OptionListener.
actionPerformed(J2SECustomizerProvider.java:148)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1766)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.util.NoSuchElementException
	at java.util.LinkedList$ListItr.next(LinkedList.java:554)
	at org.openide.explorer.view.VisualizerChildren.added
(VisualizerChildren.java:57)
	at org.openide.explorer.view.VisualizerEvent$Added.run
(VisualizerEvent.java:84)
	at org.openide.explorer.view.VisualizerNode$QP.run
(VisualizerNode.java:538)
	at org.openide.util.Mutex.doEvent(Mutex.java:903)
	at org.openide.util.Mutex.writeAccess(Mutex.java:318)
	at org.openide.explorer.view.VisualizerNode$QP.runSafe
(VisualizerNode.java:522)
	at org.openide.explorer.view.VisualizerNode.childrenAdded
(VisualizerNode.java:247)
[catch] ... 45 more
==>
java.util.NoSuchElementException
	at java.util.LinkedList$ListItr.next(LinkedList.java:554)
	at org.openide.explorer.view.VisualizerChildren.added
(VisualizerChildren.java:57)
	at org.openide.explorer.view.VisualizerEvent$Added.run
(VisualizerEvent.java:84)
	at org.openide.explorer.view.VisualizerNode$QP.run
(VisualizerNode.java:538)
	at org.openide.util.Mutex.doEvent(Mutex.java:903)
	at org.openide.util.Mutex.writeAccess(Mutex.java:318)
	at org.openide.explorer.view.VisualizerNode$QP.runSafe
(VisualizerNode.java:522)
	at org.openide.explorer.view.VisualizerNode.childrenAdded
(VisualizerNode.java:247)
	at sun.reflect.GeneratedMethodAccessor38.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.openide.util.WeakListenerImpl$ProxyListener.invoke
(WeakListenerImpl.java:383)
	at $Proxy13.childrenAdded(Unknown Source)
	at org.openide.nodes.Node.fireSubNodesChange(Node.java:949)
	at org.openide.nodes.Children.notifyAdd(Children.java:925)
	at org.openide.nodes.Children.refreshEntry(Children.java:992)
	at org.openide.nodes.Children$3.run(Children.java:1818)
	at org.openide.util.Mutex.postRequest(Mutex.java:866)
	at org.openide.util.Mutex.postWriteRequest(Mutex.java:364)
	at org.openide.nodes.Children$Keys.refreshKey(Children.java:1816)
	at 
org.netbeans.modules.project.ui.ProjectsRootNode$ProjectChildren.stateChanged
(ProjectsRootNode.java:279)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.fireChange
(SourcesHelper.java:470)
	at 
org.netbeans.spi.project.support.ant.SourcesHelper$SourcesImpl.propertyChange
(SourcesHelper.java:490)
	at org.openide.util.WeakListenerImpl$PropertyChange.propertyChange
(WeakListenerImpl.java:131)
	at 
org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator.
run(PropertyUtils.java:754)
	at org.openide.util.Mutex.leave(Mutex.java:607)
	at org.openide.util.Mutex.writeAccess(Mutex.java:304)
	at 
org.netbeans.modules.java.j2seproject.ui.customizer.J2SEProjectProperties.store
(J2SEProjectProperties.java:299)
	at 
org.netbeans.modules.java.j2seproject.ui.J2SECustomizerProvider$OptionListener.
actionPerformed(J2SECustomizerProvider.java:148)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1849)
	at javax.swing.AbstractButton$Handler.actionPerformed
(AbstractButton.java:2169)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:234)
	at java.awt.Component.processMouseEvent(Component.java:5488)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3093)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:4212)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3892)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1766)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:234)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 awallace 2005-08-28 10:56:27 UTC
Created attachment 24286 [details]
Message log 1
Comment 2 awallace 2005-08-28 10:57:21 UTC
Created attachment 24287 [details]
Message log 2
Comment 3 awallace 2005-08-28 11:09:07 UTC
I received this set of error messages after clicking 'OK' to set new run 
arguments for the Main Project I was wanting to run (I got to the input dialog 
by right-clicking on the main project and selecting 'Properties'). After 
changing the arguments for the main class to be run and clicking OK, the 
UndeclaredThrowableException error appeared. This did not stop the arguments 
from being set to their new values, nor did it prevent me from running the 
Project; however a dialog box appeared asking me to report the error and 
attach the log files, which I have done.

Thanks,

Andrew
Comment 4 Pavel Rehak 2005-08-30 10:25:38 UTC
Reassigning t projects for evaluation.
Comment 5 Jesse Glick 2005-08-30 21:43:45 UTC
You appear to be running some quite old dev build which we do not support. The
latest log entry I can find says:

>Log Session: Wednesday, April 27, 2005 10:08:02 PM BST

  Product Version       = NetBeans IDE Dev (Build 200409220845)

Comment 6 Marian Mirilovic 2005-12-20 16:05:12 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. 

Thanks in advance.