Mantis Bugtracker
  

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

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
01-22-10 02:12 Javart New Issue
03-19-10 09:49 aduchate File Added: nulldate.patch


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