java.lang.IllegalArgumentException: charset may not be null or empty

hc-httpclient-users | Uwe Seimet | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Exception: charset may not be null or empty

    hc-httpclient-users | 1 decade ago | Uwe Seimet
    java.lang.IllegalArgumentException: charset may not be null or empty
  2. 0

    Re: Exception: charset may not be null or empty

    hc-httpclient-users | 1 decade ago | Oleg Kalnichevski
    java.lang.IllegalArgumentException: charset may not be null or empty

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      charset may not be null or empty

      at org.apache.commons.httpclient.util.EncodingUtil.getString()
    2. HttpClient
      HttpMethodBase.getResponseBodyAsString
      1. org.apache.commons.httpclient.util.EncodingUtil.getString(EncodingUtil.java:159)
      2. org.apache.commons.httpclient.util.EncodingUtil.getString(EncodingUtil.java:186)
      3. org.apache.commons.httpclient.HttpMethodBase.getResponseBodyAsString(HttpMethodBase.java:738)
      3 frames