[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-3084) java.lang.ClassCastException: org.jbpm.ruleflow.instance.RuleFlowProcessInstance

Kris Verlaenen (JIRA) jira-events at lists.jboss.org
Wed Jun 22 19:18:23 EDT 2011


     [ https://issues.jboss.org/browse/JBRULES-3084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kris Verlaenen resolved JBRULES-3084.
-------------------------------------

    Fix Version/s: 5.2.0.Final
       Resolution: Done


> java.lang.ClassCastException: org.jbpm.ruleflow.instance.RuleFlowProcessInstance
> --------------------------------------------------------------------------------
>
>                 Key: JBRULES-3084
>                 URL: https://issues.jboss.org/browse/JBRULES-3084
>             Project: Drools
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: drools-core
>    Affects Versions: 5.2.0.M1
>            Reporter: Artur Wójcik
>            Assignee: Kris Verlaenen
>             Fix For: 5.2.0.Final
>
>
> I got exception during start process:
> Caused by: java.lang.ClassCastException: org.jbpm.ruleflow.instance.RuleFlowProcessInstance
> 	at org.drools.command.ExecuteCommand.execute(ExecuteCommand.java:50)
> 	at org.drools.command.ExecuteCommand.execute(ExecuteCommand.java:31)
> 	at org.drools.persistence.SingleSessionCommandService.execute(SingleSessionCommandService.java:308)
> 	at org.drools.command.impl.CommandBasedStatefulKnowledgeSession.execute(CommandBasedStatefulKnowledgeSession.java:476)
> 	at org.drools.container.spring.beans.StatefulKnowledgeSessionBeanFactory.internalAfterPropertiesSet(StatefulKnowledgeSessionBeanFactory.java:93)
> 	at org.drools.container.spring.beans.AbstractKnowledgeSessionBeanFactory.afterPropertiesSet(AbstractKnowledgeSessionBeanFactory.java:108)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
> 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
> I try run as drools:start-process, example file:
>     <drools:kstore id="knowledgeStore"/>
>     <drools:kbase id="knowledgeBase">
>         <drools:resources>
>             <drools:resource type="BPMN2" source="classpath:jbpm/test.bpmn"/>
>         </drools:resources>
>     </drools:kbase>
>     <drools:ksession id="jpaSingleSessionCommandService" type="stateful" kbase="knowledgeBase">
>         <drools:configuration>
>             <drools:work-item-handlers>
>             </drools:work-item-handlers>
>             <drools:jpa-persistence>
>                 <drools:transaction-manager ref="transactionManagerJBPM"/>
>                 <drools:entity-manager-factory ref="entityManagerFactoryJBPM"/>
>             </drools:jpa-persistence>
>         </drools:configuration>
> 	<drools:script>
>      <drools:start-process process-id="TEST">
>      </drools:start-process>
> 	</drools:script>
>     </drools:ksession>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list