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

Summary: Running groovy script not being part of any project fails
Product: groovy Reporter: _ bernihuber <bernihuber>
Component: CodeAssignee: schmidtm <schmidtm>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.