Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how do I diagnose No error when using RAS SDK ?

How do I diagnose the "No error." message to figure out what the real error is?

I've enabled -crpetrace 7 in the Report Application Server, but the logs it generates don't mean much to me.

I 'm attempting to use the SDK via Java. Some existing reports work fine with the RAS, but some don't (or I wouldn't be posting here). The current one I'm having issue with has 2 tables, (mainreport1234table0_ttx and mainreport1234table1_ttx). I try to set the datasource like so:

rcd.getDatabaseController().setDataSource(resultSetList.get(0),tableAlias,tableAlias);

and immediately get this exception with no further details:

com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: 
No error.---- Error code:-2147483648 Error code name:failed
	at com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException.throwReportSDKServerException(Unknown Source)
	at com.crystaldecisions.proxy.remoteagent.s.a(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.verifyDatabase(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.bd.onDataSourceChanged(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
	at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)

What can I do to diagnose this further?

Is there something I should be looking for in the Diagnostics log? It doesn't carry much meaning for me.

N/A:-1,Verifying database connections,Elapsed Time,"10"
..\cserrinf.cpp:512,Creating new error object,Code,"31816"
..\cserrinf.cpp:513,Creating new error object,Error message,"Logon failed."
..\cserrinf.cpp:514,Creating new error object,lineN,"551"
..\cserrinf.cpp:515,Creating new error object,filename,"..\..\src\data\queryenghelp.cpp"
N/A:-1,Creating new error object,Elapsed Time,"4"
..\..\src\reportdef\containers\rptdef.cpp:968,End changing report structure,Compiling all formulas,""
N/A:-1,End changing report structure,Elapsed Time,"1"
..\cserrinf.cpp:512,Creating new error object,Code,"31816"
..\cserrinf.cpp:513,Creating new error object,Error message,"Logon failed."
..\cserrinf.cpp:514,Creating new error object,lineN,"551"
..\cserrinf.cpp:515,Creating new error object,filename,"..\..\src\data\queryenghelp.cpp"
N/A:-1,Creating new error object,Elapsed Time,"4"
..\..\src\print\datasource\viewctrl.cpp:1302,Reset reportParametersIDs,nextReportParametersID before resetting,"1"
..\..\src\print\datasource\viewctrl.cpp:1320,Reset reportParametersIDs,Current nextReportParametersID,"0"
N/A:-1,Reset reportParametersIDs,Elapsed Time,"2"
..\..\src\data\datainterface.cpp:17127,Check whether business view has data connection data access right denied,Business View has data connection data access right,"FALSE"
..\..\src\crpe\crpe4.cpp:2622,GetNthTableDataConnection diagnostics,<jobid,table:connection> pair is ,"<1,0:6>"
N/A:-1,GetNthTableDataConnection diagnostics,Elapsed Time,"1"
..\..\src\crpe\crpe4.cpp:2622,GetNthTableDataConnection diagnostics,<jobid,table:connection> pair is ,"<1,1:7>"
N/A:-1,GetNthTableDataConnection diagnostics,Elapsed Time,"1"
..\..\src\crpe\crpe.cpp:833,Closing engine,Before close engine use count,"4"
..\..\src\crpe\crpe.cpp:858,Closing engine,After close engine use count,"3"
N/A:-1,Closing engine,Elapsed Time,"2"

Former Member
Not what you were looking for? View more on this topic or Ask a question