Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Comm.deHextoByte got a numberFormatException

Reply
Thread Tools

Comm.deHextoByte got a numberFormatException

 
 
Bob Brown
Guest
Posts: n/a
 
      07-01-2003
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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exception in thread "main" java.lang.NumberFormatException gbattine Java 2 05-30-2006 12:15 PM
NumberFormatException:please help me......!!! gbattine Java 4 05-22-2006 11:03 PM
NumberFormatException morc Java 11 03-03-2006 08:04 AM
Exception NumberFormatException when creating an instance of JFileChooser noreic@gmail.com Java 3 08-31-2005 04:08 AM
solving java.lang.NumberFormatException ... June Moore Java 3 02-25-2004 08:39 AM



Advertisments