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

hc-httpclient-users | Uwe Seimet | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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