This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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: 3476

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to create Grails application
 
Similar Threads
Errors upon trying to use ActiveMQ
Problem: null elements in a Vector
Website Development
new to groovy / error while starting
Got Groovy to work, now a problem with Grails - would appreciate help