Skip to Content
0
Former Member
Mar 25, 2010 at 09:59 AM

Export report with param integer=0

28 Views

Hi there,

I try to export a report to PDF/RTF with java and this shows my an exception.

com.crystaldecisions.sdk.occa.report.lib.ReportSDKParameterFieldException: In sommige parameters ontbreken waarden---- Error code:-2147217394 Error code name:missingParameterValueError

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.if(SourceFile:237)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:147)

at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(SourceFile:128)

The dutch text says: some params don't have values. When I open the report with a reportViewer with the same params and values there is no exception shown and the report opens correctly.

I have done some research and I found out that the exception is throws because a report param is of type Integer and I put value '0' in it.

Why is this exception thrown and is this a bug??