[jbpm-dev] Classcast exception

Tom Baeyens tbaeyens at redhat.com
Fri Aug 7 11:12:31 EDT 2009


on my box, the integration test runs fine.
do you still see a problem ?

i also wonder why you made the changes to install/build.xml as it should not yet 
be used.

regards, tom.


Heiko Braun wrote:
> It's this line:
> 
> List<ProcessDefinitionImpl> processDefinitions = 
> (List<ProcessDefinitionImpl>) parse.getDocumentObject();
> 
> 
> On Aug 7, 2009, at 3:25 PM, Heiko Braun wrote:
> 
>>
>>
>> What do you mean? How should that be related:
>>
>>>>>> java.lang.ClassCastException:
>>>>>> org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast
>>>>>> to
>>>>>> java.util.List
>>
>>
>> On Aug 7, 2009, at 3:22 PM, Tom Baeyens wrote:
>>
>>> it's the jboss installation that is probably broke.
>>>
>>> regards, tom.
>>>
>>>
>>> Ronald van Kuijk wrote:
>>>> Last run is recent and seems fine: 
>>>> http://hudson.jboss.org/hudson/job/jbpm4-base/463/
>>>> Ronald
>>>> Op 07-08-09 15:18, Heiko Braun schreef:
>>>>> Is the hudson QA running? Does somebody look at it?
>>>>>
>>>>> /Heiko
>>>>>
>>>>> On Aug 7, 2009, at 3:16 PM, Heiko Braun wrote:
>>>>>
>>>>>
>>>>>> 15:15:23,645 INFO  [DefaultCommandService] exception while
>>>>>> executing
>>>>>> command
>>>>>> org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl at 58884a1d
>>>>>> java.lang.ClassCastException:
>>>>>> org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast
>>>>>> to
>>>>>> java.util.List
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:
>>>>>> 64)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal.repository.DeployerManager.deploy(DeployerManager.java:
>>>>>> 46)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .repository
>>>>>> .RepositorySessionImpl.getObject(RepositorySessionImpl.java:
>>>>>> 120)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .query
>>>>>> .ProcessDefinitionQueryImpl
>>>>>> .execute(ProcessDefinitionQueryImpl.java: 72)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm.internal.query.AbstractQuery.execute(AbstractQuery.java: 80)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .svc.DefaultCommandService.execute(DefaultCommandService.java:
>>>>>> 42)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .tx
>>>>>> .jta
>>>>>> .JtaTransactionInterceptor
>>>>>> .executeInExistingTx(JtaTransactionInterceptor.java:65)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .tx
>>>>>> .jta
>>>>>> .JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:
>>>>>> 51)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .tx
>>>>>> .jta
>>>>>> .JtaRetryInterceptor.executeWithoutRetry(JtaRetryInterceptor.java:
>>>>>> 56)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:
>>>>>> 48)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:
>>>>>> 61)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .pvm
>>>>>> .internal
>>>>>> .query
>>>>>> .ProcessDefinitionQueryImpl.list(ProcessDefinitionQueryImpl.java:
>>>>>> 141)
>>>>>>     at
>>>>>> org
>>>>>> .jbpm
>>>>>> .integration
>>>>>> .console
>>>>>> .ProcessManagementImpl
>>>>>> .getProcessDefinitions(ProcessManagementImpl.java:61)
>>>>>>
>>>>>> _______________________________________________
>>>>>> jbpm-dev mailing list
>>>>>> jbpm-dev at lists.jboss.org
>>>>>> https://lists.jboss.org/mailman/listinfo/jbpm-dev
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> jbpm-dev mailing list
>>>>> jbpm-dev at lists.jboss.org
>>>>> https://lists.jboss.org/mailman/listinfo/jbpm-dev
>>>>>
>>>> ------------------------------------------------------------------------ 
>>>>
>>>> _______________________________________________
>>>> jbpm-dev mailing list
>>>> jbpm-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/jbpm-dev
>>>
>>> -- 
>>> regards, tom.
>>>
>>
>> _______________________________________________
>> jbpm-dev mailing list
>> jbpm-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jbpm-dev
> 

-- 
regards, tom.



More information about the jbpm-dev mailing list