Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to import Issuer\SmartDisputeBase_Schema_07.22.jar

SA-65539

Summary



Unable to import the Issuer\SmartDisputeBase_Schema_07.22.jar which is a part of the HFix-45800 (Skim Patch to 7-22-XX) and SQL DDL generation error occurs. The import is performed on an existing application running on Pega Smart Dispute (SD) 7.21.


Error Messages



Error Message: Was unable to extract metadata definition for database object 'pc_assign_worklist'

Log file error message:
com.pega.pegarules.pub.database.DatabaseException: An error occured generating table XML for table sd_dispute: code: <none> SQLState: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler Message: <none>
DatabaseException caused by prior exception: org.apache.xml.serializer.utils.WrappedRuntimeException: org.apache.xml.serializer.ToXMLSAXHandler cannot be cast to org.apache.xml.serializer.SerializationHandler



Steps to Reproduce

  1. In an existing application running on SD 7.21, install hotfixes upto HFix-45382.
  2. Import the Issuer\SmartDisputeBase_Schema_07.22.jar.


Root Cause



The org.apache.xml.serializer.ToXMLSAXHandler class is resolved from the oauth.client.jar-0.0.1-SNAPSHOT.jar instead of the serializer-2.7.1.redhat-7.jar which is shipped with JBOSS. The oauth JAR file was a third-party JAR file used for the application functionalities causing a conflict. Hence, serialization fails while importing the schema change JAR files.


Resolution



Perform the following local-change:
  1. In module.xml where the oauth JAR lies within the JBOSS file system, comment out the resource-root section for the oauth.client.jar-0.0.1-SNAPSHOT.jar.
  2. Restart JBOSS.
  3. Reimport the Issuer\SmartDisputeBase_Schema_07.22.jar.
Suggest Edit

Published March 24, 2019 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us