IBM Support

JR65005: DEBUG FAILS TO STEP INTO NESTED SERVICES FLOW IN IBM CLOUD PAK FOR BUSINESS AUTOMATION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

Direct link to fix

 

APAR status

  • Closed as program error.

Error description

  • If you create a nested Service Flow for a Workflow in Process
    designer and you attempt to debug and step into that nested
    Service Flow, nothing will happen. If you look at an HTTP
    capture you would see a HTTP 500 error occurring for this URL:
    <hostname>/bas/rest/bpm/wle/v1/playback/emulation/service?action
    resume&mode=debug...
    
    In addition, if you look at the BAStudio pod logs you will see
    the following exception occurring:
    [2022-05-27T17:55:51.157+0000] 00000d15
    com.ibm.bpm.rest.filter.BPMRestServletRequestWrapper        E
    !!This method should not be invoked, especially in a Liberty
    environment. Change the calling code to accept the request body
    as a parameter to the REST method implementation.!!
    java.lang.IllegalStateException: SRVE0779E: The InputStream
    object for this response has already been obtained. This is an
    application error.
       at
    com.ibm.ws.webcontainer.srt.SRTServletRequest.getReader(SRTServl
    etRequest.java:1204)
       at
    javax.servlet.ServletRequestWrapper.getReader(ServletRequestWrap
    per.java:274)
       at
    com.ibm.bpm.rest.filter.BPMRestServletRequestWrapper.getReader(B
    PMRestServletRequestWrapper.java:757)
       at
    com.ibm.ws.jaxrs20.server.JaxRsHttpServletRequestAdapter.getRead
    er(JaxRsHttpServletRequestAdapter.java:364)
       at
    javax.servlet.ServletRequestWrapper.getReader(ServletRequestWrap
    per.java:274)
       at
    com.ibm.bpm.rest.impl.playback.EmulateServicePlaybackResourceImp
    l.createEmulateServicePlayback(EmulateServicePlaybackResourceImp
    l.java:174)
       at
    com.ibm.bpm.rest.impl.playback.EmulateServicePlaybackResource.cr
    eateEmulateServicePlayback(EmulateServicePlaybackResource.java:1
    18)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
    Method)
       at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessor
    Impl.java:90)
       at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethod
    AccessorImpl.java:55)
       at java.lang.reflect.Method.invoke(Method.java:508)
       at
    com.ibm.ws.jaxrs20.server.LibertyJaxRsServerFactoryBean.performI
    nvocation(LibertyJaxRsServerFactoryBean.java:656)
    

Local fix

Problem summary

  • BPMRestServletRequestWrapper does not support post data in rest
    APIs for IBM WebSphere Liberty.
    
    PRODUCT AFFECTED
    IBM Cloud Pak for Business Automation
    

Problem conclusion

  • A fix is available or will be available that uses query
    parameters instead of post data for the rest API.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR65005

  • Reported component name

    CLOUD PAK FOR A

  • Reported component ID

    5737I2300

  • Reported release

    L00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-06-02

  • Closed date

    2022-06-30

  • Last modified date

    2022-06-30

  • 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

    CLOUD PAK FOR A

  • Fixed component ID

    5737I2300

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSBYVB","label":"IBM Cloud Pak for Business Automation"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"L00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
24 August 2022