Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0003856 |
[Hessian] |
tweak |
always |
01-22-10 02:12 |
03-19-10 09:49 |
|
Reporter |
Javart |
View Status |
public |
|
Assigned To |
|
Priority |
normal |
Resolution |
open |
Platform |
|
Status |
new |
|
OS |
|
Projection |
none |
|
OS Version |
|
ETA |
none |
Fixed in Version |
|
Product Version |
4.0.1 |
|
Product Build |
|
|
Summary |
0003856: Catering for NULLs passed to JavaDeserializer in place of SqlTime, SqlDate, SqlTimestamp |
Description |
In com.caucho.hessian.io.JavaDeserializer there are 3 static classes named SqlDateFieldDeserializer, SqlTimestampFieldDeserializer, and SqlTimeFieldDeserializer. Each static class contains method 'void deserialize(AbstractHessianInput in, Object obj)' where 'in.readObject()' is cast to java.util.Date. Please check that the given object is not NULL before calling methods on it, hence avoiding NullPointerException. |
Steps To Reproduce |
|
Additional Information |
|
|
Attached Files |
nulldate.patch [^] (1,355 bytes) 03-19-10 09:49 |
|