UI Framework
  1. UI Framework
  2. UIFR-52

NPE when you put a @RequestParam annotation on a different controller method argument when there's a file upload

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Should Should
    • Resolution: Fixed
    • Affects Version/s: UI Framework 1.4
    • Fix Version/s: UI Framework 1.5
    • Labels:
      None
    • Complexity:
      Low

      Description

      I wrote this code:

      public void controller(PageModel model,
      	                       @RequestParam(value="priorVersion", required=false) String priorVersion,
      	                       HttpServletRequest request) {
      

      When the request contains a multipart file upload, this leads to an NPE.

        Gliffy Diagrams

          Activity

          Hide
          Darius Jazayeri added a comment -

          Fixed in fc06e3b6b22743fe25f54bb79be39f7de2ff7db1

          Show
          Darius Jazayeri added a comment - Fixed in fc06e3b6b22743fe25f54bb79be39f7de2ff7db1

            People

            • Assignee:
              Darius Jazayeri
              Reporter:
              Darius Jazayeri
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development