cancel
Showing results for 
Search instead for 
Did you mean: 

com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: rowIndex

Former Member
0 Kudos

Hello,

I'm trying to upgrade from an older version of the Java CR libraries to Crystal Reports for Eclipse 2.

I downloaded the latest version, replaced all the jar files and then tried to open a report like this

ReportClientDocument doc = new ReportClientDocument()

doc.open("c:
report.rpt")

This gives me the following error:

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

caused by: java.lang.NoSuchFieldError: rowIndex at

com.crystaldecisions.reports.valuegrid.ValueGridFormulaFunctions.ValueGridObjectFunctionFactory$GridValueAtFunction

Does anyone know how to get rid of this error?

Kind regards,

Dennis Westra

Accepted Solutions (1)

Accepted Solutions (1)

aasavaribhave
Advisor
Advisor
0 Kudos

try : download CR 2008 evaluation version and open\run the report in CR and save and try again.

Former Member
0 Kudos

Hello,

This did not solve my problem. I still get the same error. Do you have other suggestions?

aasavaribhave
Advisor
Advisor
0 Kudos

If i understand correct you ran\saved the report in CR2008 without any error and you now open the newly saved report in your CRJ app, is that correct? Are you trying to change report DB connection at runtime? what line in the code throws this error? if you point to a different runtime database, are you able to point the report to this database in crystal designer?

Former Member
0 Kudos

I created a new report with just a text area containing some text. The report has no connection to the database.

When I open the report with ReportClientDocument.Open() this gives me the error. I havent tried to open an existing report yet. I wanted to start simple by creating a new report.

I assume that a database connection is not mandatory. Or am I incorrect?

Former Member
0 Kudos

Could this error be caused by jar file dependencies? The project I am working on has quite a few jar files so there might be some classes who appear multiple times on the classpath.

aasavaribhave
Advisor
Advisor
0 Kudos

thats possible. Use only the once that CRJ runtime comes with and any DB driver Jars you have.

Former Member
0 Kudos

I am also facing the same problem when we try to upgrade the run time from 11.x to 12.x.

There are multiple new jar files. What are the required ones - Is there a guide for migration available ?

Answers (0)