Getting a NullPointerException when calling getAllHeaders(), before reading the message body. A workaround is to read the body first, then getAllHeaders() works as expected.
Log in to post a comment.