Closed pushpDang closed 8 months ago
@ibrahimrabab @alzimmermsft could you please take a look?
@alzimmermsft I have few more observations:
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.
@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
.
@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?
I have also tried with the latest version azure-sdk-bom:1.2.21, still same error.
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.
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.
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.
Thanks a lot @alzimmermsft for your help.
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.
Query/Question I am trying to upload large videos (>256MB) to Blob Storage using BlobAsyncClient, it is failing. We have the Input Stream of the video which I am trying to upload to Blob Storage.
Below is the code snippet I am using to upload videos:
For example: When I try to upload a video of size 373.2MB, I can see that the ProgressReceiver of ParallelTransferOptions, prints till "Upload progress: 373", then it suddenly fails. Please find attached error that i get when it fails. bloberror.txt
I have few observations:
Why is this not a Bug or a feature Request? This is not a bug because I can see on internet that other people are able to upload it. Setup (please complete the following information if applicable):
Library/Libraries: com.azure:azure-sdk-bom:1.2.11
Information Checklist Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report