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 morewhy 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
Request clarification before answering.
| User | Count |
|---|---|
| 5 | |
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.