[jboss-jira] [JBoss JIRA] Updated: (JBPM-1075) org.hibernate.hql.ast.QuerySyntaxException in org.jbpm.db.TaskMgmtSession.findPooledTaskInstances(List actorIds)

Jo Geraerts (JIRA) jira-events at lists.jboss.org
Wed Oct 24 04:27:01 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBPM-1075?page=all ]

Jo Geraerts updated JBPM-1075:
------------------------------

    Attachment: patch

I think this patch will fix the issue.

Sorry, it's a little verbose  but i couldnt get eclipse to make it some smaller.





> org.hibernate.hql.ast.QuerySyntaxException in org.jbpm.db.TaskMgmtSession.findPooledTaskInstances(List actorIds)
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: JBPM-1075
>                 URL: http://jira.jboss.com/jira/browse/JBPM-1075
>             Project: JBoss jBPM
>          Issue Type: Bug
>          Components: Core Engine
>    Affects Versions: jBPM jPDL 3.2, jBPM 3.1.4, jBPM jPDL 3.2 beta 2,  jBPM jPDL 3.2.1, jBPM jPDL 3.2.2
>         Environment: java version "1.5.0_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05)
> Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing)
>            Reporter: Jo Geraerts
>         Assigned To: Tom Baeyens
>         Attachments: patch
>
>
> I encountered this bug when I was developping an application with jboss seam. At some point there was a Actor with no group ids. The processInstanceList component will invoke the getGroupTaskList(List actorIds)  with a List with 0 entries. 
> So we end up in org.jbpm.db.TaskMgmtSession.findPooledTaskInstances(actorIds) with the same List ( with 0 entries)
> I get this Exception:
> 10:43:42,265 ERROR [TaskMgmtSession] org.hibernate.hql.ast.QuerySyntaxException: unexpected end of s
> ubtree [
>       select distinct ti
>       from org.jbpm.taskmgmt.exe.PooledActor pooledActor
>            join pooledActor.taskInstances ti
>       where pooledActor.actorId in (  )
>         and ti.actorId is null
>         and ti.isSuspended != true
>         and ti.isOpen = true
>   ]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list