Troubleshooting
Problem
When you export an item type that contains a default value for a Date, Time, or Timestamp field, you might encounter an error if the format of the default value is not parseable by the java.sql.Date, java.sql.Time, or java.sql.Timestamp classes.
Symptom
When you try to export an item type to XML using the system administration client, you will receive an error similar to the following:
[MSG]: java.lang.IllegalArgumentException: Timestamp format must be yyyy-mm-dd hh:mm:ss.fffffffff
at java.sql.Timestamp.valueOf(Timestamp.java:304)
at com.ibm.mm.sdk.xml.PXMLAttributeTransformerICM.castCMAttrTypeValue(PXMLAttributeTransformerICM.java:1056)
at com.ibm.mm.sdk.xml.PXMLAttributeTransformerICM.toXMLDataModel(PXMLAttributeTransformerICM.java:356)
at com.ibm.mm.sdk.xml.PXMLElementTransformerICM.toXMLDataModel(PXMLElementTransformerICM.java:486)
at com.ibm.mm.sdk.xml.PXMLDocumentElementTransformerICM.toXMLDataModel(PXMLDocumentElementTransformerICM.java:110)
at com.ibm.mm.sdk.xml.PXMLExportDataModelICM.transformCMItemTypeToXSDObject(PXMLExportDataModelICM.java:354)
at com.ibm.mm.sdk.xml.PXMLExportDataModelICM.exportDM(PXMLExportDataModelICM.java:229)
at com.ibm.mm.sdk.xml.PXMLExportICM.exportToXML(PXMLExportICM.java:131)
at com.ibm.mm.sdk.xml.PXMLSysAdminServiceICM.extractLS(PXMLSysAdminServiceICM.java:481)
at com.ibm.mm.sdk.xml.PXMLSysAdminServiceICM.extract(PXMLSysAdminServiceICM.java:193)
at com.ibm.mm.sdk.xml.DKXMLSysAdminService.extract(DKXMLSysAdminService.java:360)
at com.ibm.mm.admin.client.CsaXMLExportOptionsModel.export(CsaXMLExportOptionsModel.java:562)
at com.ibm.mm.admin.client.CsaXMLExportOptionsModel.serverAction(CsaXMLExportOptionsModel.java:1051)
at com.ibm.mm.admin.client.CsaXMLExportOptionsDialog.doExport(CsaXMLExportOptionsDialog.java:857)
at com.ibm.mm.admin.client.CsaXMLExportOptionsDialog.access$1600(CsaXMLExportOptionsDialog.java:81)
at com.ibm.mm.admin.client.CsaXMLExportOptionsDialog$ExportThread.run(CsaXMLExportOptionsDialog.java:980)
Log InLog in to view more of this document
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg21472576