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
Solved! Go to Solution.
Views
Replies
Total Likes
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!
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!