title: Grails not running
body: <p>I am trying to run grails in my laptop, I have installed jdk 1.8.0 and jre8, I have set JAVA_HOME and GRAILS_HOME correctly. When I type %JAVA_HOME% or %GRAILS_HOME% in command prompt, it displays correct paths. But when I try to run any grails command, I get the following error:</p>
  
  <pre><code>| Loading Grails 2.1.1
  | Error java.lang.reflect.InvocationTargetException
  | Error         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | Error         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  | Error         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | Error         at java.lang.reflect.Method.invoke(Method.java:491)
  | Error         at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234)
  | Error         at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262)
  | Error         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | Error         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  | Error         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | Error         at java.lang.reflect.Method.invoke(Method.java:491)
  | Error         at org.codehaus.groovy.grails.cli.support.GrailsStarter.rootLoader(GrailsStarter.java:234)
  | Error         at org.codehaus.groovy.grails.cli.support.GrailsStarter.main(GrailsStarter.java:262)
  | Error Caused by: java.lang.NullPointerException: Cannot invoke method getAt() on null object
  | Error         at grails.util.BuildSettings.configureDependencyManager(BuildSettings.groovy:1208)
  | Error         at grails.util.BuildSettings$configureDependencyManager.callCurrent(Unknown Source)
  | Error         at grails.util.BuildSettings.postLoadConfig(BuildSettings.groovy:1121)
  | Error         at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:1003)
  | Error         at grails.util.BuildSettings$loadConfig.callCurrent(Unknown Source)
  | Error         at grails.util.BuildSettings.loadConfig(BuildSettings.groovy:978)
  </code></pre>
  
  <p>My laptop has windows 8.
  Any help regarding this would be greatly appreciated.</p>