Expand my Community achievements bar.

SOLVED

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

Avatar

Level 1

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

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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! 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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!