it seems that the compiler is complainint, that BigDecimal cannot be
serialized
this is because GWT does not emulate this class (http://
code.google.com/intl/de-DE/webtoolkit/doc/1.6/RefJreEmulation.html)
you may use http://code.google.com/p/gwt-math/ to work around this
problem

On Aug 20, 5:40 am, develo <[email protected]> wrote:
> 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' . 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....
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to