cancel
Showing results for 
Search instead for 
Did you mean: 

No OID for this transformation.

0 Kudos
299

I run the java application to export crystal report. But I got this error type
com.rsa.crypto.InvalidAlgorithmParameterException: Could not DER encode parameters: No OID for this transformation.

I spent 3 days to find out the solution but still cannot be fixed. Could you have some advise how to fix it?

My crystal report version as below
SAP BusinessObjects BI Platform 4.2 Support Pack 7 Patch 5
Version: 14.2.7.3248

Part of the code below

private ByteArrayInputStream export(ReportExportFormat type) throws Exception {
		IEnterpriseSession enterpriseSession = null;
		ReportClientDocument rcd = null;
		StringBuffer rptParams = new StringBuffer();
		RptHistLog rhl = new RptHistLog();


		try {
			try {
				rhl.setOpenDatetime(new Timestamp((new Date()).getTime()));
				rhl.setReportId(reportName);
				rhl.setParams(LogUtil.logErrorHeader(null));
				rhl.setCreBy(CommonUtil.getProfile().getProfileSeq().intValue());
			} catch (Exception ex) {


			}
			ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();
			
			System.out.println(" userName >>>>>>>>>>>>>> " + userName);
			System.out.println(" password >>>>>>>>>>>>>> " + password);
			System.out.println(" cmsName >>>>>>>>>>>>>> " + cmsName);
			System.out.println(" authentication >>>>>>>>>>>>>> " + authentication);
			enterpriseSession = sessionMgr.logon(userName, password, cmsName, authentication);
			System.out.println(" enterpriseSession >>>>>>>>>>>>>> " + enterpriseSession);

When the code runs to enterpriseSession = sessionMgr.logon(userName, password, cmsName, authentication); I got the error type > Could not DER encode parameters: No OID for this transformation

Accepted Solutions (0)

Answers (0)