StreamUtils.copyToByteArray() has thrown an IllegalArgumentException

Thrown to indicate that a method has been passed an illegal or inappropriate argument. @author unascribed @since JDK1.0
at org.springframework.util.Assert.notNull
at org.springframework.util.StreamUtils.copy
at org.springframework.util.StreamUtils.copyToByteArray

Typical Exception Messages

  1. No InputStream specified


We have seen this error pattern in the following webpages (3)

  1. sarnowskivia GitHub1 year ago
    No InputStream specified
  2. Gena Makhomedvia Spring JIRA1 year ago
  3. Gena Makhomedvia Spring JIRA2 years ago