Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 996030

Summary: Lazy instantiation exception when querying activity server via REST API
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Gary Brown <gbrown>
Component: RT GovernanceAssignee: Gary Brown <gbrown>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Pechanec <jpechane>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, soa-p-jira
Target Milestone: ER1   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 996417    

Description Gary Brown 2013-08-12 09:08:32 UTC
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):


How reproducible:

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"
}

Actual results:
Exception

Expected results:
List of activity events

Additional info:

Comment 1 JBoss JIRA Server 2013-08-12 09:24:16 UTC
Gary Brown <gary> updated the status of jira RTGOV-245 to Resolved

Comment 2 Jiri Pechanec 2013-09-17 12:12:30 UTC
Verified in ER2

Comment 6 JBoss JIRA Server 2014-07-02 09:19:22 UTC
Gary Brown <gary> updated the status of jira RTGOV-245 to Closed