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 23496 - IllegalArgumentException during ant build
Summary: IllegalArgumentException during ant build
Status: CLOSED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-15 06:47 UTC by Jason Fornelli
Modified: 2008-12-22 17:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Fornelli 2002-05-15 06:47:45 UTC
This happened when trying to run an 'ant deploy'
from explorer window.
It had worked fine the first time I attempted
this, but the second time I was presented with a
dialog box, stating that there had been an
IllegalArgumentException.
Since this exception was thrown, the problem has
not surfaced again, though I've deployed via
netbeans explorer numerous times.
Below is the pertinent portion of the log file...

-j

[org.netbeans.core.modules] *********** Exception
occurred ************
Mon May 13 20:55:27 EDT 2002:
org.netbeans.core.modules.InvalidException:
Module[org.netbeans.modules.debugger.debug]:
Dependency failed on package
sun.tools.debug[DebuggerCallback]
org.netbeans.core.modules.InvalidException:
Module[org.netbeans.modules.debugger.debug]:
Dependency failed on package
sun.tools.debug[DebuggerCallback]
	at
org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:477)
[catch] at
org.netbeans.core.modules.ModuleList.installNew(ModuleList.java:474)
	at
org.netbeans.core.modules.ModuleList.trigger(ModuleList.java:418)
	at
org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:263)
	at org.netbeans.core.NonGui.run(NonGui.java:523)
	at org.netbeans.core.Main.run(Main.java:213)
	at
org.openide.TopManager.initializeTopManager(TopManager.java:120)
	at
org.openide.TopManager.getDefault(TopManager.java:81)
	at org.netbeans.core.Main.main(Main.java:346)
	at
org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:87)
	at java.lang.Thread.run(Thread.java:536)
*********** Exception occurred ************
Tue May 14 21:18:57 EDT 2002:
java.lang.IllegalArgumentException: A node
selection cannot contain nodes (<No Processes
Running>) not underneath the root (Processes).
java.lang.IllegalArgumentException: A node
selection cannot contain nodes (<No Processes
Running>) not underneath the root (Processes).
	at
org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:149)
	at
org.openide.explorer.view.ListView.selectionChanged(ListView.java:360)
	at
org.openide.explorer.view.ListView$Listener.valueChanged(ListView.java:741)
	at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
	at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
	at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
	at
javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
	at
javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
	at
javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
	at
javax.swing.JList.setSelectionInterval(JList.java:1603)
	at
javax.swing.plaf.basic.BasicListUI$MouseInputHandler.adjustFocusAndSelection(BasicListUI.java:1332)
	at
javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mousePressed(BasicListUI.java:1294)
	at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:218)
	at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:217)
	at
java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:217)
	at
java.awt.Component.processMouseEvent(Component.java:5018)
	at java.awt.Component.processEvent(Component.java:4818)
	at java.awt.Container.processEvent(Container.java:1380)
	at
java.awt.Component.dispatchEventImpl(Component.java:3526)
	at
java.awt.Container.dispatchEventImpl(Container.java:1437)
	at
java.awt.Component.dispatchEvent(Component.java:3367)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2926)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
	at
java.awt.Container.dispatchEventImpl(Container.java:1423)
	at java.awt.Window.dispatchEventImpl(Window.java:1566)
	at
java.awt.Component.dispatchEvent(Component.java:3367)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
*********** Exception occurred ************
Tue May 14 21:18:57 EDT 2002:
java.lang.IllegalArgumentException: A node
selection cannot contain nodes (<No Processes
Running>) not underneath the root (Processes).
java.lang.IllegalArgumentException: A node
selection cannot contain nodes (<No Processes
Running>) not underneath the root (Processes).
	at
org.openide.explorer.ExplorerManager.setSelectedNodes(ExplorerManager.java:149)
	at
org.openide.explorer.view.ListView.selectionChanged(ListView.java:360)
	at
org.openide.explorer.view.ListView$Listener.valueChanged(ListView.java:741)
	at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
	at
javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:157)
	at
javax.swing.DefaultListSelectionModel.setValueIsAdjusting(DefaultListSelectionModel.java:552)
	at
javax.swing.JList.setValueIsAdjusting(JList.java:1670)
	at
javax.swing.plaf.basic.BasicListUI$MouseInputHandler.mouseReleased(BasicListUI.java:1370)
	at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:228)
	at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
	at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:227)
	at
java.awt.Component.processMouseEvent(Component.java:5021)
	at java.awt.Component.processEvent(Component.java:4818)
	at java.awt.Container.processEvent(Container.java:1380)
	at
java.awt.Component.dispatchEventImpl(Component.java:3526)
	at
java.awt.Container.dispatchEventImpl(Container.java:1437)
	at
java.awt.Component.dispatchEvent(Component.java:3367)
	at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3214)
	at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:2929)
	at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:2859)
	at
java.awt.Container.dispatchEventImpl(Container.java:1423)
	at java.awt.Window.dispatchEventImpl(Window.java:1566)
	at
java.awt.Component.dispatchEvent(Component.java:3367)
	at
java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:190)
	at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
	at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
	at
java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
Comment 1 David Konecny 2002-05-15 08:38:44 UTC
Thanx for the report. Unfortunately, to solve the problem we need 
steps how to reproduce it. Could you be more specific about version of 
NB you are using? Do you really use 3.1 as you specified in Version 
field? Also add version of JDK you use and as much information to 
reproduce the problem as possible.

I'm reassigning issue to openide - maybe they will be able to get 
something from exception, but usually it is not enough.
Comment 2 Jason Fornelli 2002-05-16 21:50:39 UTC
No, I'm using v3.3.1 It must've reset when I went forward 
a page and had to come back before submitting.
I'm using jdk1.4.
After I submitted this issue, I somehow managed to 
duplicate the problem. I don't know how I did it though.
Perhaps, there was a drag in the middle of the double 
click...? I'll try it again when I get home and into 
netbeans again, probably this evening.
Comment 3 Jason Fornelli 2002-05-17 04:06:33 UTC
Okay, I've managed to get the error on demand now....
It happens when triple clicking the build target.
Does _that_ help? <grin>
Comment 4 Jiri Rechtacek 2002-05-17 08:50:42 UTC
I'm not able to reproduce it on nb3.3.1 nor nb3.4 dev with jdk1.4.
This exception doesn't affect the ant usability for me. Please send
more info how to reproduce it. Thanks
Comment 5 Jiri Rechtacek 2002-06-28 10:28:38 UTC
I'm not able reproduce on current dev build [Jun 28], there are not
the steps for reproduction. I close as worksforme.
Comment 6 Quality Engineering 2003-07-01 15:58:24 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified
Comment 7 Quality Engineering 2003-07-01 16:21:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.