Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-beta-3
    • Fix Version/s: 1.0-beta-4
    • Component/s: wagon-http
    • Labels:
      None

      Description

      Empty file transfers causes NPE:

      java.lang.NullPointerException
      at org.apache.maven.wagon.LazyFileOutputStream.flush(LazyFileOutputStream.java:77)
      at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:491)
      at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:325)
      at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:297)
      at org.apache.maven.wagon.AbstractWagon.getTransfer(AbstractWagon.java:274)
      at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:97)
      at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              avirtanen Antti Virtanen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: