#1 2019-01-10 00:31:09

vaibhav
Member
Registered: 2018-12-31
Posts: 5

Error in Reportserver Export and Import

I am getting this error when i am trying to export a report from enterprise evaluation version to community version in another machine:

net.datenwerke.eximport.exceptions.ImportException: An error occured during import: Could not import object: Could not import object: Could not import object: cubeFlag<br>    at net.datenwerke.eximport.ImportServiceImpl.importData(ImportServiceImpl.java:73)<br>    at net.datenwerke.rs.eximport.server.eximport.ImportRpcServiceImpl.performImport(ImportRpcServiceImpl.java:96)<br>    at com.google.inject.persist.jpa.JpaLocalTxnInterceptor.invoke(JpaLocalTxnInterceptor.java:66)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>    at java.lang.reflect.Method.invoke(Method.java:498)<br>    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:587)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:333)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:303)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)<br>    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)<br>    at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)<br>    at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:109)<br>    at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)<br>    at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)<br>    at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)<br>    at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)<br>    at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168)<br>    at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)<br>    at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)<br>    at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)<br>    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)<br>    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)<br>    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)<br>    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:94)<br>    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)<br>    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)<br>    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)<br>    at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:620)<br>    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)<br>    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:502)<br>    at org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)<br>    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)<br>    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2527)<br>    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2516)<br>    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)<br>    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)<br>    at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)<br>    at java.lang.Thread.run(Thread.java:748)<br>Caused by: net.datenwerke.eximport.exceptions.ImportException: Could not import object: Could not import object: Could not import object: cubeFlag<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:88)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:50)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:1)<br>    at net.datenwerke.eximport.im.ImporterImpl.doImport(ImporterImpl.java:98)<br>    at net.datenwerke.eximport.im.ImporterImpl.importData(ImporterImpl.java:68)<br>    at net.datenwerke.eximport.im.ImportSupervisor.importData(ImportSupervisor.java:71)<br>    at net.datenwerke.eximport.ImportServiceImpl.importData(ImportServiceImpl.java:68)<br>    ... 52 more<br>Caused by: net.datenwerke.eximport.exceptions.ImportException: Could not import object: Could not import object: cubeFlag<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:88)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:50)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:1)<br>    at net.datenwerke.eximport.im.ImporterImpl.doImport(ImporterImpl.java:98)<br>    at net.datenwerke.eximport.im.ImporterImpl.importReference(ImporterImpl.java:83)<br>    at net.datenwerke.eximport.im.ImportSupervisor.getReferencedObject(ImportSupervisor.java:192)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importReferenceProperty(BasicObjectImporter.java:182)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importProperties(BasicObjectImporter.java:113)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:81)<br>    ... 58 more<br>Caused by: net.datenwerke.eximport.exceptions.ImportException: Could not import object: cubeFlag<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:88)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:50)<br>    at net.datenwerke.treedb.ext.service.eximport.TreeNodeImporter.doImportCreateMode(TreeNodeImporter.java:1)<br>    at net.datenwerke.eximport.im.ImporterImpl.doImport(ImporterImpl.java:98)<br>    at net.datenwerke.eximport.im.ImporterImpl.importReference(ImporterImpl.java:83)<br>    at net.datenwerke.eximport.im.ImportSupervisor.getReferencedObject(ImportSupervisor.java:192)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importReferenceProperty(BasicObjectImporter.java:182)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importPropertyCollection(BasicObjectImporter.java:204)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importProperties(BasicObjectImporter.java:111)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:81)<br>    ... 66 more<br>Caused by: java.lang.NoSuchFieldException: cubeFlag<br>    at java.lang.Class.getDeclaredField(Class.java:2070)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:253)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:261)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:261)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:261)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:261)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:261)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:246)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.getField(BasicObjectImporter.java:242)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importProperties(BasicObjectImporter.java:102)<br>    at net.datenwerke.eximport.im.objectimporters.BasicObjectImporter.importObject(BasicObjectImporter.java:81)<br>    ... 75 more<br>

Offline

#2 2019-01-10 07:51:52

eduardo
Administrator
Registered: 2016-11-01
Posts: 898
Website

Re: Error in Reportserver Export and Import

Hi vaibhav,

please check the version of both installations (rsversion.properties). Are these the same?

Regards,
Eduardo

Offline

#3 2019-01-10 18:20:00

vaibhav
Member
Registered: 2018-12-31
Posts: 5

Re: Error in Reportserver Export and Import

Community version:
version=RS3.0.3-6002
schemaversion=RS3.0-9
buildDate=1512818790612-2017-12-09-12-26-19

Enterprise evaluation version:
version=RS3.0.5-6005
schemaversion=RS3.0-11
buildDate=1540891986973-2018-10-30-10-32-54

Does this mean we cannot move from enterprise version to community version?

Offline

#4 Yesterday 09:34:59

eduardo
Administrator
Registered: 2016-11-01
Posts: 898
Website

Re: Error in Reportserver Export and Import

Hi vaibhav,

you cannot export a report from one version to another in this case, since the data have changed, in this case, the cubeFlag was not yet present in 3.0.3-6002.

Regards,
Eduardo

Offline

#5 Today 16:46:18

vaibhav
Member
Registered: 2018-12-31
Posts: 5

Re: Error in Reportserver Export and Import

Thanks for the confirmation.. Can i somehow do it through the database tables in the reportserver database. I am assuming whatever is being added in the reportserver is getting stored here.

It is frequently a case that the production server reportserver and development versions are not of the same version

Last edited by vaibhav (Today 16:46:42)

Offline

Board footer

Powered by FluxBB