hugoloza / gwt-platform

Automatically exported from code.google.com/p/gwt-platform
0 stars 0 forks source link

GWT not serialising #378

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I created some files in gwt which were included in module.xml (xxxx.gwt.xml), 
were implementing IsSerializable interface, had default constructors, and non 
final members are serializable but still I am getting serilization exception. 
Below is the stack trace.

11/14/11-16:17:43.584 btpool0-0 ModelConversionUtil V Initial model: 
[AddNoteTag, EditStatsQueryCollection, UndoManualMatch, Workflow, Set Priority, 
DiscrepShowDiscrepDetail, BrowseArenaObj, CreateRrp, SuppressionTool, 
UnSuppress, CheckStaleness, ProblemRefresh, ConfigNem, RunImmediateSweep, 
ViewSweepPlan, RestartSweep, PauseSweep, ResumeSweep, EditSweep, DeleteSweep, 
EditEventFilter, EditEventBuildup, ActivateEventFilter, DeActivateEventFilter, 
ActivateEventBuildup, DeActivateEventBuildup, AddSingleAddrConfigsToGroup, 
ShowSvcCompDetail, EditAutoReconActionRule, RediscoverNE, DeleteTab, 
CreateTopology, ZoomIn, ZoomOut, CenterNode, AdjustLayout, Relayout, 
ActivateRule, DeactivateRule, ActivatePattern, DeactivatePattern, 
SubmitLoopbackRequest, EditRimFilter, EditRimValidationRule, 
ActivateRimValidationRule, DeactivateRimValidationRule, Service, RetryAction, 
CancelAction, EditSetting, ActivateAutoReconActionRule, 
DeActivateAutoReconActionRule, EvaluateNowAutoReconActionRule]
Filtered Model: [AddNoteTag, EditStatsQueryCollection, UndoManualMatch, 
Workflow, Set Priority, DiscrepShowDiscrepDetail, BrowseArenaObj, CreateRrp, 
SuppressionTool, UnSuppress, CheckStaleness, ProblemRefresh, ConfigNem, 
RunImmediateSweep, ViewSweepPlan, RestartSweep, PauseSweep, ResumeSweep, 
EditSweep, DeleteSweep, EditEventFilter, EditEventBuildup, ActivateEventFilter, 
DeActivateEventFilter, ActivateEventBuildup, DeActivateEventBuildup, 
AddSingleAddrConfigsToGroup, ShowSvcCompDetail, EditAutoReconActionRule, 
RediscoverNE, DeleteTab, CreateTopology, ZoomIn, ZoomOut, CenterNode, 
AdjustLayout, Relayout, ActivateRule, DeactivateRule, ActivatePattern, 
DeactivatePattern, SubmitLoopbackRequest, EditRimFilter, EditRimValidationRule, 
ActivateRimValidationRule, DeactivateRimValidationRule, Service, RetryAction, 
CancelAction, EditSetting, ActivateAutoReconActionRule, 
DeActivateAutoReconActionRule, EvaluateNowAutoReconActionRule]
11/14/11-16:17:43.584 btpool0-0 QueryServiceImpl > Done successfully
com.google.gwt.user.client.rpc.SerializationException: Type 
'com.xxx.xx.xxx.xxx.xxx.xxx.xxxx' 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.: instance = 
com.xxx.xx.xxx.xxx.xxx.xxx.xxxx1937fb7
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:619)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:539)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:709)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:748)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:621)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
    at com.google.gwt.user.client.rpc.core.java.util.Collection_CustomFieldSerializerBase.serialize(Collection_CustomFieldSerializerBase.java:44)
    at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serialize(ArrayList_CustomFieldSerializer.java:39)
    at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java:51)
    at com.google.gwt.user.client.rpc.core.java.util.ArrayList_CustomFieldSerializer.serializeInstance(ArrayList_CustomFieldSerializer.java:28)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:740)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:621)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
    at com.google.gwt.user.client.rpc.core.java.util.Map_CustomFieldSerializerBase.serialize(Map_CustomFieldSerializerBase.java:53)
    at com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serialize(HashMap_CustomFieldSerializer.java:39)
    at com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serializeInstance(HashMap_CustomFieldSerializer.java:51)
    at com.google.gwt.user.client.rpc.core.java.util.HashMap_CustomFieldSerializer.serializeInstance(HashMap_CustomFieldSerializer.java:28)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:740)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:621)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:539)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeClass(ServerSerializationStreamWriter.java:709)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeImpl(ServerSerializationStreamWriter.java:748)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:621)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamWriter.writeObject(AbstractSerializationStreamWriter.java:126)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter$ValueWriter$8.write(ServerSerializationStreamWriter.java:153)
    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serializeValue(ServerSerializationStreamWriter.java:539)
    at com.google.gwt.user.server.rpc.RPC.encodeResponse(RPC.java:616)
    at com.google.gwt.user.server.rpc.RPC.encodeResponseForSuccess(RPC.java:474)
    at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:571)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
    at com.xxxx.xx.xxxx.xxxxx.xxxxxxx.xxxRemoteServiceServlet.processCall(TSRemoteServiceServlet.java:27)
    at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
    at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097)
    at com.xxxx.xx.server.web.TSSessionFilter.doFilter(TSSessionFilter.java:59)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    at com.xxxx.xx.server.web.GodFilter.doFilter(GodFilter.java:26)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.handler.RequestLogHandler.handle(RequestLogHandler.java:49)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:843)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:647)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)

What is the expected output? What do you see instead?
No serialization errors

What version of the product are you using? On what operating system?
2.4 on Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by vadkkeda...@gmail.com on 15 Nov 2011 at 5:50

GoogleCodeExporter commented 9 years ago
This ticket is a GWT problem and not related to GWTP. Please seek help on the 
GWT Group here https://groups.google.com/forum/#!forum/google-web-toolkit

Original comment by bjoern.m...@gmail.com on 18 Nov 2011 at 1:12