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 158427 - IllegalArgumentException: Tried to pass null folder arg
Summary: IllegalArgumentException: Tried to pass null folder arg
Status: RESOLVED DUPLICATE of bug 150027
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Petr Hejl
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-12 00:04 UTC by elberry
Modified: 2009-02-19 20:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 134940


Attachments
stacktrace (3.10 KB, text/plain)
2009-02-12 00:05 UTC, elberry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elberry 2009-02-12 00:04:58 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
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:
elberry: Tried to run a simple groovy script.

GUEST: First groovy with 6.5rc2.  

println "Hello World"

Run file (Shift F6) produced error

elberry: Tried to run a simple groovy script.



Stacktrace: 
java.lang.IllegalArgumentException: Tried to pass null folder arg
        at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1230)
        at org.netbeans.modules.groovy.support.GroovyActionProvider.getRoot(GroovyActionProvider.java:261)
        at org.netbeans.modules.groovy.support.GroovyActionProvider.setupTestSingle(GroovyActionProvider.java:350)
        at org.netbeans.modules.groovy.support.GroovyActionProvider.getTargetNames(GroovyActionProvider.java:190)
        at org.netbeans.modules.groovy.support.GroovyActionProvider.access$000(GroovyActionProvider.java:90)
        at org.netbeans.modules.groovy.support.GroovyActionProvider$1.run(GroovyActionProvider.java:139)
Comment 1 elberry 2009-02-12 00:05:06 UTC
Created attachment 76889 [details]
stacktrace
Comment 2 Petr Hejl 2009-02-12 13:14:57 UTC
Should be already fixed as issue 150027.

*** This issue has been marked as a duplicate of 150027 ***
Comment 3 elberry 2009-02-12 21:38:39 UTC
Any clue as to when this fix will be available for update from the NetBeans IDE 6.5? Or do I need to use the nightly
versions to get it?
Comment 4 Petr Hejl 2009-02-13 10:34:30 UTC
It is in daily build as mentioned in desc4 of issue 150027. Would be great if you could test your usecase. Marking the
issue 150027 as 65 fixes candidate.