Error when getting a Task
Posted: Mon Apr 03, 2017 11:49 am
When I try to retrieve a Task for a specific ID, I get the following Hibernate error
What are the possible causes for this? This happens very rarely, so my logic to get the Task record for a given ID is correct, so I fear there is some edge case scenario I am missing. Can you help?
Code: Select all
java.lang.IllegalArgumentException: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [SELECT a.id FROM com.bullhorn.entity.client.ClientContact a WHERE a.id IN () AND (a.status <> :_isPrivateFilter OR a.owner.id = :_userIdFilter OR :_userIdFilter IN ELEMENTS( a.secondaryOwners ))]