AnsweredAssumed Answered

How to cooperate Activiti Explorer with OpenIDM?

Question asked by samiswt on Feb 4, 2014
Latest reply on Feb 10, 2014 by samiswt
Hello everybody!
I'm a newbie both with Activiti and OpenIDM. I was trying to make them work together recently and I found an error message when I was trying to start the Osgi Process which contained in the samples folder of OpenIDM.
Here is my environment:
Tomcat 7.0.42
Activiti Explorer 5.10(This is the latest version supported by OpenIDM2.1 )
OpenIDM 2.1
MySQL mysql-server 5.5.35-0ubuntu0.13.10.2

I'm able to see Osgi Process both in OpenIDM UI and Activiti Explorer, and I'm also able to start this process in OpenIDM UI. The problem is when I start it in Activiti Explorer it won't work. The log says:

Feb 04, 2014 10:31:50 AM org.restlet.ext.httpclient.HttpClientHelper start
INFO: Starting the HTTP client
Feb 04, 2014 10:31:50 AM org.restlet.ext.httpclient.HttpClientHelper start
INFO: Starting the HTTP client
Feb 04, 2014 10:31:51 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
INFO: initializing process engine for resource file:/var/lib/tomcat7/webapps/openidm-workflow-remote-2.1.0/WEB-INF/classes/activiti.cfg.xml
Feb 04, 2014 10:31:52 AM org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
Feb 04, 2014 10:31:52 AM org.activiti.engine.impl.jobexecutor.JobExecutor start
INFO: Starting up the JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor].
Feb 04, 2014 10:31:52 AM org.activiti.engine.ProcessEngines initProcessEnginFromResource
INFO: initialised process engine default
Feb 04, 2014 10:31:52 AM org.activiti.engine.impl.jobexecutor.AcquireJobsRunnable run
INFO: JobExecutor[org.activiti.engine.impl.jobexecutor.DefaultJobExecutor] starting to acquire jobs
No boot properties file detected at /var/lib/tomcat7/conf/boot/boot.properties
Feb 04, 2014 10:31:53 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:53   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   assignee=openidm-admin&_queryId=filtered-query   200   -   0   2007   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:31:53 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:53   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/processdefinition   _queryId=query-all-ids   200   -   0   2018   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:31:53 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:53   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   taskCandidateUser=openidm-admin&_queryId=filtered-query   200   -   0   2035   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:31:53 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:53   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   taskCandidateGroup=openidm-admin%2Copenidm-authorized&_queryId=filtered-query   200   -   0   14   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:31:56 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource example.bpmn20.xml
Feb 04, 2014 10:31:56 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XMLSchema currently not supported as typeLanguage
Feb 04, 2014 10:31:56 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XPath currently not supported as expressionLanguage
Feb 04, 2014 10:31:56 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseProcessDefinitions
INFO: Process with id='osgiProcess' hasn't the attribute isExecutable set. Please maintain it, so you are compatible to future activiti versions.
Feb 04, 2014 10:31:56 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:56   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/processdefinition/osgiProcess:2:20506   -   200   -   0   214   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:31:59 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:31:59   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/processdefinition   _queryId=query-all-ids   200   -   0   15   http://localhost:8080   Restlet-Framework/2.0.15   -
script task using resolver: [result:[[_id:createTimersProcess:1:37, name:Create timers process], [_id:employee-productivity-report:1:47, name:Employee productivity], [_id:escalationExample:1:39, name:Helpdesk process], [_id:fixSystemFailure:1:35, name:Fix system failure], [_id:helpdesk-firstline-vs-escalated-report:1:48, name:Helpdesk process: firstline vs escalated], [_id:osgiProcess:1:20103, name:Osgi process], [_id:osgiProcess:2:20506, name:Osgi process], [_id:process-instance-overview-report:1:49, name:Process Instance Overview], [_id:reviewSaledLead:1:38, name:Review sales lead], [_id:simpleApprovalProcess:1:40, name:Simple approval process], [_id:task-duration-report:1:46, name:Task duration report], [_id:vacationRequest:1:36, name:Vacation request]]]
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/processdefinition   _queryId=query-all-ids   200   -   0   20   http://localhost:8080   Restlet-Framework/2.0.15   -
script task using expression resolver: [result:[[_id:createTimersProcess:1:37, name:Create timers process], [_id:employee-productivity-report:1:47, name:Employee productivity], [_id:escalationExample:1:39, name:Helpdesk process], [_id:fixSystemFailure:1:35, name:Fix system failure], [_id:helpdesk-firstline-vs-escalated-report:1:48, name:Helpdesk process: firstline vs escalated], [_id:osgiProcess:1:20103, name:Osgi process], [_id:osgiProcess:2:20506, name:Osgi process], [_id:process-instance-overview-report:1:49, name:Process Instance Overview], [_id:reviewSaledLead:1:38, name:Review sales lead], [_id:simpleApprovalProcess:1:40, name:Simple approval process], [_id:task-duration-report:1:46, name:Task duration report], [_id:vacationRequest:1:36, name:Vacation request]]]
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   POST   /openidm-workflow-remote-2.1.0/processinstance/   _action=createProcessInstance   200   -   -   1624   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   taskCandidateUser=openidm-admin&_queryId=filtered-query   200   -   0   14   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   assignee=openidm-admin&_queryId=filtered-query   200   -   0   17   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/taskinstance   taskCandidateGroup=openidm-admin%2Copenidm-authorized&_queryId=filtered-query   200   -   0   59   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:32:00 AM org.restlet.engine.log.LogFilter afterHandle
INFO: 2014-02-04   10:32:00   127.0.0.1   kermit   127.0.0.1   8080   GET   /openidm-workflow-remote-2.1.0/processdefinition   _queryId=query-all-ids   200   -   0   95   http://localhost:8080   Restlet-Framework/2.0.15   -
Feb 04, 2014 10:32:09 AM org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy
INFO: Processing resource example.bpmn20.xml
Feb 04, 2014 10:32:09 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XMLSchema currently not supported as typeLanguage
Feb 04, 2014 10:32:09 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes
INFO: XPath currently not supported as expressionLanguage
Feb 04, 2014 10:32:09 AM org.activiti.engine.impl.bpmn.parser.BpmnParse parseProcessDefinitions
INFO: Process with id='osgiProcess' hasn't the attribute isExecutable set. Please maintain it, so you are compatible to future activiti versions.
Feb 04, 2014 10:32:11 AM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:71)
   at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(ScriptTaskActivityBehavior.java:51)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:65)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:115)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:381)
   at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:102)
   at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:51)
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:46)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:45)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:335)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:72)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
   at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
   at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
   at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
   at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:63)
   at org.activiti.explorer.ui.process.listener.StartProcessInstanceClickListener.buttonClick(StartProcessInstanceClickListener.java:71)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
   at com.vaadin.ui.Button.fireClick(Button.java:539)
   at com.vaadin.ui.Button.changeVariables(Button.java:206)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1299)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1219)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:735)
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)
Caused by: javax.script.ScriptException: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:122)
   at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
   at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:69)
   … 96 more
Caused by: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:323)
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:116)
   … 98 more
Caused by: org.forgerock.openidm.objset.InternalServerErrorException
   at org.forgerock.openidm.objset.JsonResourceObjectSet.convertException(JsonResourceObjectSet.java:85)
   at org.forgerock.openidm.objset.JsonResourceObjectSet.query(JsonResourceObjectSet.java:172)
   at org.forgerock.openidm.objset.ObjectSet$query.call(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
   at Script1.run(Script1.groovy:3)
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:320)
   … 99 more
Caused by: org.forgerock.json.resource.JsonResourceException
   at org.forgerock.openidm.workflow.HttpRemoteJsonResource.handle(HttpRemoteJsonResource.java:234)
   at org.forgerock.json.resource.JsonResourceAccessor.query(JsonResourceAccessor.java:161)
   at org.forgerock.openidm.objset.JsonResourceObjectSet.query(JsonResourceObjectSet.java:167)
   … 105 more
Caused by: java.lang.NullPointerException
   at org.forgerock.openidm.workflow.HttpRemoteJsonResource.handle(HttpRemoteJsonResource.java:145)
   … 107 more

Feb 04, 2014 10:32:11 AM com.vaadin.Application terminalError
SEVERE: Terminal error:
com.vaadin.event.ListenerMethod$MethodException
Cause: org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510)
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164)
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1193)
   at com.vaadin.ui.Button.fireClick(Button.java:539)
   at com.vaadin.ui.Button.changeVariables(Button.java:206)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1299)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1219)
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:735)
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:296)
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:744)
Caused by: org.activiti.engine.ActivitiException: problem evaluating script: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:71)
   at org.activiti.engine.impl.bpmn.behavior.ScriptTaskActivityBehavior.execute(ScriptTaskActivityBehavior.java:51)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerStart.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerStart.java:52)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionCreateScope.execute(AtomicOperationTransitionCreateScope.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerTake.execute(AtomicOperationTransitionNotifyListenerTake.java:65)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionDestroyScope.execute(AtomicOperationTransitionDestroyScope.java:115)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationTransitionNotifyListenerEnd.eventNotificationsCompleted(AtomicOperationTransitionNotifyListenerEnd.java:36)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:49)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.take(ExecutionEntity.java:381)
   at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performOutgoingBehavior(BpmnActivityBehavior.java:102)
   at org.activiti.engine.impl.bpmn.behavior.BpmnActivityBehavior.performDefaultOutgoingBehavior(BpmnActivityBehavior.java:51)
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.leave(FlowNodeActivityBehavior.java:44)
   at org.activiti.engine.impl.bpmn.behavior.FlowNodeActivityBehavior.execute(FlowNodeActivityBehavior.java:36)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStartInitial.eventNotificationsCompleted(AtomicOperationProcessStartInitial.java:46)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationProcessStart.eventNotificationsCompleted(AtomicOperationProcessStart.java:45)
   at org.activiti.engine.impl.pvm.runtime.AbstractEventAtomicOperation.execute(AbstractEventAtomicOperation.java:56)
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:80)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:546)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperation(ExecutionEntity.java:541)
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.start(ExecutionEntity.java:335)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:72)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:31)
   at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:42)
   at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:42)
   at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130)
   at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:40)
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:33)
   at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceById(RuntimeServiceImpl.java:63)
   at org.activiti.explorer.ui.process.listener.StartProcessInstanceClickListener.buttonClick(StartProcessInstanceClickListener.java:71)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:606)
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:490)
   … 26 more
Caused by: javax.script.ScriptException: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:122)
   at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:233)
   at org.activiti.engine.impl.scripting.ScriptingEngines.evaluate(ScriptingEngines.java:69)
   … 96 more
Caused by: javax.script.ScriptException: org.forgerock.openidm.objset.InternalServerErrorException
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:323)
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:116)
   … 98 more
Caused by: org.forgerock.openidm.objset.InternalServerErrorException
   at org.forgerock.openidm.objset.JsonResourceObjectSet.convertException(JsonResourceObjectSet.java:85)
   at org.forgerock.openidm.objset.JsonResourceObjectSet.query(JsonResourceObjectSet.java:172)
   at org.forgerock.openidm.objset.ObjectSet$query.call(Unknown Source)
   at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
   at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:120)
   at Script1.run(Script1.groovy:3)
   at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:320)
   … 99 more
Caused by: org.forgerock.json.resource.JsonResourceException
   at org.forgerock.openidm.workflow.HttpRemoteJsonResource.handle(HttpRemoteJsonResource.java:234)
   at org.forgerock.json.resource.JsonResourceAccessor.query(JsonResourceAccessor.java:161)
   at org.forgerock.openidm.objset.JsonResourceObjectSet.query(JsonResourceObjectSet.java:167)
   … 105 more
Caused by: java.lang.NullPointerException
   at org.forgerock.openidm.workflow.HttpRemoteJsonResource.handle(HttpRemoteJsonResource.java:145)
   … 107 more



Any comment would be appreciated,

Thanks a lot,

Have a great day!


Sam

Outcomes