Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ 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 |
|
Status |
new |
|
Product Version |
4.0.1 |
|
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. |
Additional Information |
|
|
Attached Files |
|
|