cancel
Showing results for 
Search instead for 
Did you mean: 

Error when creating the report engine

10-11-2025 1:52 PM
Vladimir_Sivov Explorer
260 views 0 comments
0 Likes
SAP Managed Tags
Subscribe

Good time of day

I want to get information about the report's data providers using the sdk.

To do this, I create the report engine object.

Error appears

com.businessobjects.rebean.wi.CommunicationException: Unable to instantiate ReportEngine.

    at com.businessobjects.rebean.wi.ReportEngines.createReportEngine(ReportEngines.java:290)

    at com.businessobjects.rebean.wi.ReportEngines.getService(ReportEngines.java:249)

    at ProgramDTPR.main(ProgramDTPR.java:67)

Caused by: java.lang.NullPointerException

    at com.businessobjects.sdk.core.internal.CoreImpl.printOutDiagnostic(CoreImpl.java:163)

    at com.businessobjects.sdk.core.internal.CoreImpl.setEnvironment(CoreImpl.java:97)

    at com.businessobjects.sdk.core.Core.init(Core.java:139)

    at com.businessobjects.sdk.core.Core.checkInit(Core.java:157)

    at com.businessobjects.sdk.core.Core.create(Core.java:456)

    at com.businessobjects.rebean.wi.internal.ReportEngineFactory.makeOCCA(ReportEngineFactory.java:76)

    at com.businessobjects.rebean.wi.ReportEngines.createReportEngine(ReportEngines.java:281)

    ... 2 more

why the report engine object may not be created?

I want to get the data providers and then the request text. I get similar information through the rest api, but the request text is returned without formatting. It is possible that the sdk will preserve the formatting as it is in the interface.

// Initialize Webi report engine
ReportEngines reportEngines = (ReportEngines) enterpriseSession.getService("ReportEngines");
ReportEngineType type = ReportEngines.ReportEngineType.WI_REPORT_ENGINE;
ReportEngine reportEngine = (ReportEngine) reportEngines.getService(type);

 BusinessObjects 4.3

0 Likes

Accepted Solutions (0)

Answers (0)