Skip to Content
1
Former Member
Nov 18, 2014 at 12:20 PM

error when opening a webi report-- at reportengine.openDocument(docID)

398 Views

Hi,

I am trying to fetch the reports using the following code

//code

webireporten=(ReportEngine)enterpriseSession.getService("WebiReportEngine");

queryReport="SELECT SI_ID, SI_NAME, SI_PARENTID FROM CI_INFOOBJECTS WHERE SI_KIND = 'WEBI' AND SI_INSTANCE = 'false' ORDER BY SI_NAME ASC";

appObjects = infoStore.query(queryReport);

int appSize = appObjects.size();

for(int iIndex = 0,i=0; iIndex < appSize; iIndex++,i++)

{

IInfoObject objInfoObjectUNV = (IInfoObject)appObjects.get(iIndex);

DocumentInstance boDocumentInstance = webireporten.openDocument(objInfoObjectUNV.getID()); //getting error here

//code

I am using updated .jar files and I have no idea about the error.The error details are as below,

Exception in thread "main" com.businessobjects.sdk.core.server.CommunicationException$InvalidServerResponseException: (Error: RWI 00200)

at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)

at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)

at com.businessobjects.rebean.wi.impl.engine.ReportEngineContext.initUserServer(ReportEngineContext.java:442)

at com.businessobjects.rebean.wi.impl.services.ConfigurationServiceImpl.getAppSettings(ConfigurationServiceImpl.java:166)

at com.businessobjects.rebean.wi.impl.engine.DocumentPropertiesHelper.updateComputedProperties(DocumentPropertiesHelper.java:78)

at com.businessobjects.rebean.wi.impl.services.DocumentLoadingServiceImpl.loadOutputResponse(DocumentLoadingServiceImpl.java:250)

at com.businessobjects.rebean.wi.impl.services.DocumentLoadingServiceImpl.updateWithOutputResponses(DocumentLoadingServiceImpl.java:303)

at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.loadResponses(DocumentInstanceManagementServiceImpl.java:967)

at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.openDocument(DocumentInstanceManagementServiceImpl.java:177)

at com.businessobjects.rebean.wi.impl.services.DocumentInstanceManagementServiceImpl.openDocument(DocumentInstanceManagementServiceImpl.java:80)

at com.businessobjects.rebean.wi.internal.WIReportEngine.openDocument(WIReportEngine.java:429)

at com.businessobjects.rebean.wi.internal.WIReportEngine.openDocument(WIReportEngine.java:438)

at org.bukhantsov.javatool.Program.main(Program.java:89)

Caused by: com.businessobjects.sdk.core.server.CommunicationException$UnexpectedServerException: overflow while reading long

at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:152)

at com.businessobjects.sdk.core.exception.ExceptionBuilder.make(ExceptionBuilder.java:109)

at com.businessobjects.sdk.core.server.internal.session.ConnectSessionCommand.execute(ConnectSessionCommand.java:108)

at com.businessobjects.sdk.core.server.internal.corba.CorbaServerImpl.doProcess(CorbaServerImpl.java:79)

at com.businessobjects.sdk.core.server.internal.AbstractServer.processIt(AbstractServer.java:171)

at com.businessobjects.sdk.core.server.internal.AbstractServer.process(AbstractServer.java:133)

at com.businessobjects.rebean.wi.impl.engine.ReportEngineContext.initUserServer(ReportEngineContext.java:405)

... 10 more

Caused by: com.crystaldecisions.thirdparty.org.omg.CORBA.MARSHAL: overflow while reading long minor code: 0x4f4f0008 completed: No

at com.crystaldecisions.thirdparty.com.ooc.CORBA.InputStream._OB_readLongUnchecked(InputStream.java:1638)

at com.crystaldecisions.thirdparty.com.ooc.CORBA.InputStream.read_long(InputStream.java:574)

at com.crystaldecisions.thirdparty.com.ooc.CORBA.InputStream.read_ulong(InputStream.java:580)

at com.businessobjects.common.CdzClusterMgmt.utf8stringHelper.read(Unknown Source)

at com.businessobjects.common.CdzClusterMgmt.SessionInfoHelper.read(Unknown Source)

at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.WICDZServer._WICDZUserSessionStub.openSession(_WICDZUserSessionStub.java:56)

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.crystaldecisions.enterprise.ocaframework.ManagedService.invoke(ManagedService.java:356)

at com.crystaldecisions.enterprise.ocaframework.idl.OCA.OCAcdz.WICDZServer._WICDZUserSessionProxy.openSession(_WICDZUserSessionProxy.java:723)

at com.businessobjects.rebean.wi.newserver.exec.WebiUserSessionExecutor.openSession(WebiUserSessionExecutor.java:23)

at com.businessobjects.sdk.core.server.internal.session.ConnectSessionCommand.execute(ConnectSessionCommand.java:94)

... 14 more

Please help me, thanks in advance.