Red Hat Bugzilla – Bug 996030
Lazy instantiation exception when querying activity server via REST API
Last modified: 2014-07-02 05:19:22 EDT
Description of problem:
When querying activity events through the Activity Server REST API, using a REST client, the server throws a lazy instantiation exception in hibernate when trying to construct the JSON representation of the activity events.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Execute a business transaction to create some activity events in the server.
2. POST the following message to: http://localhost:8080/overlord-rtgov/activity/query with basic auth credentials of user: admin password: overlord
"format" : "jpql",
"expression" : "SELECT at FROM ActivityType at"
List of activity events
Gary Brown <email@example.com> updated the status of jira RTGOV-245 to Resolved
Verified in ER2
Gary Brown <firstname.lastname@example.org> updated the status of jira RTGOV-245 to Closed