IBM Support

PI93049: UNGRACEFUL FAILURE WHEN USING HTTPREQUEST WITH HTTPPOST/HTTPPUT AND WITHOUT A HEADER

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • If you use the HttpRequest perm to put or post a request, but
    without supplying header information, the following error will
    be given:
    
    "-R-E- DXL: <Line:11> An unexpected error has occurred.
    -R-F- DXL: <Line:11> internal error, please submit a bug report
    -I- DXL: execution halted"
    
    To recreate:
    
    Run code such as the following from a DXL interaction window:
    
    "
    HttpBody     requestBody = create
    HttpHeader   requestHeader = create
    
    HttpHeader h = create
    string k = "Content-Type"
    string v = "application/rdf+xml"
    
    //add (requestHeader, "Content-Type", "application/rdf+xml")
    
    string URL  = "http://www.google.co.uk/"
    HttpResponse resp = HttpRequest (HttpPost, URL, requestBody,
    requestHeader)
    "
    
    Workaround: use a valid header.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All users/environments affected.                             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Ungraceful failure if you use the HttpRequest perm to put or *
    * post a request, but without supplying header information.    *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Client side fix.
    

Problem conclusion

  • The exception is caught and an error message is displayed.
    This has been resolved in the DOORS 9.6.1.11 release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI93049

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    961

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-29

  • Closed date

    2018-07-20

  • Last modified date

    2018-07-20

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

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

Fix information

  • Fixed component name

    TLOGIC DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R961 PSY

       UP



Document information

More support for: Rational DOORS

Software version: 961

Reference #: PI93049

Modified date: 20 July 2018