Anonymous | Login | Signup for a new account | 11-24-2024 13:08 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0005046 | [Hessian] | crash | always | 04-26-12 03:25 | 11-05-12 17:33 | |||||||
Reporter | laruellec | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | 4.0.7 | |||||||||
Summary | 0005046: Java 1.7 Locale serialization fails | |||||||||||
Description |
Using Spring HessianServiceExporter, we have a service that has a Locale parameter. Everything works fine in Java 1.6 (the webapp is hosted in tomcat) But if we setup tomcat to use Java 1.7, all calls crash. The root cause of the exception is : Caused by: java.lang.NullPointerException at java.util.Locale.readResolve(Locale.java:2096) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.caucho.hessian.io.UnsafeDeserializer.resolve(UnsafeDeserializer.java:291) at com.caucho.hessian.io.UnsafeDeserializer.readMap(UnsafeDeserializer.java:217) |
|||||||||||
Additional Information | ||||||||||||
Attached Files | ||||||||||||
|
Notes | |
(0006081) altmind 11-05-12 17:33 |
Struck the same problem. Seems to be an incompatibility of LocaleHandler with Java7. Here's custom serializer https://github.com/altmind/hessian-locale [^] This helped me. |
Issue History | |||
Date Modified | Username | Field | Change |
04-26-12 03:25 | laruellec | New Issue | |
11-05-12 05:56 | altmind | Issue Monitored: altmind | |
11-05-12 17:33 | altmind | Note Added: 0006081 |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
30 total queries executed. 26 unique queries executed. |