SAP / cloud-sdk-java

Use the SAP Cloud SDK for Java to reduce development effort when building applications on SAP Business Technology Platform that communicate with SAP solutions and services such as SAP S/4HANA Cloud, SAP SuccessFactors, and many others.
Apache License 2.0
22 stars 13 forks source link

Getting Request processing failed: DestinationAccessException: Failed to get destination #586

Closed Saurabh2791 closed 2 months ago

Saurabh2791 commented 2 months ago

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.

com.sap.cloud.sdk.cloudplatform 5.10.0

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


Please paste your stracktrace here within the backticks (replacing this comment)
[destinationErrorLog.txt](https://github.com/user-attachments/files/16960364/destinationErrorLog.txt)

<!-- Maven Dependency Tree
Please attach the Maven dependency tree of your project. You can obtain that by running "mvn dependency:tree" on the command line. Kindly note that you could have several pom.xml files in your project.
If so, please provide the dependency tree for the pom.xml of the root module and the module named like `application´ or `srv` that contains the application logic.
-->

[INFO] com.sap.onesm:user-lookup:jar:1.0.0-SNAPSHOT
[INFO] +- com.sap.cds:cds-starter-spring-boot-odata:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-starter-spring-boot:jar:2.4.1:compile
[INFO] |  |  +- com.sap.cds:cds-feature-jdbc:jar:2.4.1:runtime
[INFO] |  |  |  +- com.sap.cds:cds4j-runtime:jar:2.4.1:runtime
[INFO] |  |  |  |  \- com.sap.cds:cds4j-jdbc-spi:jar:2.4.1:runtime
[INFO] |  |  |  \- com.sap.cds:cds4j-tx:jar:2.4.1:runtime
[INFO] |  |  +- com.sap.cds:cds-framework-spring-boot:jar:2.4.1:runtime
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-jdbc:jar:3.0.16:compile
[INFO] |  |     +- com.zaxxer:HikariCP:jar:5.0.1:compile
[INFO] |  |     \- org.springframework:spring-jdbc:jar:6.0.19:compile
[INFO] |  |        \- org.springframework:spring-tx:jar:6.0.19:compile
[INFO] |  \- com.sap.cds:cds-adapter-odata-v4:jar:2.4.1:runtime
[INFO] |     \- com.sap.cds.repackaged:odata-v4-lib:jar:2.4.1:runtime
[INFO] |        +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.14.3:runtime
[INFO] |        |  \- org.codehaus.woodstox:stax2-api:jar:4.2.1:runtime
[INFO] |        \- com.fasterxml:aalto-xml:jar:1.3.2:runtime
[INFO] +- com.sap.cds:cds-services-utils:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-services-api:jar:2.4.1:compile
[INFO] |  |  \- com.sap.cds:cds4j-api:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-adapter-api:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds4j-core:jar:2.4.1:compile
[INFO] |  |  \- com.github.ben-manes.caffeine:caffeine:jar:3.1.8:compile
[INFO] |  +- com.sap.cloud.mt:cds-mtx:jar:2.4.1:compile
[INFO] |  |  \- commons-io:commons-io:jar:2.15.0:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:2.0.13:compile
[INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.14.3:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.14.3:compile
[INFO] |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.14.3:compile
[INFO] |  +- org.apache.commons:commons-lang3:jar:3.12.0:compile
[INFO] |  +- com.sap.cloud.security.xsuaa:token-client:jar:3.3.5:compile
[INFO] |  \- com.sap.cloud.mt:tools:jar:2.4.1:compile
[INFO] |     \- com.sap.cloud.security:env:jar:3.3.5:compile
[INFO] |        \- com.sap.cloud.environment.servicebinding.api:java-consumption-api:jar:0.10.3:compile
[INFO] +- com.sap.cds:cds-starter-cloudfoundry:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-feature-hana:jar:2.4.1:compile
[INFO] |  |  \- com.sap.cloud.db.jdbc:ngdbc:jar:2.18.13:compile
[INFO] |  +- com.sap.cds:cds-feature-cloudfoundry:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-feature-xsuaa:jar:2.4.1:compile
[INFO] |  \- com.sap.cds:cds-feature-identity:jar:2.4.1:compile
[INFO] |     \- com.sap.cloud.security:java-security:jar:3.3.0:compile
[INFO] +- com.sap.cloud.security.xsuaa:xsuaa-spring-boot-starter:jar:3.1.3:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.0.16:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.0.16:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.0.16:compile
[INFO] |  |     +- ch.qos.logback:logback-classic:jar:1.4.14:compile
[INFO] |  |     |  \- ch.qos.logback:logback-core:jar:1.4.14:compile
[INFO] |  |     \- org.slf4j:jul-to-slf4j:jar:2.0.13:compile
[INFO] |  +- com.sap.cloud.security.xsuaa:spring-xsuaa:jar:3.3.0:compile
[INFO] |  |  \- org.apache.logging.log4j:log4j-to-slf4j:jar:2.19.0:compile
[INFO] |  +- org.springframework.security:spring-security-oauth2-jose:jar:6.0.10:compile
[INFO] |  |  +- org.springframework.security:spring-security-core:jar:6.0.10:compile
[INFO] |  |  |  \- org.springframework.security:spring-security-crypto:jar:6.0.10:compile
[INFO] |  |  +- org.springframework.security:spring-security-oauth2-core:jar:6.0.10:compile
[INFO] |  |  \- com.nimbusds:nimbus-jose-jwt:jar:9.37.3:compile
[INFO] |  |     \- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:compile
[INFO] |  \- org.springframework.security:spring-security-oauth2-resource-server:jar:6.0.10:compile
[INFO] +- com.sap.cds:cds-services-impl:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-services-messaging:jar:2.4.1:compile
[INFO] |  |  \- jakarta.jms:jakarta.jms-api:jar:3.1.0:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding.api:java-access-api:jar:0.10.1:compile
[INFO] |  +- org.apache.commons:commons-csv:jar:1.10.0:compile
[INFO] |  \- io.opentelemetry:opentelemetry-api:jar:1.19.0:compile
[INFO] |     \- io.opentelemetry:opentelemetry-context:jar:1.19.0:compile
[INFO] +- com.sap.cloud.tenantlifecycle:euporie-api:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-json:jar:3.0.16:compile
[INFO] |  |  +- org.springframework:spring-web:jar:6.0.19:compile
[INFO] |  |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.14.3:compile
[INFO] |  |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.14.3:compile
[INFO] |  \- com.sap.cloud.tenantlifecycle:euporie-api-domain:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] +- com.sap.cloud.tenantlifecycle:hegemone-specs:jar:2.0.0-20231220135454_bc373e99e1b96d7272a19b48776df56f3c2c890d:compile
[INFO] |  \- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
[INFO] +- com.sap.dwc:util-headers:jar:2.2.2:compile
[INFO] |  +- org.apache.httpcomponents.client5:httpclient5:jar:5.1.4:compile
[INFO] |  |  +- org.apache.httpcomponents.core5:httpcore5:jar:5.1.5:compile
[INFO] |  |  +- org.apache.httpcomponents.core5:httpcore5-h2:jar:5.1.5:compile
[INFO] |  |  \- commons-codec:commons-codec:jar:1.15:compile
[INFO] |  \- com.sap.dwc.commons:commons-util:jar:2.19.0:compile
[INFO] +- com.sap.dwc:util-mutual-authentication:jar:2.2.2:compile
[INFO] |  +- org.bouncycastle:bcprov-jdk18on:jar:1.78:compile
[INFO] |  \- org.bouncycastle:bcpkix-jdk18on:jar:1.75:compile
[INFO] |     \- org.bouncycastle:bcutil-jdk18on:jar:1.75:compile
[INFO] +- com.sap.dwc:util-routing:jar:2.2.2:compile
[INFO] +- com.sap.dwc:util-product-config:jar:2.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-security:jar:3.0.16:compile
[INFO] |  +- org.springframework:spring-aop:jar:6.0.19:compile
[INFO] |  |  \- org.springframework:spring-beans:jar:6.0.19:compile
[INFO] |  +- org.springframework.security:spring-security-config:jar:6.0.10:compile
[INFO] |  |  \- org.springframework:spring-context:jar:6.0.19:compile
[INFO] |  \- org.springframework.security:spring-security-web:jar:6.0.10:compile
[INFO] |     \- org.springframework:spring-expression:jar:6.0.19:compile
[INFO] +- com.sap.cloud.security:resourceserver-security-spring-boot-starter:jar:3.3.5:compile
[INFO] |  +- com.sap.cloud.security:spring-security:jar:3.3.0:compile
[INFO] |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.0.16:compile
[INFO] |  \- com.sap.cloud.security:java-api:jar:3.3.5:compile
[INFO] +- com.sap.calm.x:dwc-foundation:jar:2.0.0-20231106093922_38dc81dc72602e448ec7c4360f1d6a5057bb06ee:compile
[INFO] |  +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[INFO] |  +- jakarta.management.j2ee:jakarta.management.j2ee-api:jar:1.1.4:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding:java-sap-vcap-services:jar:0.10.1:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding:java-sap-service-operator:jar:0.10.1:compile
[INFO] |  +- com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:jar:20220608.1:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:auditlog-scp-cf:jar:4.26.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:auditlog:jar:4.26.0:compile
[INFO] |  |     \- com.sap.cloud.sdk.cloudplatform:servlet:jar:4.26.0:compile
[INFO] |  +- com.sap.dwc:util-cap:jar:2.0.6:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:resilience:jar:5.10.0:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:resilience4j:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.sdk.frameworks:resilience4j:jar:4.26.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:caching:jar:5.10.0:compile
[INFO] |  |  +- com.sap.cloud.sdk.cloudplatform:tenant:jar:5.10.0:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-circuitbreaker:jar:1.7.1:compile
[INFO] |  |  |  \- io.github.resilience4j:resilience4j-core:jar:1.7.1:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-bulkhead:jar:1.7.1:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-timelimiter:jar:1.7.1:compile
[INFO] |  |  +- io.github.resilience4j:resilience4j-retry:jar:1.7.1:compile
[INFO] |  |  \- io.github.resilience4j:resilience4j-ratelimiter:jar:1.7.1:compile
[INFO] |  +- com.sap.calm.metering:calm-metering-lib:jar:2.0.0-20231101055915_fb3199bc659a3da2e7b752c81a8a8f823cf4c275:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-webflux:jar:3.0.16:compile
[INFO] |  |  |  +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.0.16:compile
[INFO] |  |  |  \- org.springframework:spring-webflux:jar:6.0.19:compile
[INFO] |  |  |     \- io.projectreactor:reactor-core:jar:3.5.14:compile
[INFO] |  |  |        \- org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-aop:jar:3.0.16:compile
[INFO] |  |  |  \- org.aspectj:aspectjweaver:jar:1.9.22:compile
[INFO] |  |  +- com.sap.calm.x:calm-kafka-clientlib:jar:2.0.0-20231024080903_8909795ee10e953238ae9f1756e6d0b525ec0ba7:compile
[INFO] |  |  |  +- org.immutables:value:jar:2.10.0:compile
[INFO] |  |  |  +- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.14.3:compile
[INFO] |  |  |  +- org.springframework.security:spring-security-oauth2-client:jar:6.0.10:compile
[INFO] |  |  |  |  \- com.nimbusds:oauth2-oidc-sdk:jar:9.43.3:compile
[INFO] |  |  |  |     +- com.nimbusds:content-type:jar:2.2:compile
[INFO] |  |  |  |     \- com.nimbusds:lang-tag:jar:1.7:compile
[INFO] |  |  |  +- org.springframework.kafka:spring-kafka:jar:3.0.17:compile
[INFO] |  |  |  |  +- org.springframework:spring-messaging:jar:6.0.19:compile
[INFO] |  |  |  |  +- org.springframework.retry:spring-retry:jar:2.0.6:compile
[INFO] |  |  |  |  \- org.apache.kafka:kafka-clients:jar:3.3.2:compile
[INFO] |  |  |  |     +- com.github.luben:zstd-jni:jar:1.5.2-1:runtime
[INFO] |  |  |  |     +- org.lz4:lz4-java:jar:1.8.0:runtime
[INFO] |  |  |  |     \- org.xerial.snappy:snappy-java:jar:1.1.10.4:runtime
[INFO] |  |  |  +- org.springframework.cloud:spring-cloud-context:jar:4.0.4:compile
[INFO] |  |  |  \- org.apache.commons:commons-text:jar:1.10.0:compile
[INFO] |  |  \- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.2.0:compile
[INFO] |  |     +- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.2.0:compile
[INFO] |  |     |  \- org.springdoc:springdoc-openapi-starter-common:jar:2.2.0:compile
[INFO] |  |     |     \- io.swagger.core.v3:swagger-core-jakarta:jar:2.2.15:compile
[INFO] |  |     |        +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.15:compile
[INFO] |  |     |        \- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.15:compile
[INFO] |  |     \- org.webjars:swagger-ui:jar:5.2.0:compile
[INFO] |  \- org.jsoup:jsoup:jar:1.15.3:compile
[INFO] +- com.sap.dwc:util-model:jar:2.2.2:compile
[INFO] +- org.apache.logging.log4j:log4j-core:jar:2.19.0:compile
[INFO] |  \- org.apache.logging.log4j:log4j-api:jar:2.19.0:compile
[INFO] +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] +- com.sap.xs:java-js-client:jar:1.6.11:compile
[INFO] |  +- com.google.code.gson:gson:jar:2.9.1:compile
[INFO] |  \- org.apache.httpcomponents:httpclient:jar:4.5.14:compile
[INFO] |     \- org.apache.httpcomponents:httpcore:jar:4.4.16:compile
[INFO] +- org.springframework.boot:spring-boot-starter-test:jar:3.0.16:test
[INFO] |  +- org.springframework.boot:spring-boot-test:jar:3.0.16:test
[INFO] |  +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.0.16:test
[INFO] |  +- com.jayway.jsonpath:json-path:jar:2.9.0:test
[INFO] |  |  \- net.minidev:json-smart:jar:2.4.11:compile
[INFO] |  |     \- net.minidev:accessors-smart:jar:2.4.11:compile
[INFO] |  |        \- org.ow2.asm:asm:jar:9.3:compile
[INFO] |  +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:compile
[INFO] |  |  \- jakarta.activation:jakarta.activation-api:jar:2.1.3:compile
[INFO] |  +- org.assertj:assertj-core:jar:3.23.1:test
[INFO] |  |  \- net.bytebuddy:byte-buddy:jar:1.12.23:test
[INFO] |  +- org.hamcrest:hamcrest:jar:2.2:test
[INFO] |  +- org.junit.jupiter:junit-jupiter:jar:5.9.3:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-api:jar:5.9.3:test
[INFO] |  |  |  +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] |  |  |  +- org.junit.platform:junit-platform-commons:jar:1.9.3:test
[INFO] |  |  |  \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO] |  |  +- org.junit.jupiter:junit-jupiter-params:jar:5.9.3:test
[INFO] |  |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.9.3:test
[INFO] |  |     \- org.junit.platform:junit-platform-engine:jar:1.9.3:test
[INFO] |  +- org.mockito:mockito-core:jar:4.8.1:test
[INFO] |  |  +- net.bytebuddy:byte-buddy-agent:jar:1.12.23:test
[INFO] |  |  \- org.objenesis:objenesis:jar:3.2:test
[INFO] |  +- org.mockito:mockito-junit-jupiter:jar:4.8.1:test
[INFO] |  +- org.skyscreamer:jsonassert:jar:1.5.1:test
[INFO] |  +- org.springframework:spring-core:jar:6.0.19:compile
[INFO] |  |  \- org.springframework:spring-jcl:jar:6.0.19:compile
[INFO] |  +- org.springframework:spring-test:jar:6.0.19:test
[INFO] |  \- org.xmlunit:xmlunit-core:jar:2.9.1:test
[INFO] +- org.mockito:mockito-inline:jar:4.8.1:test
[INFO] +- org.projectlombok:lombok:jar:1.18.32:provided
[INFO] +- org.xerial:sqlite-jdbc:jar:3.41.2.2:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.0.16:compile
[INFO] |  +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.0.16:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-actuator:jar:3.0.16:compile
[INFO] |  +- io.micrometer:micrometer-observation:jar:1.10.14:compile
[INFO] |  |  \- io.micrometer:micrometer-commons:jar:1.10.14:compile
[INFO] |  \- io.micrometer:micrometer-core:jar:1.10.14:compile
[INFO] |     +- org.hdrhistogram:HdrHistogram:jar:2.1.12:runtime
[INFO] |     \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] +- com.sap.onesm:ias-spring-boot-starter:jar:1.0.0-20240509100637_dd8e90aed5d6478e67adef36597239b1c5c422d4:compile
[INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.14.3:compile
[INFO] |  +- io.swagger.core.v3:swagger-annotations:jar:2.2.1:compile
[INFO] |  +- org.openapitools:jackson-databind-nullable:jar:0.1.0:compile
[INFO] |  \- com.sap.onesm:core:jar:1.0.0-20240509100637_dd8e90aed5d6478e67adef36597239b1c5c422d4:compile
[INFO] |     \- org.springframework.cloud:spring-cloud-starter-openfeign:jar:4.0.0:compile
[INFO] |        +- org.springframework.cloud:spring-cloud-starter:jar:4.0.0:compile
[INFO] |        |  \- org.springframework.security:spring-security-rsa:jar:1.0.11.RELEASE:compile
[INFO] |        |     \- org.bouncycastle:bcpkix-jdk15on:jar:1.69:compile
[INFO] |        |        \- org.bouncycastle:bcutil-jdk15on:jar:1.69:compile
[INFO] |        +- org.springframework.cloud:spring-cloud-openfeign-core:jar:4.0.0:compile
[INFO] |        |  \- io.github.openfeign.form:feign-form-spring:jar:3.8.0:compile
[INFO] |        |     +- io.github.openfeign.form:feign-form:jar:3.8.0:compile
[INFO] |        |     \- commons-fileupload:commons-fileupload:jar:1.5:compile
[INFO] |        +- org.springframework.cloud:spring-cloud-commons:jar:4.0.0:compile
[INFO] |        +- io.github.openfeign:feign-core:jar:12.1:compile
[INFO] |        \- io.github.openfeign:feign-slf4j:jar:12.1:compile
[INFO] +- org.yaml:snakeyaml:jar:2.0:compile
[INFO] +- org.json:json:jar:20231013:compile
[INFO] +- com.sap.cds:cds-feature-mt:jar:2.4.1:compile
[INFO] |  +- com.sap.cds:cds-integration-cloud-sdk:jar:2.4.1:compile
[INFO] |  |  \- com.sap.cloud.sdk.cloudplatform:connectivity-oauth:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.mt:multi-tenant-runtime:jar:2.4.1:compile
[INFO] |  \- com.sap.cloud.mt:multi-tenant-subscription:jar:2.4.1:compile
[INFO] |     \- com.sap.cloud.instancemanager:client:jar:3.13.0:compile
[INFO] |        \- com.sap.hcp.cf.logging:cf-java-logging-support-logback:jar:3.8.3:compile
[INFO] |           \- com.sap.hcp.cf.logging:cf-java-logging-support-core:jar:3.8.3:compile
[INFO] |              \- com.fasterxml.jackson.jr:jackson-jr-objects:jar:2.14.3:compile
[INFO] +- com.sap.cloud.tenantlifecycle:euporie-dwc-integration:jar:2.0.0-20230914144551_aed9b7ef58a7972ae0dbd724217fdcb8f791b00e:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-web:jar:3.0.16:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.0.16:compile
[INFO] |  |  |  +- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.25:compile
[INFO] |  |  |  +- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.24:compile
[INFO] |  |  |  \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:10.1.24:compile
[INFO] |  |  \- org.springframework:spring-webmvc:jar:6.0.19:compile
[INFO] |  +- io.pivotal.cfenv:java-cfenv-boot:jar:2.4.1:compile
[INFO] |  |  +- io.pivotal.cfenv:java-cfenv:jar:2.4.1:compile
[INFO] |  |  \- io.pivotal.cfenv:java-cfenv-jdbc:jar:2.4.1:compile
[INFO] |  \- com.sap.cloud.tenantlifecycle:euporie-authentication:jar:2.0.0-20231218143426_b8c7bdf3b23d1866d135605a30644e94d501a67b:compile
[INFO] |     \- org.reflections:reflections:jar:0.10.2:compile
[INFO] |        \- org.javassist:javassist:jar:3.28.0-GA:compile
[INFO] +- com.sap.cloud.sdk.cloudplatform:cloudplatform-connectivity:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:cloudplatform-core:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:resilience-api:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.sdk.cloudplatform:security:jar:5.10.0:compile
[INFO] |  +- com.sap.cloud.environment.servicebinding.api:java-core-api:jar:0.10.5:compile
[INFO] |  +- org.slf4j:jcl-over-slf4j:jar:2.0.13:runtime
[INFO] |  +- io.vavr:vavr:jar:0.10.4:compile
[INFO] |  |  \- io.vavr:vavr-match:jar:0.10.4:compile
[INFO] |  +- com.google.guava:guava:jar:32.0.1-jre:compile
[INFO] |  |  +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |  +- org.checkerframework:checker-qual:jar:3.33.0:compile
[INFO] |  |  +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
[INFO] |  |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] |  +- com.mikesamuel:json-sanitizer:jar:1.2.3:compile
[INFO] |  \- com.auth0:java-jwt:jar:4.4.0:compile
[INFO] \- com.sap.cloud.sdk.cloudplatform:dwc-cf:jar:5.10.0:compile
[INFO]    +- com.sap.cloud.sdk:sdk-core:jar:5.10.0:compile
[INFO]    |  +- com.sap.cloud.sdk.cloudplatform:connectivity-destination-service:jar:5.10.0:compile
[INFO]    |  \- com.sap.cloud.sdk.cloudplatform:servlet-jakarta:jar:5.10.0:compile
[INFO]    \- com.sap.cloud.sdk.cloudplatform:connectivity-dwc:jar:5.10.0:compile
[INFO]       \- com.sap.cloud.sdk.cloudplatform:connectivity-apache-httpclient4:jar:5.10.0:compile

## Project Details
<!--
Please provide as much information about your project as possible.
If you cannot share your project for confidentiality reasons, please consider providing a minimal working example https://en.wikipedia.org/w/index.php?title=Minimal_working_example&oldid=893866607
-->
https://github.tools.sap/one-sm/user-lookup/blob/master/srv/src/main/java/com/sap/onesm/userlookup/services/impl/UserSyncService.java

* SDK Version: 5.10.0
<!-- The group id of the modules of the SAP Cloud SDK start with "com.sap.cloud.sdk" -->
* Link to GitHub repo: [<your link here>](https://github.tools.sap/one-sm/user-lookup/blob/master/srv/src/main/java/com/sap/onesm/userlookup/services/impl/UserSyncService.java)
* Project type, for example:
    * [ ] CAP Project
    * [ ] SDK Maven Archetype
    * [ ] None of the above:
* Platform:
    * [ ] Cloud Foundry
    * [ ] Deploy with Confidence (Cloud Foundry)
    * [ ] None of the above:

-----

### Checklist

- [ ] Checked out the [documentation](https://sap.github.io/cloud-sdk/docs/java/sdk-java-troubleshooting-frequent-problems) and [Stack Overflow](https://stackoverflow.com/questions/tagged/sap-cloud-sdk)
- [ ] Description provided with all relevant information
- [ ] Exception and stack trace provided
- [ ] Attached debug logs
- [ ] Attached dependency tree
- [ ] Provided Cloud SDK version & link to relevant source code
MatKuhr commented 2 months ago

The stack trace is cut off, please make sure to provide the full exception and debug logs.

Saurabh2791 commented 2 months ago

Added complete logs user-lookup-0191dd0e-8ac7-daa0-e3ea-c6820e0b2e00-2024-09-11 06_53_46.923+0000.txt

MatKuhr commented 2 months ago

the link doesn't work

Saurabh2791 commented 2 months ago

user-lookup-0191dd0e-8ac7-daa0-e3ea-c6820e0b2e00-2024-09-11 06_53_46.923+0000.txt

Saurabh2791 commented 2 months ago

@MatKuhr , can you please check now.

MatKuhr commented 2 months ago

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.

Saurabh2791 commented 2 months ago

We havent excluded it @MatKuhr . I am adding this dependency and checking