Mantis - Hessian
|
Viewing Issue Advanced Details |
|
ID:
|
Category:
|
Severity:
|
Reproducibility:
|
Date Submitted:
|
Last Update:
|
3856 |
|
tweak |
always |
01-22-10 02:12 |
03-19-10 09:49 |
|
Reporter:
|
Javart |
Platform:
|
|
|
Assigned To:
|
|
OS:
|
|
|
Priority:
|
normal |
OS Version:
|
|
|
Status:
|
new |
Product Version:
|
4.0.1 |
|
Product Build:
|
|
Resolution:
|
open |
|
Projection:
|
none |
|
|
|
ETA:
|
none |
Fixed in Version:
|
|
|
|
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:
|
|
Relationships | |
Attached Files:
|
nulldate.patch [^] (1,355 bytes) 03-19-10 09:49 |