Gary Brown created RTGOV-186:
--------------------------------
Summary: Hibernate exception when accessing call trace
Key: RTGOV-186
URL:
https://issues.jboss.org/browse/RTGOV-186
Project: RTGov (Run Time Governance)
Issue Type: Bug
Reporter: Gary Brown
Assignee: Gary Brown
Fix For: 1.0.0.M5
{noformat}
10:54:24,843 SEVERE [org.overlord.rtgov.call.trace.CallTraceProcessor]
(http-/127.0.0.1:8080-2) Failed to retrieve activity events for context '1' :
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of
role: org.overlord.rtgov.activity.model.ActivityType.context, could not initialize proxy -
no Session
at
org.hibernate.collection.internal.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:566)
[hibernate-core-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]
at
org.hibernate.collection.internal.AbstractPersistentCollection.withTemporarySessionIfNeeded(AbstractPersistentCollection.java:186)
[hibernate-core-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]
at
org.hibernate.collection.internal.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:545)
[hibernate-core-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]
at
org.hibernate.collection.internal.AbstractPersistentCollection.read(AbstractPersistentCollection.java:124)
[hibernate-core-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]
at org.hibernate.collection.internal.PersistentBag.iterator(PersistentBag.java:266)
[hibernate-core-4.2.0.Final-redhat-1.jar:4.2.0.Final-redhat-1]
at
org.overlord.rtgov.call.trace.CallTraceProcessor.loadActivityUnits(CallTraceProcessor.java:134)
[call-trace-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.rtgov.call.trace.CallTraceProcessor.createCallTrace(CallTraceProcessor.java:90)
[call-trace-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.rtgov.call.trace.rest.RESTCallTraceServer.getCallTrace(RESTCallTraceServer.java:141)
[call-trace-rests-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at
org.overlord.rtgov.call.trace.rest.RESTCallTraceServer.instance(RESTCallTraceServer.java:110)
[call-trace-rests-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_07]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[rt.jar:1.7.0_07]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[rt.jar:1.7.0_07]
at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_07]
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
at
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
[resteasy-jaxrs-2.3.5.Final-redhat-1.jar:2.3.5.Final-redhat-1]
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira