[#11306] - Error after upgrading jasperreports server from 6.1.0 to 6.4.3

Category:
Bug report
Priority:
Immediate
Status:
New
Project: Severity:
Block
Resolution:
Open
Component: Reproducibility:
N/A
Assigned to:

2018-10-25 00:25:20,059 ERROR LazyInitializationException,http-bio-8080-exec-1:42 - failed to lazily initialize a collection of role: com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoUser.roles, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoUser.roles, no session or session was closed
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:380)
at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:372)
at org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:119)
at org.hibernate.collection.PersistentSet.size(PersistentSet.java:162)
at com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoUser.toClient(RepoUser.java:344)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeServiceImpl.getClientProfileAttributes(ProfileAttributeServiceImpl.java:435)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeServiceImpl.getProfileAttributesForPrincipal(ProfileAttributeServiceImpl.java:853)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeServiceImpl.getProfileAttributesForPrincipal(ProfileAttributeServiceImpl.java:864)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ProfileAttributeServiceImpl.getProfileAttributesForPrincipal(ProfileAttributeServiceImpl.java:868)
at sun.reflect.GeneratedMethodAccessor275.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:96)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:260)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:94)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy47.getProfileAttributesForPrincipal(Unknown Source)
at sun.reflect.GeneratedMethodAccessor275.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:64)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy53.getProfileAttributesForPrincipal(Unknown Source)
at com.aconex.reporting.attributes.AconexProfileAttributeProvider.getAttributeValueFromPersistenceStore(AconexProfileAttributeProvider.java:49)
at com.aconex.reporting.attributes.AconexProfileAttributeProvider.getAttribute(AconexProfileAttributeProvider.java:36)
at com.aconex.reporting.attributes.AconexReportParameterProvider.getXmlEncodedCurrentProjectName(AconexReportParameterProvider.java:53)
at com.aconex.reporting.attributes.AconexReportParameterProvider.getParameter(AconexReportParameterProvider.java:45)
at com.aconex.reporting.attributes.AconexReportParameterProvider.getParameters(AconexReportParameterProvider.java:32)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.setBuiltinParameters(EngineServiceImpl.java:2337)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportParameters(EngineServiceImpl.java:1423)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportInputControlsInformation(EngineServiceImpl.java:2654)
at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportInputControlsInformation(EngineServiceImpl.java:2624)
at com.jaspersoft.ji.engine.ProEngineServiceImpl.getReportInputControlsInformationInternal(ProEngineServiceImpl.java:94)
at com.jaspersoft.ji.engine.ProEngineServiceImpl.getReportInputControlsInformation(ProEngineServiceImpl.java:57)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy67.getReportInputControlsInformation(Unknown Source)
at com.jaspersoft.ji.war.action.cascade.ReportOptionsInputControlLogic.getReportInputControlsInformation(ReportOptionsInputControlLogic.java:55)

v6.4.3
lokesh.rongali's picture
Joined: Oct 25 2018 - 4:09am
Last seen: 4 years 5 months ago
Feedback