File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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 -
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(
at org.codehaus.groovy.runtime.Invoker.invokePogoMethod(
at org.codehaus.groovy.runtime.Invoker.invokeMethod(
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:
subject: Unable to create Grails application
It's not a secret anymore!