在 Grails 上使用插件 Activiti 启动 VacationRequestSampleApplication 时出错
我是 BPM 新手,我尝试在我自己的 Grails 应用程序上安装 Activiti。
我已经安装了插件和安全插件(Spring security 和 Activiti-spring security),以及 Vacation Request 应用程序。
来自:http://code.google.com/p/grails-activiti -plugin/wiki/VacationRequestSampleApplication
我登录了,当我单击“开始”链接时,出现此错误:
java.lang.NullPointerException: Cannot get property 'id' on null object
at ActivitiGrailsPlugin$_addActivitiMethods_closure7_closure29.doCall(ActivitiGrailsPlugin.groovy:130)
at ActivitiGrailsPlugin$_addActivitiMethods_closure7.doCall(ActivitiGrailsPlugin.groovy:126)
at vacationRequest.VacationRequestController$_closure2.doCall(VacationRequestController.groovy:36)
at vacationRequest.VacationRequestController$_closure2.doCall(VacationRequestController.groovy)
at java.lang.Thread.run(Thread.java:662)
I'm new on BPM and I tried to install Activiti on my own Grails application.
I've installed the plugin and the security plugin (Spring security and Activiti-spring security), and also the Vacation Request application.
From : http://code.google.com/p/grails-activiti-plugin/wiki/VacationRequestSampleApplication
I logged in, and when i click on Start link, I got this error :
java.lang.NullPointerException: Cannot get property 'id' on null object
at ActivitiGrailsPlugin$_addActivitiMethods_closure7_closure29.doCall(ActivitiGrailsPlugin.groovy:130)
at ActivitiGrailsPlugin$_addActivitiMethods_closure7.doCall(ActivitiGrailsPlugin.groovy:126)
at vacationRequest.VacationRequestController$_closure2.doCall(VacationRequestController.groovy:36)
at vacationRequest.VacationRequestController$_closure2.doCall(VacationRequestController.groovy)
at java.lang.Thread.run(Thread.java:662)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已按以下顺序安装了插件
我得到
它是否来自我的插件版本使用 ?
I have installed plugins in following order
And I am getting
Can it be from version of plugins I am using ?
我没有遇到你所报告的问题。
我使用以下命令创建项目:
我想您可能会错过一些步骤。您可以尝试在您的工作站中运行我创建的项目,网址为 http://grails -activiti-plugin.googlecode.com/files/a581.zip
I didn't face the problem reported by you.
I create the project with the following commands:
I guess you may miss some steps. You may try to run the project created by me in your workstation at http://grails-activiti-plugin.googlecode.com/files/a581.zip