Closed Saurabh2791 closed 2 months ago
The stack trace is cut off, please make sure to provide the full exception and debug logs.
the link doesn't work
@MatKuhr , can you please check now.
You seem to be lacking the
<dependency>
<groupId>javax.cache</groupId>
<artifactId>cache-api</artifactId>
</dependency>
That should come in automatically with the Cloud SDK, thus I assume you have manually excluded it for some reason. Please make sure the dependency is present.
Also, your project contains inconsistent versions for Cloud SDK, both 4.26.0 and 5.10.0 are used. Please analyze your dependency tree and use 5.12.0 exclusively, if possible.
We havent excluded it @MatKuhr . I am adding this dependency and checking
Issue Description
Getting below error while trying to get destination from provider sub account.
Unexpected servlet filter exception: jakarta.servlet.ServletException: Request processing failed: com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException: Failed to get destination. 2024-09-10T17:44:29.678+0000 [APP/PROC/WEB/0] STDOUT com.sap.cloud.sdk.cloudplatform.thread.exception.ThreadContextExecutionException: jakarta.servlet.ServletException: Request processing failed: com.sap.cloud.sdk.cloudplatform.connectivity.exception.DestinationAccessException: Failed to get destination.
Code to fetch destination: String destName = "ias-destination"; final DestinationOptions options = DestinationOptions.builder().augmentBuilder( augmenter().retrievalStrategy(ALWAYS_PROVIDER)).build(); final Destination destination = DestinationAccessor.getLoader().tryGetDestination(destName, options).get();
This piece of code is being called from job scheduler. Below is the only dependency I have added for SDK.
Important information:
Impact / Priority
It's impacting our development. Hence it's of very high priority. We are not able to complete the feature.
Affected development phase: e.g. Getting Started, Development, Release, Production Development Impact: e.g. No Impact, Inconvenience, Impaired, Blocked Blocked Timeline: feature to be completed in this sprint
Error Message