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 128032

Summary: IllegalArgumentException: /home/pavel/NetBeansProjects/DeleteAgain/src/deleteagain is not inside /home/pavel/NetBeansProjects/DeleteAgain/src
Product: projects Reporter: pribyl <pribyl>
Component: Ant ProjectAssignee: Milan Kubec <mkubec>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=4730
Issue Type: DEFECT Exception Reporter: 4730
Bug Depends on: 204271    
Bug Blocks:    
Attachments: stacktrace
stacktrace
stacktrace

Description pribyl 2008-02-21 15:25:00 UTC
Build: NetBeans IDE Dev (Build 200802191203)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
Occured when tried to "revert delete" on a  couple of files after CVS repository importing and deleting
Comment 1 pribyl 2008-02-21 15:25:13 UTC
Created attachment 56993 [details]
stacktrace
Comment 2 pribyl 2008-02-22 13:08:38 UTC
Build: NetBeans IDE Dev (Build 200802191203)
VM: Java HotSpot(TM) Client VM, 10.0-b19
OS: Linux, 2.6.22-14-generic, i386

User Comments: 
Revert delete on multiple deleted files in a SVN versioned project
Comment 3 pribyl 2008-02-22 13:08:52 UTC
Created attachment 57063 [details]
stacktrace
Comment 4 kate 2008-03-03 15:58:43 UTC
Build: NetBeans IDE Dev (Build 200803021202)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06
OS: SunOS, 5.11, x86

User Comments: 
'Revert Delete' of a folder in completely deleted project
Comment 5 kate 2008-03-03 15:58:52 UTC
Created attachment 57684 [details]
stacktrace
Comment 6 Milan Kubec 2008-03-04 09:14:31 UTC
Another instance of the same problem with similar steps in different order:

java.lang.IllegalArgumentException: C:\Documents and Settings\Milan\My
Documents\NetBeansProjects\JavaApplication4\src\javaapplication4\Main.java is not inside C:\Documents and
Settings\Milan\My Documents\NetBeansProjects\JavaApplication4\src
        at org.netbeans.spi.project.support.ant.SourcesHelper$SourceRoot$Group.contains(SourcesHelper.java:176)
        at
org.netbeans.spi.java.project.support.ui.PackageViewChildren$NoFoldersDataFilter.acceptDataObject(PackageViewChildren.java:1149)
        at org.openide.loaders.FolderChildren.createNodes(FolderChildren.java:168)
        at org.openide.loaders.FolderChildren.createNodes(FolderChildren.java:59)
        at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2250)
        at org.openide.nodes.Children.refreshEntry(Children.java:1163)
        at org.openide.nodes.Children$Keys$1.run(Children.java:2050)
        at org.openide.util.Mutex.postRequest(Mutex.java:1251)
        at org.openide.util.Mutex.postWriteRequest(Mutex.java:582)
Comment 7 Milan Kubec 2008-03-21 14:38:57 UTC
Fixed.

http://hg.netbeans.org/main/rev/d52a797c85ad
Comment 8 pribyl 2008-04-03 16:09:34 UTC
Verified.

No exceptions anymore :)
Comment 9 bwf93 2008-10-03 19:29:41 UTC
Reopening - reproduced in NetBeans IDE 6.1 (Build 200805300101)
Comment 10 Milan Kubec 2008-11-21 13:39:47 UTC
bwf93, please provide some comments about how you reproduced the exception. Thanks.
Comment 11 Milan Kubec 2009-06-30 10:42:50 UTC
No more info from last reporter. Not reproducible for me. Closing.