Skip to main content
February 18, 2022
Solved

Service Pack 6.5.11 java xml bindings are not working after applying SP11

When migrating from 6.5.10 service pack to 6.5.11 service pack facing issues with Jaxb marshalling. While unmarshalling the xml level3 is not able to assign to a pojo and throws out a null pointer exception. Here is the sample code attached

https://drive.google.com/file/d/1Yht5u9EC77UPVXXmtt1-wTOt3Le-ethO/view?usp=sharing

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
Community Advisor
February 22, 2022

Hi @skattamuri 

 

Have you updated the uber jar version to 6.5.11 ? Also are you getting error in compile time or runtime?

 

<dependency>
     <groupId>com.adobe.aem</groupId>
     <artifactId>uber-jar</artifactId>
     <version>6.5.11</version>
     <scope>provided</scope>
</dependency>

 

Also upgrade the JAXB Maven dependency to latest version.

 

<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.3</version>
</dependency>

 

Thanks! 

1 reply

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
February 22, 2022

Hi @skattamuri 

 

Have you updated the uber jar version to 6.5.11 ? Also are you getting error in compile time or runtime?

 

<dependency>
     <groupId>com.adobe.aem</groupId>
     <artifactId>uber-jar</artifactId>
     <version>6.5.11</version>
     <scope>provided</scope>
</dependency>

 

Also upgrade the JAXB Maven dependency to latest version.

 

<!-- https://mvnrepository.com/artifact/javax.xml.bind/jaxb-api -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.2.3</version>
</dependency>

 

Thanks! 

Translate