java.lang.IllegalArgumentException: Illegal character(s) in message header value: SITESERVER=ID=bfe5bedac5ef5c6553da6037e6 .... DQo8L3NhbWw6QXNzZXJ0aW9uPg==_null

sun.com | 8 months 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

    Bug ID: JDK-6502568 request header has garbage characters when size of cookie is greater than 4k

    sun.com | 8 months ago
    java.lang.IllegalArgumentException: Illegal character(s) in message header value: SITESERVER=ID=bfe5bedac5ef5c6553da6037e6 .... DQo8L3NhbWw6QXNzZXJ0aW9uPg==_null

  1. musketyr 8 times, last 7 months ago

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    Illegal character(s) in message header value: SITESERVER=ID=bfe5bedac5ef5c6553da6037e6 .... DQo8L3NhbWw6QXNzZXJ0aW9uPg==_null

    at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader()
  2. Java RT
    HttpURLConnection.addRequestProperty
    1. sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(Unknown Source)
    2. sun.net.www.protocol.http.HttpURLConnection.addRequestProperty(Unknown Source)
    2 frames
  3. sun.plugin.net
    HttpURLConnection.getInputStream
    1. sun.plugin.net.protocol.http.HttpURLConnection.connectSetup(Unknown Source)
    2. sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
    3. sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    3 frames
  4. Java RT
    ImageFetcher.run
    1. sun.awt.image.URLImageSource.getDecoder(Unknown Source)
    2. sun.awt.image.InputStreamImageSource.doFetch(Unknown Source)
    3. sun.awt.image.ImageFetcher.fetchloop(Unknown Source)
    4. sun.awt.image.ImageFetcher.run(Unknown Source)
    4 frames