cancel
Showing results for 
Search instead for 
Did you mean: 

Exception in New Report

Former Member
0 Kudos

Hi,

I'm trying to get my Crystal Reports going with a simple pojo report, but I am running into a strange exception. On reportClientDoc.open(report, 0);

I get com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: rowIndex---- Error code:-2147467259 Error code name:failed. It then says "Caused by: java.lang.NoSuchFieldError: rowIndex." I have no idea where begin looking for the cause of my problem so any help would be appreciated.

Here's the full stack trace:

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: rowIndex---- Error code:-2147467259 Error code name:failed

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:282)

at com.businessobjects.sdk.erom.jrc.a.<init>(SourceFile:43)

at com.businessobjects.sdk.erom.jrc.ReportAgentFactory.createAgent(SourceFile:46)

at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.<init>(SourceFile:703)

at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:662)

at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(SourceFile:632)

at com.crystaldecisions.sdk.occa.report.application.ClientDocument.if(SourceFile:504)

at com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(SourceFile:669)

at com.adivi.ncsa.fasttrack.login.LoginAction.makeReport(LoginAction.java:80)

at com.adivi.ncsa.fasttrack.login.LoginAction.login(LoginAction.java:153)

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

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269)

at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:170)

at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)

at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)

at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)

at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)

at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)

at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)

at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)

at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462)

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

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

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

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

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

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

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

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

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

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

at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)

at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.lang.NoSuchFieldError: rowIndex

at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory$GridValueAtFunction.<clinit>(SourceFile:716)

at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory.<init>(SourceFile:80)

at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory.<clinit>(SourceFile:71)

at com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridFormulaFunctionDirectory.<clinit>(SourceFile:29)

at com.crystaldecisions.reports.dataengine.DataSourceManager.<clinit>(SourceFile:129)

at com.crystaldecisions.reports.dataengine.DataSourceManagerFactory.a(SourceFile:37)

at com.businessobjects.reports.reportconverter.v12.V12SaveLoader.a(SourceFile:236)

at com.businessobjects.reports.loader.ReportLoader.a(SourceFile:205)

at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:137)

at com.businessobjects.reports.sdk.JRCReportLoader.a(SourceFile:76)

at com.businessobjects.reports.sdk.requesthandler.ReportDocumentRequestHandler.a(SourceFile:136)

at com.businessobjects.reports.sdk.JRCCommunicationAdapter.<init>(SourceFile:225)

... 38 more

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Please download the sample from the following URL and modify it accordingly:

http://www.sdn.sap.com/irj/boc/index?rid=/library/uuid/e0bb2f5e-3e11-2c10-b9b5-855fa4106d84