Could not load exporter

When trying to upload a single BIRT report I get the following message, using the reportserver version 2.2.2.563

java.lang.IllegalArgumentException: Could not load exporters

at net.datenwerke.rs.eximport.service.eximport.im.http.HttpImportServiceImpl.getInvolvedExporterIds(HttpImportServiceImpl.java:115)

at net.datenwerke.rs.eximport.server.eximport.ImportRpcServiceImpl.initViaFile(ImportRpcServiceImpl.java:77)

at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)

at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)

at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)

at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)

at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)

at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)

at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)

at net.datenwerke.security.service.security.aop.SecurityCheckInterceptor.invoke(SecurityCheckInterceptor.java:110)

at net.datenwerke.gf.service.gwtstacktrace.CatchStacktraceInterceptor.invoke(CatchStacktraceInterceptor.java:38)

at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263)

at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178)

at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62)

at com.google.inject.persist.PersistFilter.doFilter(PersistFilter.java:89)

at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163)

at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58)

at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118)

at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)

at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)

at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)

at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)

at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)

at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:188)

at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2522)

at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2511)

at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Unknown Source)

Caused by: java.lang.RuntimeException: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at net.datenwerke.eximport.ExportDataAnalizerService.getExporterElements(ExportDataAnalizerService.java:145)

at net.datenwerke.eximport.ExportDataAnalizerService.getExporterClasses(ExportDataAnalizerService.java:159)

at net.datenwerke.rs.eximport.service.eximport.im.http.HttpImportServiceImpl.getInvolvedExporterIds(HttpImportServiceImpl.java:112)
… 44 more
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.rangeCheck(Unknown Source)

at java.util.ArrayList.get(Unknown Source)

at nu.xom.Elements.get(Unknown Source)

at net.datenwerke.eximport.ExportDataAnalizerService.getExporterElements(ExportDataAnalizerService.java:143)
… 46 more

Hello and welcome to the ReportServer Forums.

The stacktrace looks like you are importing objects. Could you explain in a bit more detail what steps lead to the above error message?

Cheers,
Arno

I am importing *.rptdesign files as zip but the same behaviour is shown when I upload the xml of an BIRT Report.

Somehow it is not possible to import an rptdesign file to the reportserver.

The file itself is plain simple BIRT report, I tried older BIRT version 3.2.* and the latest 4.5 both could not be imported by the file importer of the admin area.

Hi,

I believe there might be a misunderstanding as to what the import function is used for: Its purpose is to move data from one reportserver instance to another: It will not accept plain birt files, but expects a export file, created by reportserver.

To upload reports to reportserver you use the report management section of the administration module. Step-by-Step instructions are given in the final section of this blog post: https://reportserver.net/blog/2013/05/11/eclipse-birt-with-reportserver-the-basics/

Also check out “Report Management” in the administrators guide:
https://reportserver.net/en/guides/admin/chapters/Report-Management/

More information on import/export is available here:
https://reportserver.net/en/guides/admin/chapters/Import-and-Export/

Cheers,
Thorsten