Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ 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 |
|
Status |
new |
|
Product Version |
4.0.1 |
|
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. |
Additional Information |
|
|
Attached Files |
nulldate.patch [^] (1,355 bytes) 03-19-10 09:49 |
|