Uploaded image for project: 'Commons FileUpload'
  1. Commons FileUpload
  2. FILEUPLOAD-137

MultipartStream public API broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2
    • 1.2.1, 1.3.1
    • None

    Description

      In commons-transaction 1.2 the MultipartStream class has 2 public constructors. Both are deprecated; however their implementation delegates to non-visible (package-private) constructors. There are two issues here:

      1. the deprecated, delegating constructors use a null pointer for the progress notifier, which in turn yield a NullPointerException when you try to use them
      2. the non-deprecated constructors are not visible.

      Hence, I cannot really upgrade from 1.0 to 1.2.

      Thanks,

      Mark.

      Attachments

        Activity

          People

            jochen@apache.org Jochen Wiedmann
            marksinke Mark Sinke
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: