Mantis - Hessian
Viewing Issue Advanced Details
3856 tweak always 01-22-10 02:12 03-19-10 09:49
Javart  
 
normal  
new 4.0.1  
open  
none    
none  
0003856: Catering for NULLs passed to JavaDeserializer in place of SqlTime, SqlDate, SqlTimestamp
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.
 nulldate.patch [^] (1,355 bytes) 03-19-10 09:49

There are no notes attached to this issue.