Code Monkey home page Code Monkey logo

cometd4gwt's People

Contributors

tojewel avatar

Watchers

 avatar  avatar

cometd4gwt's Issues

com.google.gwt.user.client.rpc.SerializationException: java.util.Date

What steps will reproduce the problem?
1. Running the 'cometd4gwt-test' in Eclipse via DevMode.
2. Open a browser to check this demo, there will be a error message Window 
alert popup 'DeserializeException=java.util.Date/1659716317' by 
GwtSerializedJso.java
3. Click 'ok' to confirm this message and there are some logs on console “
message on the server side: Tweet [date=Mon Nov 21 16:19:00 CST 2011, 
message=[client=mtj4t6xcnkr0b5zcs, userId=661] has came online]
message on the server side: Tweet [date=Mon Nov 21 16:19:10 CST 2011, 
message=mtj4t6xcnkr0b5zcs is ofline]
com.google.gwt.user.client.rpc.SerializationException: java.util.Date/1659716317
    at com.google.gwt.user.client.rpc.impl.SerializerBase.getTypeHandler(SerializerBase.java:153)
    at com.google.gwt.user.client.rpc.impl.SerializerBase.instantiate(SerializerBase.java:114)
    at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:111)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
    at org.cometd4gwt.client.Tweet_FieldSerializer.deserialize(Tweet_FieldSerializer.java:29)
    at org.cometd4gwt.client.Tweet_FieldSerializer.deserial(Tweet_FieldSerializer.java:49)
    at com.google.gwt.user.client.rpc.impl.SerializerBase.deserialize(SerializerBase.java:95)
    at com.google.gwt.user.client.rpc.impl.ClientSerializationStreamReader.deserialize(ClientSerializationStreamReader.java:113)
    at com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader.readObject(AbstractSerializationStreamReader.java:119)
    at org.cometd4gwt.client.impl.GwtSerializedJso$.getObject$(GwtSerializedJso.java:19)
    at org.cometd4gwt.client.impl.CometdClientImpl$4.onMessageReceived(CometdClientImpl.java:92)
    at org.cometd4gwt.client.impl.CometdClientImpl$4.onMessageReceived(CometdClientImpl.java:1)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
    at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
    at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
    at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:292)
    at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:546)
    at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:363)
    at java.lang.Thread.run(Thread.java:662)
”

What is the expected output? What do you see instead?


What version of the product are you using? On what operating system?
The latest version.

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 21 Nov 2011 at 8:22

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.