[#11166] - Exporting of existing postgres data throwing an error in jasperserver 6.1.0

Category:
Bug report
Priority:
Immediate
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:

HI,

Earlier we migrated from 5.6.0 to 6.1.0 using jasper server overlay version by upgrade guide provided by TIBCO. Then we wanted to migrate from 6.1.0v to 6.43, then we ran "js-export.sh --everything --output-zip js-<span class="UpgradeVariablesOlderPointVersion">6.2</span>-export.zip" threw the following error.

Exporting role ROLE_ANONYMOUS
-- JasperServer: ProfileAttributeCacheImpl shutdown called. This normal shutdown operation.
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole#7]
org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole#7]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:419)
at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:154)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:143)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:174)
at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190)
at com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoRole_$$_javassist_42.toClient(RepoRole_$$_javassist_42.java)
at com.jaspersoft.jasperserver.api.metadata.user.domain.impl.hibernate.RepoObjectPermission.toClient(RepoObjectPermission.java:143)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ObjectPermissionServiceImpl.makeObjectPermissionClientList(ObjectPermissionServiceImpl.java:725)
at com.jaspersoft.jasperserver.api.metadata.user.service.impl.ObjectPermissionServiceImpl.getObjectPermissionsForObject(ObjectPermissionServiceImpl.java:568)
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.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.$Proxy24.getObjectPermissionsForObject(Unknown Source)
at com.jaspersoft.jasperserver.export.modules.BaseExporterModule.handlePermissions(BaseExporterModule.java:227)
at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.writeFolder(ResourceExporter.java:272)
at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.exportFolder(ResourceExporter.java:250)
at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.processUri(ResourceExporter.java:216)
at com.jaspersoft.jasperserver.export.modules.repository.ResourceExporter.process(ResourceExporter.java:170)
at com.jaspersoft.jasperserver.export.ExporterImpl.invokeModules(ExporterImpl.java:185)
at com.jaspersoft.jasperserver.export.ExporterImpl.process(ExporterImpl.java:143)
at com.jaspersoft.jasperserver.export.ExporterImpl.performExport(ExporterImpl.java:119)
at com.jaspersoft.jasperserver.export.ExportCommandImpl.process(ExportCommandImpl.java:57)
at com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:94)
at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43)

Can you help on this issue??

v6.1.0
hibernate
kaanth.katta's picture
Joined: Sep 10 2018 - 9:50pm
Last seen: 3 years 8 months ago
Feedback
randomness