AnsweredAssumed Answered

Unknown property used in expression

Question asked by demouser on Dec 30, 2013
Latest reply on Jan 6, 2014 by jbarrez
UseCase1: ServiceTask1,ServiceTask2,ServiceTask3,ServiceTask4
UseCase2: ServiceTask1,ServiceTask2,UserTask1,ServiceTask3,ServiceTask4


All the ServiceTask configuration as follows,
Main Config->  "#{myBean.exeucte(input)}"
Note input is the dto which i can pass to all the ServiceTask. Usecase 1 executed successfully.

Issue in UseCase2 by adding UserTask1. From Activity Explorer for my UserTask1 i tired to click completTask button geting below exception.

SEVERE [com.vaadin.Application] Terminal error:: com.vaadin.event.ListenerMethod$MethodException: Invocation of method buttonClick in org.activiti.explorer.ui.form.FormPropertiesForm$1 failed.
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.ui.Button.fireClick(Button.java:567) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.ui.Button.changeVariables(Button.java:223) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.changeVariables(AbstractCommunicationManager.java:1460) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariableBurst(AbstractCommunicationManager.java:1404) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.handleVariables(AbstractCommunicationManager.java:1329) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.AbstractCommunicationManager.doHandleUidlRequest(AbstractCommunicationManager.java:761) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.CommunicationManager.handleUidlRequest(CommunicationManager.java:325) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.terminal.gwt.server.AbstractApplicationServlet.service(AbstractApplicationServlet.java:501) [vaadin-6.8.8.jar:6.8.8]
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
   at org.activiti.explorer.filter.ExplorerFilter.doFilter(ExplorerFilter.java:44) [activiti-explorer-5.13.jar:]
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
   at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final-RECOMPILE.jar:7.1.1.Final]
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
   at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_10]
Caused by: com.vaadin.event.ListenerMethod$MethodException: Invocation of method componentEvent in org.activiti.explorer.ui.task.TaskDetailPanel$4 failed.
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:530) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.event.EventRouter.fireEvent(EventRouter.java:164) [vaadin-6.8.8.jar:6.8.8]
   at com.vaadin.ui.AbstractComponent.fireEvent(AbstractComponent.java:1219) [vaadin-6.8.8.jar:6.8.8]
   at org.activiti.explorer.ui.form.FormPropertiesForm.access$000(FormPropertiesForm.java:45) [activiti-explorer-5.13.jar:]
   at org.activiti.explorer.ui.form.FormPropertiesForm$1.buttonClick(FormPropertiesForm.java:139) [activiti-explorer-5.13.jar:]
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_10]
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.7.0_10]
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [rt.jar:1.7.0_10]
   at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.7.0_10]
   at com.vaadin.event.ListenerMethod.receiveEvent(ListenerMethod.java:510) [vaadin-6.8.8.jar:6.8.8]
   … 27 more
Caused by: org.activiti.engine.ActivitiException: Unknown property used in expression: "#{myBean.exeucte(input)}"
   at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:53) [activiti-engine-5.13.jar:5.13]
   at org.activiti.engine.impl.bpmn.behavior.ServiceTaskExpressionActivityBehavior.execute(ServiceTaskExpressionActivityBehavior.java:45) [activiti-engine-5.13.jar:5.13]
   at org.activiti.engine.impl.pvm.runtime.AtomicOperationActivityExecute.execute(AtomicOperationActivityExecute.java:44) [activiti-engine-5.13.jar:5.13]
   at org.activiti.engine.impl.interceptor.CommandContext.performOperation(CommandContext.java:87) [activiti-engine-5.13.jar:5.13]
   at org.activiti.engine.impl.persistence.entity.ExecutionEntity.performOperationSync(ExecutionEntity.java:532) [activiti-engine-5.13.jar:5.13]
   




Outcomes