Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-11534

Error in uploading very large files, ie >2GB

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • 17.12.03, 18.12.01
    • ALL APPLICATIONS
    • None

    Description

      There is an issue in uploading large files, I am able to upload files up to 2 GB successfully but getting an error when trying to upload a file larger than 2GB.

      Example - 

      1. Go to party profile -

      https://demo-trunk.ofbiz.apache.org/partymgr/control/viewprofile?partyId=admin

      2. Try to create a party content with a file larger than 2 GB

      3. Error on console

      ============================
      java.lang.NegativeArraySizeException: nulljava.lang.NegativeArraySizeException: null at org.apache.commons.fileupload.disk.DiskFileItem.get(DiskFileItem.java:308) ~[commons-fileupload-1.4.jar:1.4] at org.apache.ofbiz.base.util.UtilHttp.getMultiPartParameterMap(UtilHttp.java:275) ~[main/:?] at
      =============================

       

      Attachments

        1. OFBIZ-11534.patch
          2 kB
          Jacques Le Roux
        2. OFBIZ-11534.patch
          18 kB
          Jacques Le Roux

        Activity

          People

            jleroux Jacques Le Roux
            chandan.khandelwal Chandan Khandelwal
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: