IBM Support

RS03080: HTDS: OUTPUT PARAMETERS CANNOT BE SERIALIZED

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • At some point due to memory issue (low or GC activity), the
    output parameters cannot be serialized with the following  log :
    The XOM class com.xxx.yyy.Root cannot be deserialized. Verify
    that the XOM library is set correctly.
    java.lang.NullPointerException
        at
    com.ibm.rules.res.xml.internal.XSDUtil.deserializeJavaType(XSDUt
    il.java:196)
        at
    com.ibm.rules.htds.binding.xml.XMLEventObjectReader.getResult(XM
    LEventObjectReader.java:273)
        at
    com.ibm.rules.htds.binding.xml.RESTContentHandler.endElement(RES
    TContentHandler.java:609)
        at
    com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.end
    Element(AbstractSAXParser.java:609)
        at
    com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScann
    erImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1783)
        at
    com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScann
    erImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl
    .java:2970)
        at
    com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.n
    ext(XMLDocumentScannerImpl.java:606)
        at
    com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl
    .next(XMLNSDocumentScannerImpl.java:118)
        at
    com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScann
    erImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
        at
    com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pa
    rse(XML11Configuration.java:848)
        at
    com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pa
    rse(XML11Configuration.java:777)
        at
    com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLPa
    rser.java:141)
        at
    com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.par
    se(AbstractSAXParser.java:1213)
        at
    com.ibm.rules.htds.binding.xml.SignatureXMLBinding.deserialize(S
    ignatureXMLBinding.java:170)
        at
    com.ibm.rules.htds.util.DecisionServiceUtil.extractInParameters(
    DecisionServiceUtil.java:266)
        at
    com.ibm.rules.htds.handlers.RESTExecutionRequestHandler.execute(
    RESTExecutionRequestHandler.java:255)
        at
    com.ibm.rules.htds.handlers.RESTExecutionRequestHandler.handleRe
    quest(RESTExecutionRequestHandler.java:179)
        at
    com.ibm.rules.htds.servlet.RESTDecisionServiceServlet.doPost(RES
    TDecisionServiceServlet.java:124)
    

Local fix

  • Restarting server and re-submitting same input would work.
    

Problem summary

  • Because of low memory of the JVM running HTDS,
    The JAXBContext that we store in a cache behind a WeakReference
    gets collected by garbage collector. This causes NPE issues,
    even if memory is raised up
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

  • Restarting server and re-submitting same input would work.
    

Comments

APAR Information

  • APAR number

    RS03080

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    891

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-03-26

  • Closed date

    2018-03-29

  • Last modified date

    2018-03-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Modules/Macros

  • 999
    

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R891 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"891","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021