File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Unable to create Grails application" Watch "Unable to create Grails application" New topic
Author

Unable to create Grails application

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3479

Hi.
I'm trying to create my first Grails app.
GRAILS_HOME=D:\Grails
GROOVY_HOME=D:\Groovy

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
05)
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
JDK 5
Grails 0.5
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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
 
Consider Paul's rocket mass heater.
 
subject: Unable to create Grails application