Viewing Issue Advanced Details
[ Jump to Notes ]
|
[ View Simple ]
[ Issue History ]
[ Print ]
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
0003713 |
[Hessian] |
minor |
always |
10-16-09 01:22 |
10-16-09 01:22 |
|
Reporter |
Marian Kolesar |
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 |
0003713: serialization/deserialization of java.math.BigDecimal |
Description |
java.math.BigDecimal is serialized by com.caucho.hessian.io.JavaSerializer and deserialized by com.caucho.hessian.io.JavaDeserializer. Deserialization leads to:
"com.caucho.hessian.io.HessianProtocolException: 'java.math.BigDecimal' could not be instantiated".
In version 3.1.6 was used StringValueSerializer/StringValueDeserializer for serialization/deserialization of BigDecimal.
I have tested workaround that uses StringValueSerializer/StringValueDeserializer for BigDecimalin with version 4.0.1 and it worked fine, so I propose to use these for serialization. |
Steps To Reproduce |
|
Additional Information |
|
|
Attached Files |
|
|