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 131771 - Running groovy script not being part of any project fails
Summary: Running groovy script not being part of any project fails
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: schmidtm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-01 22:05 UTC by _ bernihuber
Modified: 2008-10-30 14:24 UTC (History)
0 users

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 _ bernihuber 2008-04-01 22:05:10 UTC
I opened the dir Home/groovy in the favourite explorer. 
This directory contains some groovy scripts I have written so far.
Executing any script fails showing a Dialog having title Error, and an error icon with
the message:
"java.lang.NullPointerException
org.netbeans.modules.groovy.support.ScriptExecSupport.getClassPath(ScriptExecSupport.java:264)"

It would be very nice if it is possible run execute groovy script not being part of any project.
Comment 1 schmidtm 2008-04-08 13:13:14 UTC
Should be fixed with:

http://hg.netbeans.org/main/contrib/rev/c9f712cc56df
Comment 2 schmidtm 2008-04-08 13:14:06 UTC
fixed, see above.