Comm.deHextoByte got a numberFormatException

Discussion in 'Java' started by Bob Brown, Jul 1, 2003.

  1. Bob Brown

    Bob Brown Guest

    My place of work is running a statewide java based vehicle
    registration system, (javax OS2 fat clients, and internet users as
    clients), and WebSphere Application server (WAS, an IBM product) 4.05
    to service all our client requests to our DB2 and Mainframe file
    systems, and toi also run teh server side code. One servlet handles
    the OS2 requests, and a couple of other
    servlets handle the web requests. Everyday, a few of the OS2 clients
    report an error thrown back to the client as a result of WAS
    apparently not stripping out the HTTP response header, then putting
    the header info as part of the alpha and numeric data that's supposed
    to be returned to the client (hence the number format exception). IBM
    is trying to help us out with this, but it has been a while with no
    solution as of yet. We even upgraded from WAS 4.03 to 4.05 to try to
    solve this number format exception problem.
    Here are 3 different example java stack traces that have been thrown
    back to the client:

    1)Mon Jun 23 14:32:01 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code -1
    Mon Jun 23 14:32:01 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code null
    Mon Jun 23 14:32:01 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code HTTP/1.1 200 OKDate: Mon, 23 Jun 2003 20:31:45
    GMTServer: IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive:
    timeout=15, max=97Connection: Keep-AliveTransfer-Encoding:
    chunkedContent-Type: text/htmlContent-Language:
    en8261f8b08000000000000007d94c...
    Mon Jun 23 14:32:01 CDT 2003 Receive from Server
    Mon Jun 23 14:32:01 CDT 2003 java.lang.String
    Comm.deHextoByte got a numberFormatException
    Mon Jun 23 14:32:01 CDT 2003
    java.lang.NumberFormatException data =
    HTTP/1.1 200 OKDate: Mon, 23 Jun 2003 20:31:45 GMTServer:
    IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive: timeout=15,
    max=97Connection: Keep-AliveTransfer-Encoding: chunkedContent-Type:
    text/htmlContent-Language: en8261f8b08000

    2)Wed May 21 08:46:45 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code -1
    Wed May 21 08:46:45 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code null
    Wed May 21 08:46:45 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code HTTP/1.1 200 OKDate: Wed, 21 May 2003 13:46:30
    GMTServer: IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive:
    timeout=15, max=99Connection: Keep-AliveTransfer-Encoding:
    chunkedContent-Type: text/htmlContent-Language: en4a21f8b080...
    Wed May 21 08:46:45 CDT 2003 Receive from Server
    Wed May 21 08:46:45 CDT 2003 java.lang.String
    Comm.deHextoByte got a
    numberFormatException
    Wed May 21 08:46:45 CDT 2003
    java.lang.NumberFormatException data =
    HTTP/1.1 200 OKDate: Wed, 21 May 2003 13:46:30 GMTServer:
    IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive: timeout=15,
    max=99Connection: Keep-AliveTransfer-Encoding: chunkedContent-Type:
    text/htmlContent-Language: en4a21f8b0800000000...

    3)Tue Apr 29 15:51:38 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code -1
    Tue Apr 29 15:51:38 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code null
    Tue Apr 29 15:51:38 CDT 2003
    sun.net.www.protocol.http.HttpURLConnection Unexpected
    HTTP Return Code HTTP/1.1 200 OKDate: Tue, 29 Apr 2003 20:51:22
    GMTServer: IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive:
    timeout=15, max=99Connection: Keep-AliveTransfer-Encoding:
    chunkedContent-Type: text/htmlContent-Language:
    en1b141f8b0800000000000000cd...
    Tue Apr 29 15:51:38 CDT 2003 Receive from Server
    Tue Apr 29 15:51:38 CDT 2003 java.lang.String
    Comm.deHextoByte got a
    numberFormatException
    Tue Apr 29 15:51:38 CDT 2003
    java.lang.NumberFormatException data =
    HTTP/1.1 200 OKDate: Tue, 29 Apr 2003 20:51:22 GMTServer:
    IBM_HTTP_SERVER/1.3.19.4 Apache/1.3.20 (Unix)Keep-Alive: timeout=15,
    max=99Connection: Keep-AliveTransfer-Encoding: chunkedContent-Type:
    text/htmlContent-Language: en1b141f8b0800000000000000


    Any clues on this would be greatly appreciated.
    Bob
    Bob Brown, Jul 1, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. June Moore
    Replies:
    3
    Views:
    28,715
    Arild Skaar
    Feb 25, 2004
  2. Replies:
    3
    Views:
    1,423
  3. morc

    NumberFormatException

    morc, Mar 2, 2006, in forum: Java
    Replies:
    11
    Views:
    805
    JPractitioner
    Mar 3, 2006
  4. gbattine
    Replies:
    4
    Views:
    3,159
    Rhino
    May 23, 2006
  5. gbattine
    Replies:
    2
    Views:
    15,905
    Thomas Weidenfeller
    May 30, 2006
Loading...

Share This Page