What causes "org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped"' while creating the jBPM human task sample project in JBDS ?
Issue
- I created a jBPM5 human task sample project in JBDS but when running ProcessTest it throws the following exception:
04/07 18:06:33,720[main] ERROR hibernate.impl.SessionFactoryImpl.<init> - Error in named query: ProcessInstancesWaitingForEvent
org.hibernate.hql.ast.QuerySyntaxException: ProcessInstanceInfo is not mapped [select processInstanceInfo.processInstanceId from ProcessInstanceInfo processInstanceInfo join processInstanceInfo.eventTypes eventTypes where eventTypes = :type]
at org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:181)
...
Can you please advise what causes this ERROR?
Environment
- JBoss Enterprise Business Rules Management System Platform (BRMS)
- 5.3.0
- jBPM
- 5.x
- JBoss Developer Studio (JBDS)
- 5.0.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
