Was going through few blogs and resolved the exception. Adding the below dependency in pom.xml solved the issue.
<dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.4.01</version>
</dependency>
I have no idea , how this resolved the issue. Please you please let me know what is the relation with this dependency and extent reports.