Git Product home page Git Product logo

Comments (10)

joshfree avatar joshfree commented on May 30, 2024

@ibrahimrabab @alzimmermsft could you please take a look?

from azure-sdk-for-java.

pushpDang avatar pushpDang commented on May 30, 2024

@alzimmermsft I have few more observations:

  1. I can see that all the put blocks request are successful. I have enabled logs on the Logs Analytics Workspace. I can see that the putblock requests are successful but I dont see any PutBlockList in the logs.
  2. I debugged the azure-sdk code and saw that the putblocklist request is not triggered, due to this error:
    image
  3. I feel this is some issue due to dependency mismanagement. This is my dependency tree:

+- org.osgi:osgi.core:jar:6.0.0:provided
[INFO] +- org.osgi:osgi.cmpn:jar:6.0.0:provided
[INFO] +- org.osgi:osgi.annotation:jar:6.0.1:provided
[INFO] +- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- org.slf4j:slf4j-simple:jar:1.7.36:compile
[INFO] +- javax.jcr:jcr:jar:2.0:provided
[INFO] +- com.google.code.gson:gson:jar:2.3:provided
[INFO] +- org.apache.felix:org.apache.felix.http.servlet-api:jar:1.1.2:provided
[INFO] | - org.apache.tomcat:tomcat-servlet-api:jar:8.0.9:provided
[INFO] +- com.adobe.aem:uber-jar:jar:apis:6.5.0:provided
[INFO] +- org.apache.sling:org.apache.sling.models.api:jar:1.0.0:provided
[INFO] +- org.apache.poi:poi-ooxml:jar:4.1.2:provided
[INFO] | +- org.apache.poi:poi:jar:4.1.2:provided
[INFO] | | +- commons-codec:commons-codec:jar:1.13:compile
[INFO] | | +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] | | +- org.apache.commons:commons-math3:jar:3.6.1:provided
[INFO] | | - com.zaxxer:SparseBitSet:jar:1.2:provided
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:provided
[INFO] | | - org.apache.xmlbeans:xmlbeans:jar:3.1.0:provided
[INFO] | +- org.apache.commons:commons-compress:jar:1.19:provided
[INFO] | - com.github.virtuald:curvesapi:jar:1.06:provided
[INFO] +- com.adobe.granite.bundles:json:jar:20090211_1:provided
[INFO] +- com.adobe.cq.media:cq-media-articles:jar:5.6.4:provided
[INFO] | - org.markdownj:markdownj:jar:0.3.0-1.0.2b4:provided
[INFO] +- com.adobe.cq:core.wcm.components.core:jar:2.22.12:compile
[INFO] | - org.apache.sling:org.apache.sling.servlets.annotations:jar:1.2.6:compile
[INFO] +- commons-io:commons-io:jar:2.5:provided
[INFO] +- commons-lang:commons-lang:jar:2.6:provided
[INFO] +- com.atlassian.commonmark:commonmark:jar:0.14.0:compile
[INFO] +- com.atlassian.commonmark:commonmark-ext-gfm-tables:jar:0.14.0:compile
[INFO] +- com.atlassian.commonmark:commonmark-ext-yaml-front-matter:jar:0.14.0:compile
[INFO] +- org.jsoup:jsoup:jar:1.13.1:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.24:compile
[INFO] +- com.kotcrab.remark:remark:jar:1.0.0:compile
[INFO] | - org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] +- commons-cli:commons-cli:jar:1.4:compile
[INFO] +- org.yaml:snakeyaml:jar:1.21:compile
[INFO] +- junit:junit:jar:4.13.2:compile
[INFO] | - org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] +- org.powermock:powermock-module-junit4:jar:1.4.12:provided
[INFO] | - org.powermock:powermock-module-junit4-common:jar:1.4.12:provided
[INFO] | +- org.powermock:powermock-core:jar:1.4.12:provided
[INFO] | - org.powermock:powermock-reflect:jar:1.4.12:provided
[INFO] +- org.powermock:powermock-api-mockito:jar:1.4.12:provided
[INFO] | +- org.mockito:mockito-all:jar:1.9.0:provided
[INFO] | - org.powermock:powermock-api-support:jar:1.4.12:provided
[INFO] +- org.javassist:javassist:jar:3.16.1-GA:provided
[INFO] +- org.reflections:reflections:jar:0.10.2:compile
[INFO] | - com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- io.wcm:io.wcm.testing.aem-mock.junit4:jar:5.0.0:compile
[INFO] | +- io.wcm:io.wcm.testing.aem-mock.core:jar:5.0.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.api:jar:2.22.0:compile
[INFO] | | | - org.jetbrains:annotations:jar:16.0.2:compile
[INFO] | | +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.20.1:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.osgi:jar:2.4.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.resourceresolver:jar:1.7.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.serviceusermapper:jar:1.4.4:compile
[INFO] | | +- org.apache.sling:org.apache.sling.jcr.api:jar:2.4.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.jcr.resource:jar:3.0.18:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.mime:jar:2.2.2:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.json:jar:2.0.20:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.classloader:jar:1.4.2:compile
[INFO] | | +- org.apache.sling:org.apache.sling.settings:jar:1.3.10:compile
[INFO] | | +- org.apache.sling:org.apache.sling.i18n:jar:2.5.14:compile
[INFO] | | +- org.apache.sling:org.apache.sling.models.impl:jar:1.4.14:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.jcr-mock:jar:1.6.0:compile
[INFO] | | | - org.apache.jackrabbit:oak-jackrabbit-api:jar:1.22.5:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.osgi-mock.core:jar:3.3.0:compile
[INFO] | | | +- org.osgi:org.osgi.framework:jar:1.9.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.component:jar:1.4.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.cm:jar:1.6.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.event:jar:1.4.0:compile
[INFO] | | | - org.osgi:org.osgi.service.log:jar:1.3.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.sling-mock.core:jar:3.3.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.resourcebuilder:jar:1.0.4:compile
[INFO] | | | +- org.osgi:org.osgi.resource:jar:1.0.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.converter:jar:1.0.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.function:jar:1.1.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.tracker:jar:1.5.2:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.scripting.api:jar:2.2.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.scripting.core:jar:2.3.2:compile
[INFO] | | | | - org.apache.felix:org.apache.felix.utils:jar:1.9.0:compile
[INFO] | | | +- org.apache.johnzon:johnzon-core:jar:1.1.1:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.adapter:jar:2.1.10:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.featureflags:jar:1.2.2:compile
[INFO] | | | +- org.apache.jackrabbit:oak-jcr:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-api:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-core-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-store-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-query-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-security-spi:jar:1.22.5:compile
[INFO] | | | | | - org.osgi:org.osgi.service.component.annotations:jar:1.3.0:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-core:jar:1.22.5:compile
[INFO] | | | | | - org.apache.jackrabbit:oak-blob-plugins:jar:1.22.5:compile
[INFO] | | | | | +- org.apache.jackrabbit:jackrabbit-data:jar:2.20.1:compile
[INFO] | | | | | - org.apache.jackrabbit:oak-blob:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-commons:jar:1.22.5:compile
[INFO] | | | | - com.google.guava:guava:jar:15.0:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.api:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.json:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.xml-jcr:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.fsresource:jar:2.2.0:compile
[INFO] | | | +- org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
[INFO] | | | - org.apache.geronimo.specs:geronimo-json_1.1_spec:jar:1.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.resourceresolver-mock:jar:1.3.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.servlet-helpers:jar:1.4.2:compile
[INFO] | | +- org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.2.8:compile
[INFO] | | +- org.apache.commons:commons-imaging:jar:1.0-alpha1:compile
[INFO] | | +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] | | +- javax.servlet.jsp:jsp-api:jar:2.1:compile
[INFO] | | +- com.day.commons:day-commons-gfx:jar:2.1.28:compile
[INFO] | | | - com.day.commons:day-commons-any:jar:2.0.0:compile
[INFO] | | | - com.day.commons:day-commons-text:jar:1.1.3:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.hamcrest:jar:1.0.2:compile
[INFO] | | | - org.hamcrest:hamcrest-library:jar:1.3:compile
[INFO] | | - org.apache.sling:org.apache.sling.xss:jar:2.2.6:compile
[INFO] | +- org.apache.sling:org.apache.sling.testing.sling-mock.junit4:jar:3.3.0:compile
[INFO] | +- org.apache.sling:org.apache.sling.testing.osgi-mock.junit4:jar:3.3.0:compile
[INFO] | - io.wcm:io.wcm.testing.junit-commons:jar:1.0.4:compile
[INFO] +- org.junit:junit-bom:pom:5.8.1:import
[INFO] +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] | - org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] +- org.mockito:mockito-core:jar:4.2.0:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.12.4:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.12.4:test
[INFO] | - org.objenesis:objenesis:jar:3.2:provided
[INFO] +- org.mockito:mockito-inline:jar:4.2.0:test
[INFO] +- org.mockito:mockito-junit-jupiter:jar:4.2.0:test
[INFO] +- io.wcm:io.wcm.testing.aem-mock.junit5:jar:4.1.0:test
[INFO] +- junit-addons:junit-addons:jar:1.4:test
[INFO] | +- xerces:xercesImpl:jar:2.6.2:test
[INFO] | - xerces:xmlParserAPIs:jar:2.6.2:test
[INFO] +- com.azure:azure-core:jar:1.37.0:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.5:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.13.5:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.5:compile
[INFO] | - io.projectreactor:reactor-core:jar:3.4.27:compile
[INFO] | - org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] +- com.azure:azure-storage-blob:jar:12.21.1:compile
[INFO] | +- com.azure:azure-storage-common:jar:12.20.1:compile
[INFO] | - com.azure:azure-storage-internal-avro:jar:12.6.1:compile
[INFO] +- com.azure:azure-core-http-netty:jar:1.13.1:compile
[INFO] | +- io.netty:netty-handler:jar:4.1.89.Final:compile
[INFO] | | +- io.netty:netty-common:jar:4.1.89.Final:compile
[INFO] | | +- io.netty:netty-resolver:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-handler-proxy:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-codec-socks:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-buffer:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec-http:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec-http2:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-unix-common:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport-classes-epoll:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport-classes-kqueue:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-tcnative-boringssl-static:jar:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-classes:jar:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.56.Final:compile
[INFO] | | - io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.56.Final:compile
[INFO] | - io.projectreactor.netty:reactor-netty-http:jar:1.0.28:compile
[INFO] | +- io.netty:netty-resolver-dns:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-codec-dns:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-resolver-dns-classes-macos:jar:4.1.89.Final:compile
[INFO] | - io.projectreactor.netty:reactor-netty-core:jar:1.0.28:compile
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.5:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.5:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | - com.fasterxml.woodstox:woodstox-core:jar:6.4.0:compile
[INFO] +- com.azure:azure-security-keyvault-secrets:jar:4.6.0:compile
[INFO] +- com.azure:azure-identity:jar:1.8.1:compile
[INFO] | +- com.microsoft.azure:msal4j-persistence-extension:jar:1.1.0:compile
[INFO] | | - net.java.dev.jna:jna:jar:5.5.0:compile
[INFO] | - net.java.dev.jna:jna-platform:jar:5.6.0:compile
[INFO] +- com.azure:azure-security-keyvault-keys:jar:4.6.0:compile
[INFO] +- com.microsoft.azure:msal4j:jar:1.13.9:compile
[INFO] | - net.minidev:json-smart:jar:2.4.10:compile
[INFO] | - net.minidev:accessors-smart:jar:2.4.9:compile
[INFO] | - org.ow2.asm:asm:jar:9.3:compile
[INFO] +- com.nimbusds:oauth2-oidc-sdk:jar:10.11:runtime
[INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:runtime
[INFO] | +- com.nimbusds:content-type:jar:2.2:runtime
[INFO] | +- com.nimbusds:lang-tag:jar:1.7:runtime
[INFO] | - com.nimbusds:nimbus-jose-jwt:jar:9.30.2:runtime
[INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.24:compile
[INFO] | - commons-logging:commons-logging:jar:1.2:compile
[INFO] - org.apache.pdfbox:fontbox:jar:2.0.24:compile

Any help is much appreciated here.

from azure-sdk-for-java.

alzimmermsft avatar alzimmermsft commented on May 30, 2024

@pushpDang the issue may be more closely related to the bloberror.txt included in the initial description, where it states the inability to create JacksonAdapter$GlobalXmlMapper (java.lang.NoClassDefFoundError: Could not initialize class com.azure.core.util.serializer.JacksonAdapter$GlobalXmlMapper).

Which would be a good explanation for why putting blocks would succeed but putting the block list fails. Putting blocks doesn't require the XML mapper where the block list does. I know in azure-core:1.39.0 there were some fixes for how reflection was used in this space which may resolve this issue. This should be a small upgrade to azure-sdk-bom:1.2.13.

from azure-sdk-for-java.

pushpDang avatar pushpDang commented on May 30, 2024

@alzimmermsft Thanks for your response.
I updated the azure-sdk-bom to 1.2.13. Still I am getting the same error, like in the bloberror.txt.
Below is the updated mvn dependency tree:

+- org.osgi:osgi.core:jar:6.0.0:provided
[INFO] +- org.osgi:osgi.cmpn:jar:6.0.0:provided
[INFO] +- org.osgi:osgi.annotation:jar:6.0.1:provided
[INFO] +- org.slf4j:slf4j-api:jar:1.7.36:compile
[INFO] +- org.slf4j:slf4j-simple:jar:1.7.36:compile
[INFO] +- javax.jcr:jcr:jar:2.0:provided
[INFO] +- com.google.code.gson:gson:jar:2.3:provided
[INFO] +- org.apache.felix:org.apache.felix.http.servlet-api:jar:1.1.2:provided
[INFO] | - org.apache.tomcat:tomcat-servlet-api:jar:8.0.9:provided
[INFO] +- com.adobe.aem:uber-jar:jar:apis:6.5.0:provided
[INFO] +- org.apache.sling:org.apache.sling.models.api:jar:1.0.0:provided
[INFO] +- org.apache.poi:poi-ooxml:jar:4.1.2:provided
[INFO] | +- org.apache.poi:poi:jar:4.1.2:provided
[INFO] | | +- commons-codec:commons-codec:jar:1.13:compile
[INFO] | | +- org.apache.commons:commons-collections4:jar:4.4:compile
[INFO] | | +- org.apache.commons:commons-math3:jar:3.6.1:provided
[INFO] | | - com.zaxxer:SparseBitSet:jar:1.2:provided
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:4.1.2:provided
[INFO] | | - org.apache.xmlbeans:xmlbeans:jar:3.1.0:provided
[INFO] | +- org.apache.commons:commons-compress:jar:1.19:provided
[INFO] | - com.github.virtuald:curvesapi:jar:1.06:provided
[INFO] +- com.adobe.granite.bundles:json:jar:20090211_1:provided
[INFO] +- com.adobe.cq.media:cq-media-articles:jar:5.6.4:provided
[INFO] | - org.markdownj:markdownj:jar:0.3.0-1.0.2b4:provided
[INFO] +- com.adobe.cq:core.wcm.components.core:jar:2.22.12:compile
[INFO] | - org.apache.sling:org.apache.sling.servlets.annotations:jar:1.2.6:compile
[INFO] +- commons-io:commons-io:jar:2.5:provided
[INFO] +- commons-lang:commons-lang:jar:2.6:provided
[INFO] +- com.atlassian.commonmark:commonmark:jar:0.14.0:compile
[INFO] +- com.atlassian.commonmark:commonmark-ext-gfm-tables:jar:0.14.0:compile
[INFO] +- com.atlassian.commonmark:commonmark-ext-yaml-front-matter:jar:0.14.0:compile
[INFO] +- org.jsoup:jsoup:jar:1.13.1:compile
[INFO] +- org.projectlombok:lombok:jar:1.18.24:compile
[INFO] +- com.kotcrab.remark:remark:jar:1.0.0:compile
[INFO] | - org.apache.commons:commons-lang3:jar:3.4:compile
[INFO] +- commons-cli:commons-cli:jar:1.4:compile
[INFO] +- org.yaml:snakeyaml:jar:1.21:compile
[INFO] +- junit:junit:jar:4.13.2:compile
[INFO] | - org.hamcrest:hamcrest-core:jar:1.3:compile
[INFO] +- org.powermock:powermock-module-junit4:jar:1.4.12:provided
[INFO] | - org.powermock:powermock-module-junit4-common:jar:1.4.12:provided
[INFO] | +- org.powermock:powermock-core:jar:1.4.12:provided
[INFO] | - org.powermock:powermock-reflect:jar:1.4.12:provided
[INFO] +- org.powermock:powermock-api-mockito:jar:1.4.12:provided
[INFO] | +- org.mockito:mockito-all:jar:1.9.0:provided
[INFO] | - org.powermock:powermock-api-support:jar:1.4.12:provided
[INFO] +- org.javassist:javassist:jar:3.16.1-GA:provided
[INFO] +- org.reflections:reflections:jar:0.10.2:compile
[INFO] | - com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] +- io.wcm:io.wcm.testing.aem-mock.junit4:jar:5.0.0:compile
[INFO] | +- io.wcm:io.wcm.testing.aem-mock.core:jar:5.0.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.api:jar:2.22.0:compile
[INFO] | | | - org.jetbrains:annotations:jar:16.0.2:compile
[INFO] | | +- org.apache.jackrabbit:jackrabbit-jcr-commons:jar:2.20.1:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.osgi:jar:2.4.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.resourceresolver:jar:1.7.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.serviceusermapper:jar:1.4.4:compile
[INFO] | | +- org.apache.sling:org.apache.sling.jcr.api:jar:2.4.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.jcr.resource:jar:3.0.18:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.mime:jar:2.2.2:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.json:jar:2.0.20:compile
[INFO] | | +- org.apache.sling:org.apache.sling.commons.classloader:jar:1.4.2:compile
[INFO] | | +- org.apache.sling:org.apache.sling.settings:jar:1.3.10:compile
[INFO] | | +- org.apache.sling:org.apache.sling.i18n:jar:2.5.14:compile
[INFO] | | +- org.apache.sling:org.apache.sling.models.impl:jar:1.4.14:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.jcr-mock:jar:1.6.0:compile
[INFO] | | | - org.apache.jackrabbit:oak-jackrabbit-api:jar:1.22.5:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.osgi-mock.core:jar:3.3.0:compile
[INFO] | | | +- org.osgi:org.osgi.framework:jar:1.9.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.component:jar:1.4.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.cm:jar:1.6.0:compile
[INFO] | | | +- org.osgi:org.osgi.service.event:jar:1.4.0:compile
[INFO] | | | - org.osgi:org.osgi.service.log:jar:1.3.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.sling-mock.core:jar:3.3.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.resourcebuilder:jar:1.0.4:compile
[INFO] | | | +- org.osgi:org.osgi.resource:jar:1.0.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.converter:jar:1.0.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.function:jar:1.1.0:compile
[INFO] | | | +- org.osgi:org.osgi.util.tracker:jar:1.5.2:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.scripting.api:jar:2.2.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.scripting.core:jar:2.3.2:compile
[INFO] | | | | - org.apache.felix:org.apache.felix.utils:jar:1.9.0:compile
[INFO] | | | +- org.apache.johnzon:johnzon-core:jar:1.1.1:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.adapter:jar:2.1.10:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.featureflags:jar:1.2.2:compile
[INFO] | | | +- org.apache.jackrabbit:oak-jcr:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-api:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-core-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-store-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-query-spi:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-security-spi:jar:1.22.5:compile
[INFO] | | | | | - org.osgi:org.osgi.service.component.annotations:jar:1.3.0:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-core:jar:1.22.5:compile
[INFO] | | | | | - org.apache.jackrabbit:oak-blob-plugins:jar:1.22.5:compile
[INFO] | | | | | +- org.apache.jackrabbit:jackrabbit-data:jar:2.20.1:compile
[INFO] | | | | | - org.apache.jackrabbit:oak-blob:jar:1.22.5:compile
[INFO] | | | | +- org.apache.jackrabbit:oak-commons:jar:1.22.5:compile
[INFO] | | | | - com.google.guava:guava:jar:15.0:compile
[INFO] | | | +- commons-collections:commons-collections:jar:3.2.2:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.api:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.json:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.contentparser.xml-jcr:jar:2.0.0:compile
[INFO] | | | +- org.apache.sling:org.apache.sling.fsresource:jar:2.2.0:compile
[INFO] | | | +- org.apache.geronimo.specs:geronimo-atinject_1.0_spec:jar:1.0:compile
[INFO] | | | - org.apache.geronimo.specs:geronimo-json_1.1_spec:jar:1.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.resourceresolver-mock:jar:1.3.0:compile
[INFO] | | +- org.apache.sling:org.apache.sling.servlet-helpers:jar:1.4.2:compile
[INFO] | | +- org.apache.jackrabbit.vault:org.apache.jackrabbit.vault:jar:3.2.8:compile
[INFO] | | +- org.apache.commons:commons-imaging:jar:1.0-alpha1:compile
[INFO] | | +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
[INFO] | | +- javax.servlet.jsp:jsp-api:jar:2.1:compile
[INFO] | | +- com.day.commons:day-commons-gfx:jar:2.1.28:compile
[INFO] | | | - com.day.commons:day-commons-any:jar:2.0.0:compile
[INFO] | | | - com.day.commons:day-commons-text:jar:1.1.3:compile
[INFO] | | +- org.apache.sling:org.apache.sling.testing.hamcrest:jar:1.0.2:compile
[INFO] | | | - org.hamcrest:hamcrest-library:jar:1.3:compile
[INFO] | | - org.apache.sling:org.apache.sling.xss:jar:2.2.6:compile
[INFO] | +- org.apache.sling:org.apache.sling.testing.sling-mock.junit4:jar:3.3.0:compile
[INFO] | +- org.apache.sling:org.apache.sling.testing.osgi-mock.junit4:jar:3.3.0:compile
[INFO] | - io.wcm:io.wcm.testing.junit-commons:jar:1.0.4:compile
[INFO] +- org.junit:junit-bom:pom:5.8.1:import
[INFO] +- org.junit.jupiter:junit-jupiter:jar:5.7.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter-api:jar:5.7.1:test
[INFO] | | +- org.apiguardian:apiguardian-api:jar:1.1.0:test
[INFO] | | +- org.opentest4j:opentest4j:jar:1.2.0:test
[INFO] | | - org.junit.platform:junit-platform-commons:jar:1.7.1:test
[INFO] | +- org.junit.jupiter:junit-jupiter-params:jar:5.7.1:test
[INFO] | - org.junit.jupiter:junit-jupiter-engine:jar:5.7.1:test
[INFO] | - org.junit.platform:junit-platform-engine:jar:1.7.1:test
[INFO] +- org.mockito:mockito-core:jar:4.2.0:test
[INFO] | +- net.bytebuddy:byte-buddy:jar:1.12.4:test
[INFO] | +- net.bytebuddy:byte-buddy-agent:jar:1.12.4:test
[INFO] | - org.objenesis:objenesis:jar:3.2:provided
[INFO] +- org.mockito:mockito-inline:jar:4.2.0:test
[INFO] +- org.mockito:mockito-junit-jupiter:jar:4.2.0:test
[INFO] +- io.wcm:io.wcm.testing.aem-mock.junit5:jar:4.1.0:test
[INFO] +- junit-addons:junit-addons:jar:1.4:test
[INFO] | +- xerces:xercesImpl:jar:2.6.2:test
[INFO] | - xerces:xmlParserAPIs:jar:2.6.2:test
[INFO] +- com.azure:azure-core:jar:1.39.0:compile
[INFO] | +- com.azure:azure-json:jar:1.0.1:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-annotations:jar:2.13.5:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-core:jar:2.13.5:compile
[INFO] | +- com.fasterxml.jackson.core:jackson-databind:jar:2.13.5:compile
[INFO] | - io.projectreactor:reactor-core:jar:3.4.27:compile
[INFO] | - org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] +- com.azure:azure-storage-blob:jar:12.22.2:compile
[INFO] | +- com.azure:azure-storage-common:jar:12.21.1:compile
[INFO] | - com.azure:azure-storage-internal-avro:jar:12.7.1:compile
[INFO] +- com.azure:azure-core-http-netty:jar:1.13.3:compile
[INFO] | +- io.netty:netty-handler:jar:4.1.89.Final:compile
[INFO] | | +- io.netty:netty-common:jar:4.1.89.Final:compile
[INFO] | | +- io.netty:netty-resolver:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-handler-proxy:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-codec-socks:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-buffer:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec-http:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-codec-http2:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-unix-common:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport-classes-epoll:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-transport-native-kqueue:jar:osx-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-transport-classes-kqueue:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-tcnative-boringssl-static:jar:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-classes:jar:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-x86_64:2.0.56.Final:compile
[INFO] | | +- io.netty:netty-tcnative-boringssl-static:jar:osx-aarch_64:2.0.56.Final:compile
[INFO] | | - io.netty:netty-tcnative-boringssl-static:jar:windows-x86_64:2.0.56.Final:compile
[INFO] | - io.projectreactor.netty:reactor-netty-http:jar:1.0.28:compile
[INFO] | +- io.netty:netty-resolver-dns:jar:4.1.89.Final:compile
[INFO] | | - io.netty:netty-codec-dns:jar:4.1.89.Final:compile
[INFO] | +- io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.89.Final:compile
[INFO] | | - io.netty:netty-resolver-dns-classes-macos:jar:4.1.89.Final:compile
[INFO] | - io.projectreactor.netty:reactor-netty-core:jar:1.0.28:compile
[INFO] +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.13.5:compile
[INFO] +- com.fasterxml.jackson.dataformat:jackson-dataformat-xml:jar:2.13.5:compile
[INFO] | +- org.codehaus.woodstox:stax2-api:jar:4.2.1:compile
[INFO] | - com.fasterxml.woodstox:woodstox-core:jar:6.4.0:compile
[INFO] +- com.azure:azure-security-keyvault-secrets:jar:4.6.2:compile
[INFO] +- com.azure:azure-identity:jar:1.9.0:compile
[INFO] | +- com.microsoft.azure:msal4j-persistence-extension:jar:1.2.0:compile
[INFO] | | - net.java.dev.jna:jna:jar:5.13.0:compile
[INFO] | - net.java.dev.jna:jna-platform:jar:5.6.0:compile
[INFO] +- com.azure:azure-security-keyvault-keys:jar:4.6.2:compile
[INFO] +- com.microsoft.azure:msal4j:jar:1.13.9:compile
[INFO] | - net.minidev:json-smart:jar:2.4.10:compile
[INFO] | - net.minidev:accessors-smart:jar:2.4.9:compile
[INFO] | - org.ow2.asm:asm:jar:9.3:compile
[INFO] +- com.nimbusds:oauth2-oidc-sdk:jar:10.11:runtime
[INFO] | +- com.github.stephenc.jcip:jcip-annotations:jar:1.0-1:runtime
[INFO] | +- com.nimbusds:content-type:jar:2.2:runtime
[INFO] | +- com.nimbusds:lang-tag:jar:1.7:runtime
[INFO] | - com.nimbusds:nimbus-jose-jwt:jar:9.30.2:runtime
[INFO] +- org.apache.pdfbox:pdfbox:jar:2.0.24:compile
[INFO] | - commons-logging:commons-logging:jar:1.2:compile
[INFO] - org.apache.pdfbox:fontbox:jar:2.0.24:compile

Can you please suggest what can I do next?

from azure-sdk-for-java.

pushpDang avatar pushpDang commented on May 30, 2024

I have also tried with the latest version azure-sdk-bom:1.2.21, still same error.

from azure-sdk-for-java.

pushpDang avatar pushpDang commented on May 30, 2024

After optimizing the dependencies, I am finally able to proceed further. Now I am getting this error:

06.03.2024 22:27:25.969 ERROR [reactor-http-nio-6] reactor.core.publisher.Operators Operator called default onErrorDropped
reactor.core.Exceptions$ErrorCallbackNotImplemented: javax.xml.stream.FactoryConfigurationError: Provider for javax.xml.stream.XMLInputFactory cannot be found
Caused by: javax.xml.stream.FactoryConfigurationError: Provider for javax.xml.stream.XMLInputFactory cannot be found
at java.xml/javax.xml.stream.FactoryFinder.find(FactoryFinder.java:320)
at java.xml/javax.xml.stream.XMLInputFactory.newFactory(XMLInputFactory.java:323)
at com.fasterxml.jackson.dataformat.xml.XmlFactory.(XmlFactory.java:115) [com.placeholder.project.core:1.0.0]
at com.fasterxml.jackson.dataformat.xml.XmlFactory.(XmlFactory.java:101) [com.placeholder.project.core:1.0.0]
at com.fasterxml.jackson.dataformat.xml.XmlFactory.(XmlFactory.java:85) [com.placeholder.project.core:1.0.0]
at com.fasterxml.jackson.dataformat.xml.XmlMapper.(XmlMapper.java:127) [com.placeholder.project.core:1.0.0]
at com.fasterxml.jackson.dataformat.xml.XmlMapper.builder(XmlMapper.java:218) [com.placeholder.project.core:1.0.0]
at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:710)
at com.azure.core.implementation.MethodHandleReflectiveInvoker.invokeStatic(MethodHandleReflectiveInvoker.java:26) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.jackson.XmlMapperFactory.createXmlMapper(XmlMapperFactory.java:99) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.jackson.ObjectMapperFactory.createXmlMapper(ObjectMapperFactory.java:66) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.jackson.ObjectMapperShim.createXmlMapper(ObjectMapperShim.java:81) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.serializer.JacksonAdapter$GlobalXmlMapper.(JacksonAdapter.java:60) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.serializer.JacksonAdapter.getXmlMapper(JacksonAdapter.java:463) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.serializer.JacksonAdapter.lambda$serializeToBytes$3(JacksonAdapter.java:204) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.serializer.JacksonAdapter.useAccessHelper(JacksonAdapter.java:484) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.serializer.JacksonAdapter.serializeToBytes(JacksonAdapter.java:200) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.http.rest.AsyncRestProxy.updateRequest(AsyncRestProxy.java:327) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.http.rest.RestProxyBase.configRequest(RestProxyBase.java:348) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.http.rest.RestProxyBase.createHttpRequest(RestProxyBase.java:295) [com.placeholder.project.core:1.0.0]
at com.azure.core.implementation.http.rest.RestProxyBase.invoke(RestProxyBase.java:107) [com.placeholder.project.core:1.0.0]
at com.azure.core.http.rest.RestProxy.invoke(RestProxy.java:88) [com.placeholder.project.core:1.0.0]
at com.sun.proxy.$Proxy316.commitBlockList(Unknown Source)
at com.azure.storage.blob.implementation.BlockBlobsImpl.commitBlockListWithResponseAsync(BlockBlobsImpl.java:5207) [com.placeholder.project.core:1.0.0]
at com.azure.storage.blob.specialized.BlockBlobAsyncClient.commitBlockListWithResponse(BlockBlobAsyncClient.java:1152) [com.placeholder.project.core:1.0.0]
at com.azure.storage.blob.specialized.BlockBlobAsyncClient.lambda$commitBlockListWithResponse$13(BlockBlobAsyncClient.java:1137) [com.placeholder.project.core:1.0.0]
at com.azure.core.util.FluxUtil.lambda$withContext$9(FluxUtil.java:408) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoDeferContextual.subscribe(MonoDeferContextual.java:47) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:240) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:203) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxFlatMap$FlatMapMain.checkTerminated(FluxFlatMap.java:847) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxFlatMap$FlatMapMain.drainLoop(FluxFlatMap.java:609) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxFlatMap$FlatMapMain.innerComplete(FluxFlatMap.java:895) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxFlatMap$FlatMapInner.onComplete(FluxFlatMap.java:998) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onComplete(FluxContextWrite.java:126) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMapFuseable$MapFuseableConditionalSubscriber.onComplete(FluxMapFuseable.java:350) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1840) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapInner.onNext(MonoFlatMap.java:249) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.complete(MonoIgnoreThen.java:292) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onNext(MonoIgnoreThen.java:187) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:236) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:203) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1840) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxCallable.subscribe(FluxCallable.java:49) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Mono.subscribe(Mono.java:4490) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:263) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:157) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:151) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxHide$SuppressFuseableSubscriber.onNext(FluxHide.java:137) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:151) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMapFuseable$MapFuseableSubscriber.onNext(FluxMapFuseable.java:129) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:151) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:151) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoInnerProducerBase.complete(Operators.java:2666) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoSingle$SingleSubscriber.onComplete(MonoSingle.java:180) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onComplete(FluxContextWrite.java:126) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoFlatMapMany$FlatMapManyInner.onComplete(MonoFlatMapMany.java:260) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onComplete(FluxContextWrite.java:126) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoUsing$MonoUsingSubscriber.onNext(MonoUsing.java:232) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMap$MapSubscriber.onNext(FluxMap.java:122) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onNext(FluxSwitchIfEmpty.java:74) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$ScalarSubscription.request(Operators.java:2400) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.set(Operators.java:2196) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MultiSubscriptionSubscriber.onSubscribe(Operators.java:2070) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoJust.subscribe(MonoJust.java:55) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Mono.subscribe(Mono.java:4490) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxSwitchIfEmpty$SwitchIfEmptySubscriber.onComplete(FluxSwitchIfEmpty.java:82) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxHandle$HandleSubscriber.onComplete(FluxHandle.java:220) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMap$MapConditionalSubscriber.onComplete(FluxMap.java:275) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxDoFinally$DoFinallySubscriber.onComplete(FluxDoFinally.java:128) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxHandleFuseable$HandleFuseableSubscriber.onNext(FluxHandleFuseable.java:208) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxContextWrite$ContextWriteSubscriber.onNext(FluxContextWrite.java:107) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.Operators$MonoSubscriber.complete(Operators.java:1839) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.MonoCollectList$MonoCollectListSubscriber.onComplete(MonoCollectList.java:129) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxPeek$PeekSubscriber.onComplete(FluxPeek.java:260) [com.placeholder.project.core:1.0.0]
at reactor.core.publisher.FluxMap$MapSubscriber.onComplete(FluxMap.java:144) [com.placeholder.project.core:1.0.0]
at reactor.netty.channel.FluxReceive.onInboundComplete(FluxReceive.java:415) [com.placeholder.project.core:1.0.0]
at reactor.netty.channel.ChannelOperations.onInboundComplete(ChannelOperations.java:439) [com.placeholder.project.core:1.0.0]
at reactor.netty.channel.ChannelOperations.terminate(ChannelOperations.java:493) [com.placeholder.project.core:1.0.0]
at reactor.netty.http.client.HttpClientOperations.onInboundNext(HttpClientOperations.java:776) [com.placeholder.project.core:1.0.0]
at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [com.placeholder.project.core:1.0.0]
at com.azure.core.http.netty.implementation.AzureSdkHandler.channelRead(AzureSdkHandler.java:222) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [com.placeholder.project.core:1.0.0]
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:436) [com.placeholder.project.core:1.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346) [com.placeholder.project.core:1.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318) [com.placeholder.project.core:1.0.0]
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:251) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [com.placeholder.project.core:1.0.0]
at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1475) [com.placeholder.project.core:1.0.0]
at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1338) [com.placeholder.project.core:1.0.0]
at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1387) [com.placeholder.project.core:1.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:529) [com.placeholder.project.core:1.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:468) [com.placeholder.project.core:1.0.0]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:290) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412) [com.placeholder.project.core:1.0.0]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440) [com.placeholder.project.core:1.0.0]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420) [com.placeholder.project.core:1.0.0]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) [com.placeholder.project.core:1.0.0]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166) [com.placeholder.project.core:1.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788) [com.placeholder.project.core:1.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724) [com.placeholder.project.core:1.0.0]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650) [com.placeholder.project.core:1.0.0]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562) [com.placeholder.project.core:1.0.0]
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997) [com.placeholder.project.core:1.0.0]
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [com.placeholder.project.core:1.0.0]
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [com.placeholder.project.core:1.0.0]

from azure-sdk-for-java.

alzimmermsft avatar alzimmermsft commented on May 30, 2024

Had a working session offline for this issue.

Further investigation found that an uber JAR was being used for the Java application, reviewing its contents it was missing META-INF/services. This meant there were no services defined for javax.xml.stream.XmlInputFactory or javax.xml.stream.XmlOutputFactory which are needed by Jackson Dataformat XML's XmlMapper to create a default instance of XmlFactory. At this time, and likely to continue, the Azure SDKs don't expose a way to set the instance creator for these, meaning if the classpath can't find an implementation the exceptions above are thrown.

This issue was fixed by modifying the uber JAR to include these services (using the default used by Jackson Dataformat XML which is Woodstox).

Further information, the Azure SDKs for Java will continue to not expose the setters for XmlMapper as XML usage is niche and can be configured by defining the classpath services for XmlInputFactory and XmlOutputFactory. And we're working on further reducing our reliance on Jackson Dataformat XML which will allow for direct usage of XmlInputFactory and XmlOutputFactory and the configurations on the classpath.

from azure-sdk-for-java.

github-actions avatar github-actions commented on May 30, 2024

Hi @pushpDang. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

from azure-sdk-for-java.

pushpDang avatar pushpDang commented on May 30, 2024

Thanks a lot @alzimmermsft for your help.

from azure-sdk-for-java.

github-actions avatar github-actions commented on May 30, 2024

Hi @pushpDang, since you haven’t asked that we /unresolve the issue, we’ll close this out. If you believe further discussion is needed, please add a comment /unresolve to reopen the issue.

from azure-sdk-for-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.