Skip to Content
0
Nov 12, 2019 at 06:46 PM

OData connection in IDT returns apache Base64 error

286 Views Last edit Nov 12, 2019 at 08:05 PM 3 rev

I am trying to set up a Connection to MS SharePoint in the IDT. The Connection is using the generic OData 2.0 driver. I have confirmed in multiple browsers that the Service URI, designated user and password are all correct. But when I test the connection, or try to use it in a Universe it returns an Error but the error message is just

"org/apache/commons/codec/binary/Base64"

Test Connection in the IDT does not say that the connection failed, it just returns the error message. I think that indicates there might be something about the response from the SharePoint server that it does not like, but I do not know what that might be. We are on BOBJ 4.2 SP7. Does anyone have any advice or suggestions?


Detail logs from the IDT:

!ENTRY com.businessobjects.bimodeler.shared 4 0 2019-11-12 14:51:51.226
!MESSAGE Error
org/apache/commons/codec/binary/Base64
!STACK 0
java.lang.NoClassDefFoundError: org/apache/commons/codec/binary/Base64
 at com.sap.connectivity.cs.java.drivers.odata.ODataConnection.openURLConnection(ODataConnection.java:496)
 at com.sap.connectivity.cs.java.drivers.odata.BaseODataDriver.parseMetadataModel(BaseODataDriver.java:276)
 at com.sap.connectivity.cs.java.drivers.odata.BaseODataDriver.connect(BaseODataDriver.java:208)
 at com.sap.connectivity.cs.java.JAVAGenericJob.<init>(JAVAGenericJob.java:71)
 at com.sap.connectivity.cs.java.JAVAJob.<init>(JAVAJob.java:32)
 at com.sap.connectivity.cs.java.JAVAOpenJob.<init>(JAVAOpenJob.java:39)
 at com.sap.connectivity.cs.java.OpenJob.<init>(OpenJob.java:66)
 at com.sap.connectivity.cs.java.ConnectionServer.getJob(ConnectionServer.java:413)
 at com.sap.connectivity.cs.core.ConnectionServer.CreateJob(ConnectionServer.java:74)
 at com.sap.connectivity.cs.api.trace.EnvironmentLogger.CreateJob(EnvironmentLogger.java:1400)
 at com.sap.connectivity.cs.extended.ConnectionServer.CreateJob(ConnectionServer.java:982)
 at com.sap.connectivity.cs.api.trace.EnvironmentLogger.CreateJob(EnvironmentLogger.java:1400)
 at com.businessobjects.mds.services.relational.Job.createSafeJob(Job.java:267)
 at com.businessobjects.mds.services.relational.Job.create(Job.java:218)
 at com.businessobjects.mds.services.relational.CsService.createJob(CsService.java:914)
 at com.businessobjects.mds.services.relational.CsService.createJob(CsService.java:895)
 at com.businessobjects.mds.services.relational.CsService.pingInfo(CsService.java:987)
 at com.businessobjects.bimodeler.shared.dialogs.testconnection.TestConnectionAction.testRelational(TestConnectionAction.java:226)
 at com.businessobjects.bimodeler.shared.dialogs.testconnection.TestConnectionAction.testConnection(TestConnectionAction.java:110)
 at com.businessobjects.bimodeler.shared.dialogs.testconnection.TestConnectionAction.runChecked(TestConnectionAction.java:161)
 at com.businessobjects.bimodeler.framework.actions.AbstractActionDelegate.run(AbstractActionDelegate.java:51)
 at com.businessobjects.bimodeler.framework.actions.AbstractActionDelegate.run(AbstractActionDelegate.java:171)
 at com.businessobjects.bimodeler.connection.relational.editor.StaticConnectionGeneralPage$9.widgetSelected(StaticConnectionGeneralPage.java:317)
 at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
 at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
 at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
 at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at com.businessobjects.bimodeler.rcp.Application.start(Application.java:25)
 at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
 at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
 at org.eclipse.equinox.launcher.Main.run(Main.java:1236)