Grails is not working at all

View: New views
4 Messages — Rating Filter:   Alert me  

Grails is not working at all

by HHB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.
No matter I use, grails help , grails create-app , I got :
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.
..........

Here are my settings :
GROOVY_HOME=D:\Groovy
GRAILS_HOME=D:\Grails
Win XP SP 2
JDK 5
I downloaded Grails on Wednesday 6-6-2007
SOS !

Re: Grails is not working at all

by Fred Janon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think there were some postings in the last couple of days about that. I think the problem comes from the fact that your project is at the top directory: "D:\GrApp". Try something like "D:\Projects\GrApp", just add another level of directory
 
Fred
 
On 6/9/07, HHB <hubaghdadi@...> wrote:

Hi all.
No matter I use, grails help , grails create-app , I got :
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.
..........

Here are my settings :
GROOVY_HOME=D:\Groovy
GRAILS_HOME=D:\Grails
Win XP SP 2
JDK 5
I downloaded Grails on Wednesday 6-6-2007
SOS !
--
View this message in context: http://www.nabble.com/Grails-is-not-working-at-all-tf3894025.html#a11039377
Sent from the grails - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



Re: Grails is not working at all

by HHB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried what you suggested, its not working.
I also tried to move my projects dir to another drive (F:), its not working too.
Am I alone in this problem ?

Fred Janon wrote:
I think there were some postings in the last couple of days about that. I
think the problem comes from the fact that your project is at the top
directory: "D:\GrApp". Try something like "D:\Projects\GrApp", just add
another level of directory

Fred

On 6/9/07, HHB <hubaghdadi@yahoo.ca> wrote:
>
>
> Hi all.
> No matter I use, grails help , grails create-app , I got :
> 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.
> ..........
>
> Here are my settings :
> GROOVY_HOME=D:\Groovy
> GRAILS_HOME=D:\Grails
> Win XP SP 2
> JDK 5
> I downloaded Grails on Wednesday 6-6-2007
> SOS !
> --
> View this message in context:
> http://www.nabble.com/Grails-is-not-working-at-all-tf3894025.html#a11039377
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Re: Grails is not working at all

by graemer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Cheers

On 6/9/07, HHB <hubaghdadi@...> wrote:

>
> I tried what you suggested, its not working.
> I also tried to move my projects dir to another drive (F:), its not working
> too.
> Am I alone in this problem ?
>
>
> Fred Janon wrote:
> >
> > I think there were some postings in the last couple of days about that. I
> > think the problem comes from the fact that your project is at the top
> > directory: "D:\GrApp". Try something like "D:\Projects\GrApp", just add
> > another level of directory
> >
> > Fred
> >
> > On 6/9/07, HHB <hubaghdadi@...> wrote:
> >>
> >>
> >> Hi all.
> >> No matter I use, grails help , grails create-app , I got :
> >> 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.
> >> ..........
> >>
> >> Here are my settings :
> >> GROOVY_HOME=D:\Groovy
> >> GRAILS_HOME=D:\Grails
> >> Win XP SP 2
> >> JDK 5
> >> I downloaded Grails on Wednesday 6-6-2007
> >> SOS !
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Grails-is-not-working-at-all-tf3894025.html#a11039377
> >> Sent from the grails - user mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe from this list please visit:
> >>
> >>    http://xircles.codehaus.org/manage_email
> >>
> >>
> >
> >
>
> --
> View this message in context: http://www.nabble.com/Grails-is-not-working-at-all-tf3894025.html#a11041286
> Sent from the grails - user mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Graeme Rocher
Grails Project Lead
http://grails.org

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email