cancel
Showing results for 
Search instead for 
Did you mean: 

Developing with SAP Integration Suite Learning Journey exercises - Error with OData Adapter

Sean2025
Discoverer
0 Kudos
359

Hi,

I've been making my way through the Developing with SAP Integration Suite Learning Journey exercises and am having issues with my OData Adapter.

I followed the steps by creating an external Receiver and an external call for Request Reply.

I then dragged the connection line between the two and selected the OData Adapter Type and OData V2 Message Protocol.

I filled in the configuration details as per the instructions and used the API Proxy URL that I had gained through previous exercises.

However when I save and deploy the Integration Flow I get the following Error and am not sure what it's telling me:

java.lang.NullPointerException: while trying to invoke the method com.sap.it.rt.adapter.odata.destination.facade.SecureStoreRetrieveService.getSecureStore() of a null object returned from com.sap.it.rt.adapter.odata.destination.facade.SecureStoreRetrieveServiceImpl.getInstance()

Sean2025_0-1736916068007.png

Does anyone know what I might be missing, or am possibly doing wrong to get this error?

Thanks.

View Entire Topic
HammadSharif1
Explorer
0 Kudos

The error indicates a missing or misconfigured destination or credentials. Follow these steps:

1. Destination Configuration: Verify the destination in SAP BTP Cockpit, including URL, authentication, and connectivity.

2. Credentials: Ensure the credential alias in the Integration Flow matches the secure store alias.

3. OData Adapter: Confirm the destination name, address, and message protocol (OData V2/V4) in the adapter configuration.

4. API Proxy: Test the API Proxy URL in Postman to ensure it works.

5. Redeploy: Save, redeploy the Integration Flow, and enable tracing for more details.

This error typically occurs due to missing secure store credentials or incorrect destination setup.

Try this and do let me know the outcomes.

hendrapm
Newcomer
i had same issue for this. based on the learning journey, we've configured the api proxy can access directly without any credential, because it is already setup before based on the learning steps.
Sean2025
Discoverer
0 Kudos
Hi @HammadSharif1 thanks for your response. It looks like steps 1-3 are fine, and I was able to get the API Proxy URL working in Postman without issue (Step 4). Also in this learning journey's previous exercises we had setup a policy for basic authentication. In regards to the OData Adapter we configure it to have Authentication 'None'. I assume this is ok as these were all instructed steps and I imagine the previously mentioned policy allows for this configuration. In terms of the outcome, I couldn't really identify anything that needed to be changed so the integration flow still fails.
ahmet_pelit
Explorer
0 Kudos
We have same issue on our production environment of production. Flow does not throw every time, for example two request of three are getting error, but one of this working correctly. Have you an idea what cause of this?