SAP Knowledge Base Article - Preview

3262947 - Error: 'ava.lang.NoSuchMethodError...' when using the SAP BusinessObjects SDK call: getPrompts

Symptom

  • Error: 'java.lang.NoSuchMethodError...'
  • After changing the classloader structure:

         ReportEngine reportEngine = (ReportEngine) session.getService("", "WebiReportEngine");
         DocumentInstance di = reportEngine.openDocument(reportID);
         Prompts promptList = di.getPrompts();

    The SDK Calls generate the following error:

    java.lang.NoSuchMethodError: com/sap/sl/common/impl/CommonPackageImpl.addEOperation(Lorg/eclipse/emf/ecore/EClass;Lorg/eclipse/emf/ecore/EClassifier;Ljava/lang/String;IIZZ)Lorg/eclipse/emf/ecore/EOperation; (loaded from file:/opt/ibm/WebSphere/AppServer/profiles/icd_intAppSrv01/installedApps/ICD_INT_Cell01/ReportQ.ear/shared-icd-ui-reportq-war.war/WEB-INF/lib/dsl_sdk_services.jar by com.ibm.ws.classloader.CompoundClassLoader...


Read more...

Environment

  • SAP BusinessObjects Business Intelligence Platform 4.2
  • SAP BusinessObjects Business Intelligence Platform 4.3
        
  • Java SDK

Product

SAP BusinessObjects Business Intelligence platform 4.3

Keywords

Websphere, nosuchmethod, classloader class loader CompoundClassLoader getPrompts , KBA , BI-DEV-JAV , BI Software Development Kits (SDKs) - Java , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.