Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004210 [Resin] minor always 09-10-10 10:29 11-17-10 10:07
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 4.0.14 Product Version
  Product Build
Summary 0004210: setHeader content-length with non-integer value
Description (rep by mkjang)

Error Log : Java.lang.NumberFormatException : For input String : "1234;"

This problem appears when getting a file size. By inserting String type data
to Long type data, not match type. Below is source about relevant part.

response.setHeader("Content-Length",""+File.length()+";");

As you see, specified ';' in source. you think that it's ok.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0004851)
ferg
11-17-10 10:07

server/1b70
 

- Issue History
Date Modified Username Field Change
09-10-10 10:29 ferg New Issue
09-10-10 10:30 ferg Summary setHeader => setHeader content-length with non-integer value
11-17-10 10:07 ferg Note Added: 0004851
11-17-10 10:07 ferg Assigned To  => ferg
11-17-10 10:07 ferg Status new => closed
11-17-10 10:07 ferg Resolution open => fixed
11-17-10 10:07 ferg Fixed in Version  => 4.0.14


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker