[jboss-user] [jBPM] - abortProcessInstance causes an exception
jnorris
do-not-reply at jboss.com
Thu Dec 13 15:53:20 EST 2012
jnorris [https://community.jboss.org/people/jnorris] created the discussion
"abortProcessInstance causes an exception"
To view the discussion, visit: https://community.jboss.org/message/783357#783357
--------------------------------------------------------------
When the ksession.abortProcessInstance( pID ) is invoked a Hibernate exception is being thrown:
Caused by: java.lang.IllegalArgumentException: org.hibernate.QueryParameterException: could not locate named parameter [processInstanceId]
at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:206)
at org.jbpm.task.service.persistence.TaskPersistenceManager.queryWithParameters(TaskPersistenceManager.java:346)
at org.jbpm.task.service.persistence.TaskPersistenceManager.queryWithParametersInTransaction(TaskPersistenceManager.java:295)
... 72 more
Caused by: org.hibernate.QueryParameterException: could not locate named parameter [processInstanceId]
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:99)
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:105)
at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:437)
at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:407)
at org.hibernate.ejb.QueryImpl.setParameter(QueryImpl.java:201)
This occurs with the jbpm-5.4.0/drools-5.5.0 runtime jars.
Has anyone else run into this issue?
Thanks,
Jim
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/783357#783357]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121213/9b68690f/attachment.html
More information about the jboss-user
mailing list