IBM Support

JR44503: UNABLE TO UPLOAD DOCUMENTS TO BPM IN COACH CONTROLS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Executing a simple coach with file attachments in Process
    Designer results in exception
    
    00000036 wle_servlet   E CWLLG0005E: A Throwable was caught in
    the servlet method doGet(). The class it occurred in was
    com.lombardisoftware.servlet.ControllerServlet.
    
    java.lang.ClassCastException: [Ljava.lang.Object; incompatible
    with [Ljava.lang.String;
     at com.lombardisoftware.core.TeamWorksException.
         asTeamWorksException(TeamWorksException.java:130)
     at com.lombardisoftware.core.RegexExceptionRewriter.
         rewrite(RegexExceptionRewriter.java:76)
     at com.lombardisoftware.core.ExceptionHandler.
         returnProcessedException(ExceptionHandler.java:311)
     at com.lombardisoftware.servlet.ControllerServlet.
         processError(ControllerServlet.java:171)
     at com.lombardisoftware.servlet.ControllerServlet.
         doError(ControllerServlet.java:167)
     at com.lombardisoftware.servlet.ControllerServlet.
         doPost(ControllerServlet.java:157)
     at javax.servlet.http.HttpServlet.service(HttpServlet.java:738)
    

Local fix

  • N/A
    

Problem summary

  • Problem Description:
    Unable to upload document attachments to BPM using coaches.
    
    Problem Summary:
    The servlet parameter values are incorrectly converted from a
    List<String> to String[].  The following exception is reported:
    
    java.lang.ClassCastException: [Ljava.lang.Object; incompatible
    with [Ljava.lang.String;
     at
    com.lombardisoftware.servlet.util.LswRequestWrapper.getParameter
    Values(LswRequestWrapper.java:135)
     at
    com.lombardisoftware.servlet.LswServlet.dumpParams(LswServlet.ja
    va:86)
     at
    com.lombardisoftware.servlet.ControllerServlet.doCommon(Controll
    erServlet.java:280)
     at
    com.lombardisoftware.servlet.ControllerServlet.doPost(Controller
    Servlet.java:152)
    
    The wrong List<String>.toArray() method was used for the
    conversion.
    
    Problem Conclusion:
    This fix converts the List<String> to String[] correctly.
    

Problem conclusion

  • Problem fixed
    iFix available on top V7511
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR44503

  • Reported component name

    BPM STANDARD

  • Reported component ID

    5725C9500

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-10-23

  • Closed date

    2012-11-26

  • Last modified date

    2012-11-26

  • 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

    BPM STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R751 PSY

       UP

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1"}]

Document Information

Modified date:
07 October 2021