IBM Support

RS02166: "PREMATURE END OF FILE" WHEN CREATING THE REPORT FORMAT OF A SIMULATION WITH THE BUSINESS CONSOLE

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • With  ODM 8.7.1 Decision Center on JBoss 6.3 EAP, when defining
    a simulation with the Business Console, after creating metric,
    KPI and data, the creation of the Report format ends up with
    error message "Premature end of file"
    and below exception in the logs:
    09:07:41,474 DEBUG
    [com.ibm.rules.decisioncenter.web.core.ApplicationExceptionResol
    ver] (http-/127.0.0.1:8080-1) Resolving exception from handler
    [public org.springframework.ui.ModelMap com.ibm.rules.decisionce
    nter.web.core.ApplicationController.viewData(javax.servlet.http.
    HttpServletRequest,java.lang.String,java.lang.String)]:
    com.ibm.rules.decisioncenter.web.core.RuntimeApplicationExceptio
    n:
    09:07:41,478 SEVERE
    [org.springframework.web.method.HandlerMethod]
    (http-/127.0.0.1:8080-1) Premature end of file.:
    com.ibm.rules.decisioncenter.web.core.RuntimeApplicationExceptio
    n:
       at
    com.ibm.rules.decisioncenter.web.core.ApplicationController.doVi
    ewData(ApplicationController.java:258)
    [teamserver-iweb-core-8.7.1.0.jar:8.7.1.0.1]
    ...
    Caused by: java.lang.RuntimeException: Document loading failed.
       at com.ibm.rules.brl.util.XmlHelper.load(XmlHelper.java:153)
    [ilog.rules.shared-8.7.1.0.jar:8.7.1.0.1]
       ...
    Caused by: org.xml.sax.SAXParseException: Premature end of file.
       at
    org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:244)
    [xml.jar:]
       ...
    

Local fix

  • N/A
    

Problem summary

  • The file generation used to create KPI is buffered and the
    buffer is not flushed before saving , this lead to  incomplete
    files.
    

Problem conclusion

  • The code is fixed
    

Temporary fix

Comments

APAR Information

  • APAR number

    RS02166

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    871

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-09-25

  • Closed date

    2015-10-16

  • Last modified date

    2015-10-16

  • 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

  • R871 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":"8.7.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
03 November 2021