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 141171 - IllegalArgumentException: Tried to pass null folder arg
Summary: IllegalArgumentException: Tried to pass null folder arg
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: David Konecny
URL: http://statistics.netbeans.org/except...
Keywords:
: 145436 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-22 14:35 UTC by Petr Cyhelsky
Modified: 2008-09-01 10:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 21888


Attachments
stacktrace (1.81 KB, text/plain)
2008-07-22 14:35 UTC, Petr Cyhelsky
Details
stacktrace (1.81 KB, text/plain)
2008-07-22 14:37 UTC, Petr Cyhelsky
Details
stacktrace (2.81 KB, text/plain)
2008-07-28 15:12 UTC, jselect
Details
stacktrace (2.81 KB, text/plain)
2008-07-28 15:12 UTC, jselect
Details
stacktrace (1.72 KB, text/plain)
2008-08-14 16:43 UTC, jkilgrow
Details
stacktrace (2.81 KB, text/plain)
2008-08-18 16:41 UTC, jkilgrow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2008-07-22 14:35:40 UTC
Build: NetBeans IDE Dev (Build 200807181543)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: SunOS, 5.10, sparc

User Comments: 
when moving the web freeform project
Comment 1 Petr Cyhelsky 2008-07-22 14:35:44 UTC
Created attachment 65244 [details]
stacktrace
Comment 2 Petr Cyhelsky 2008-07-22 14:36:58 UTC
Build: NetBeans IDE Dev (Build 200807181543)
VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b21
OS: SunOS, 5.10, sparc

User Comments: 
moving project
Comment 3 Petr Cyhelsky 2008-07-22 14:37:01 UTC
Created attachment 65245 [details]
stacktrace
Comment 4 jselect 2008-07-28 15:12:17 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.18-53.1.14.el5, i386

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1195)
        at org.netbeans.modules.web.freeform.WebModules$FFWebModule.contains(WebModules.java:322)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:144)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:140)
        at org.openide.util.Mutex.readAccess(Mutex.java:327)
        at org.openide.util.Mutex$1R.run(Mutex.java:1299)
Comment 5 jselect 2008-07-28 15:12:33 UTC
Created attachment 65806 [details]
stacktrace
Comment 6 jselect 2008-07-28 15:12:40 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.18-53.1.14.el5, i386

User Comments: 


Stacktrace: 
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1195)
        at org.netbeans.modules.web.freeform.WebModules$FFWebModule.contains(WebModules.java:322)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:144)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:140)
        at org.openide.util.Mutex.readAccess(Mutex.java:327)
        at org.openide.util.Mutex$1R.run(Mutex.java:1299)
Comment 7 jselect 2008-07-28 15:12:44 UTC
Created attachment 65807 [details]
stacktrace
Comment 8 jkilgrow 2008-08-14 16:42:58 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.24-20-generic, amd64

User Comments: 
opening a maven project after checking it out. the dialog box came up asking me if i wanted to open the project and i clicked ok. then, this happened.

Stacktrace: 
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1204)
        at org.netbeans.modules.web.freeform.WebModules$FFWebModule.contains(WebModules.java:322)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:144)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:140)
        at org.openide.util.Mutex.readAccess(Mutex.java:327)
        at org.openide.util.Mutex$1R.run(Mutex.java:1299)
Comment 9 jkilgrow 2008-08-14 16:43:08 UTC
Created attachment 67436 [details]
stacktrace
Comment 10 jkilgrow 2008-08-18 16:41:47 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) 64-Bit Server VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Linux, 2.6.24-21-generic, amd64

User Comments: 
closing a project

Stacktrace: 
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1204)
        at org.netbeans.modules.web.freeform.WebModules$FFWebModule.contains(WebModules.java:322)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:144)
        at org.netbeans.modules.web.freeform.WebModules$2.run(WebModules.java:140)
        at org.openide.util.Mutex.readAccess(Mutex.java:327)
        at org.openide.util.Mutex$1R.run(Mutex.java:1299)
Comment 11 jkilgrow 2008-08-18 16:41:59 UTC
Created attachment 67721 [details]
stacktrace
Comment 12 Exceptions Reporter 2008-08-21 14:35:38 UTC
This issue has already 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=21888
Comment 13 David Konecny 2008-08-25 04:03:29 UTC
Locally fixed as #4906b8276f2b.
Comment 14 Quality Engineering 2008-08-28 06:21:28 UTC
Integrated into 'main-golden', available in build *200808280201* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/4906b8276f2b
User: David Konecny <dkonecny@netbeans.org>
Log: #141171 - IllegalArgumentException: Tried to pass null folder arg
Comment 15 David Konecny 2008-08-29 00:41:24 UTC
*** Issue 145436 has been marked as a duplicate of this issue. ***
Comment 16 Petr Cyhelsky 2008-09-01 10:52:48 UTC
no longer get it - verified