Exception Converting XML To JSON (Doc ID 2124928.1)

Last updated on JUNE 06, 2017

Applies to:

Oracle WebLogic Server - Version 10.3.6 to 12.2.1.0.0
Information in this document applies to any platform.

Symptoms

Exception converting XML to JSON.

The following error is received while testing the application:

[ServletContext@123456789[app:advancedContentWebService-live module:advancedContentWebService-live.war path:null spec-version:3.0 version:1.0.0.16-SNAPSHOT]] Root cause of ServletException.
java.lang.RuntimeException: Exception converting XML to JSON: incompatible class: org.xmlpull.mxp1_serializer.MXSerializer
  at com.xxxxx.fmg.cds.content.advanced.web.controllers.AdvancedContentWebServiceController.convertXmlToJson(AdvancedContentWebServiceController.java:89)

 

Changes

 None

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms