IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

fileItem null pointer exception

  • 1.  fileItem null pointer exception

    Posted Mon November 08, 2010 09:52 AM

    Hi.

    I’ve got a serious issue, and can’t find any solution!

    Using CAF on Designer 7.1.2 fix 8, I’m trying to develop a task that uploads a file to the MWS portal.
    On my page interface, I’m using a “file input” control, pointing to a “fileItem” object.
    When I try to check on the content of the file (print the file name and size in the logs), I get a null pointer exception, which means the file item is never instanciated.

    Have anyone ever had the same issue (and most important, does anyone have a solution for me? :slight_smile: )

    Thanks in advance.


    #webMethods-BPMS
    #MWS-CAF-Task-Engine
    #webMethods


  • 2.  RE: fileItem null pointer exception

    Posted Wed November 10, 2010 04:18 PM

    I found my mistake. The submit button of my form was an asynchronous one. I changed to a command button and that’s it. :slight_smile:


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine