I installed Grails 1.2, created a demo app and installed the plugin grails-grailsflow-core-1.0-rc1 with dependencies (with activation and javamail which are not listed in the README.txt for installation).
When starting this new app (working before I installed the plugin) in development mode (hsqldb), I got the following exception :
So the line in error :
Am I missing something about Hibernate Session initialization ?
I commented the lines in method def doWithApplicationContext and migrated the
creation of FlowStatus entries to my application Boostrap and now the application starts.
But it crashes if I try to load a view. It seems that there's another issue with the GTag
Grails 1.2.1 and doWithApplicationContext moved to Bootstrap.
Could somebody give a fix or workaround ?
Server running. Browse to http://localhost:8080/grailsflow-core 2010-02-12 12:32:11,210 [http-8080-1] ERROR view.GroovyPageView - Error processing GroovyPageView:
Error executing tag <gf:messageBundle>: java.lang.NullPointerException: Cannot set property 'common'
on null object at C:/Work_/GrailsFlowTest2/grails-app/views/analyse/analyseResponse.gsp:20
org.codehaus.groovy.grails.web.taglib.exceptions.GrailsTagException: Error executing tag <gf:message
Bundle>: java.lang.NullPointerException: Cannot set property 'common' on null object at C:/Work_/Gra
ilsFlowTest2/grails-app/views/analyse/analyseResponse.gsp:20
at C__Work__GrailsFlowTest2_grails_app_views_analyse_analyseResponse_gsp$_run_closure1.doCal
l(C__Work__GrailsFlowTest2_grails_app_views_analyse_analyseResponse_gsp:26)
at C__Work__GrailsFlowTest2_grails_app_views_analyse_analyseResponse_gsp$_run_closure1.doCal
l(C__Work__GrailsFlowTest2_grails_app_views_analyse_analyseResponse_gsp)
at C__Work__GrailsFlowTest2_grails_app_views_analyse_analyseResponse_gsp.run(C__Work__Grails
FlowTest2_grails_app_views_analyse_analyseResponse_gsp:3 at java.lang.Thread.run(Thread.java:595)
Caused by: org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.NullPointerException: C
annot set property 'common' on null object
... 4 more