I'm new in Grails. I first downloaded the zip and import the proyect to my local GGTS, when I ran it was ok, but when I create an owner and got this error:
Error 500: Internal Server Error
URI:/petclinic/owner/add Class:java.lang.NullPointerExceptionMessage:Cannot set property 'controllerClass' on null object
Around line 13 of grails-app\conf\org\grails\samples\ViewSourceFilters.groovy
10: }11: after = { Map model ->12: def controllerClass = grailsApplication.getArtefactByLogicalPropertyName("Controller", controllerName)13: model["controllerClass"] = controllerClass.clazz.name14: model["viewPath"] = "$controllerName:${model['viewName'] ?: actionName}"15: }16: afterView = { Exception e ->
I have installed Grails 2.1.1 and GGTS 3.1.
Then I tried using GIT and cloned it, open cmd and runing as say in readme, but got the same error. It downloaded Grails 2.1.1 previously to run.
Hi,
I'm new in Grails. I first downloaded the zip and import the proyect to my local GGTS, when I ran it was ok, but when I create an owner and got this error: Error 500: Internal Server Error URI:/petclinic/owner/add Class:java.lang.NullPointerExceptionMessage:Cannot set property 'controllerClass' on null object Around line 13 of grails-app\conf\org\grails\samples\ViewSourceFilters.groovy 10: }11: after = { Map model ->12: def controllerClass = grailsApplication.getArtefactByLogicalPropertyName("Controller", controllerName)13: model["controllerClass"] = controllerClass.clazz.name14: model["viewPath"] = "$controllerName:${model['viewName'] ?: actionName}"15: }16: afterView = { Exception e ->
I have installed Grails 2.1.1 and GGTS 3.1.
Then I tried using GIT and cloned it, open cmd and runing as say in readme, but got the same error. It downloaded Grails 2.1.1 previously to run.
What I'm doing bad or is because Grails version?
Thanks
Pd. Sorry for my bad english