jQuery in Action, 3rd edition
The moose likes Other Application Frameworks and the fly likes Unable to create Grails application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Unable to create Grails application" Watch "Unable to create Grails application" New topic

Unable to create Grails application

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

I'm trying to create my first Grails app.

D:\grapp>grails create-app
I got the following exception :

Welcome to Grails 0.5 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: D:\Grails

Base Directory: D:\GrApp
Environment set to production
Note: No plugin scripts found
Running script D:\Grails\scripts\CreateApp.groovy
Error executing script CreateApp: Cannot invoke method addURL() on null object
java.lang.NullPointerException: Cannot invoke method addURL() on null object
at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:1
at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(Invoker.java:148
at org.codehaus.groovy.runtime.Invoker.invokeMethod(Invoker.java:110)
at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
My System:
WinXP Pro SP2
Grails 0.5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

From the Grails mailing list:

Try removing GROOVY_HOME, there have been some conficts with it in
0.5, otherwise try a 0.5.5 snapshot

GenRocket - Experts at Building Test Data
I agree. Here's the link: http://aspose.com/file-tools
subject: Unable to create Grails application
It's not a secret anymore!