Grails doesnt work after computer reinstall

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

Grails doesnt work after computer reinstall

by David Marko :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I just reinstalled my WinXP and found that I cant work with grails anymore.  I can create an app, add some domain classes but after certain amount of time the message below appears on grails console and app stops working. I thought its the matter of some plugin I used but this happend even when new app without any plugin is beeing created. I tried this and than = I deleted all artifacts from my .grails directory, tried to create the several new apps with the same result. Do someone observed something similar? What could be the problem?

David

My environment:
JDK 1.6
Grails 1.0.3/1.0.4-snapshot (tested on bto hwith the same result)

-----------------------------
2008-07-22 09:25:10.125::INFO:  Logging to STDERR via org.mortbay.log.StdErrLog
2008-07-22 09:25:10.328::INFO:  jetty-6.1.4
2008-07-22 09:25:10.578::INFO:  No Transaction manager found - if your webapp requires one, please configure one.
2008-07-22 09:25:11.141:/citi_tracker:INFO:  Set web app root system property: 'citi_tracker-development-0.1' = [C:\grails_real_apps\citi_tracker\web-app\]
2008-07-22 09:25:11.141:/citi_tracker:INFO:  Initializing log4j from [file:C:\Documents and Settings\davidm/.grails/1.0.4-SNAPSHOT/projects/citi_tracker/resources/log4j.properties]
2008-07-22 09:25:11.157:/citi_tracker:INFO:  Initializing Spring root WebApplicationContext
2008-07-22 09:25:12.342::WARN:  Failed startup of context org.mortbay.jetty.webapp.WebAppContext@8c4b5f{/citi_tracker,C:\grails_real_apps\citi_tracker/web-app}
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of ini
t method failed; nested exception is java.lang.NullPointerException
        at java.security.AccessController.doPrivileged(Native Method)
        at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy:69)
        at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy)
        at Init_groovy$_run_closure6.doCall(Init_groovy:131)
        at RunApp_groovy$_run_closure2.doCall(RunApp_groovy:68)
        at RunApp_groovy$_run_closure2.doCall(RunApp_groovy)
        at RunApp_groovy$_run_closure1.doCall(RunApp_groovy:60)
        at RunApp_groovy$_run_closure1.doCall(RunApp_groovy)
        at gant.Gant.dispatch(Gant.groovy:271)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:436)
        at gant.Gant.processArgs(Gant.groovy:372)
Caused by: java.lang.NullPointerException
        ... 13 more

2008-07-22 09:25:12.342::WARN:  Nested in org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'pluginManager' defined in ServletContext resource [/WEB-INF/
applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException:
java.lang.NullPointerException
        at java.security.AccessController.doPrivileged(Native Method)
        at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy:69)
        at RunApp_groovy$_run_closure2_closure7.doCall(RunApp_groovy)
        at Init_groovy$_run_closure6.doCall(Init_groovy:131)
        at RunApp_groovy$_run_closure2.doCall(RunApp_groovy:68)
        at RunApp_groovy$_run_closure2.doCall(RunApp_groovy)
        at RunApp_groovy$_run_closure1.doCall(RunApp_groovy:60)
        at RunApp_groovy$_run_closure1.doCall(RunApp_groovy)
        at gant.Gant.dispatch(Gant.groovy:271)
        at gant.Gant.this$2$dispatch(Gant.groovy)
        at gant.Gant.invokeMethod(Gant.groovy)
        at gant.Gant.processTargets(Gant.groovy:436)
        at gant.Gant.processArgs(Gant.groovy:372)
2008-07-22 09:25:12.389::INFO:  Started SelectChannelConnector@0.0.0.0:8080
Server running. Browse to http://localhost:8080/citi_tracker