PDA

View Full Version : HELP ME..............(SerializationException: Type 'java.math.BigDecimal' )



suhyun jeon
19 Aug 2009, 8:03 PM
Nice to meet you.
I didn't know unsolve problem ... T.T

[WARN] Exception while dispatching incoming RPC call
java.lang.RuntimeException: com.google.gwt.user.client.rpc.SerializationException: java.lang.reflect.InvocationTargetException
at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleExporterProcessingException(GWTRPCServiceExporter.java:344)
at org.gwtwidgets.server.spring.GWTRPCServiceExporter.processCall(GWTRPCServiceExporter.java:313)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
at org.gwtwidgets.server.spring.GWTRPCServiceExporter.handleRequest(GWTRPCServiceExporter.java:363)
at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:49)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:511)
...........
...........
...........
Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'java.math.BigDecimal' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.
at com.google.gwt.user.server.rpc.impl.StandardSerializationPolicy.validateSerialize(StandardSerializationPolicy.java:83)
at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:591)
at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:129)
at com.extjs.gxt.ui.client.data.RpcMap_CustomFieldSerializer.serialize(RpcMap_CustomFieldSerializer.java:37)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)


I'm setting 'gwt-math 2.1.jar' and 'gwt-math-server-2.1.jar (http://gwt-math.googlecode.com/files/gwt-math-server-2.1.jar)' . This is add build path.
and to inherit the gwt-math into the gwt.xml.

<inherits name="com.googlecode.gwt.math.Math">
</inherits>I don't know.. help me please....

http://extjs.com/forum/images/misc/progress.gif