Hello,
I am in the process of converting from gwt 1.5 to 1.7.1 and
getting the following error
when I am trying to get a HashMap from the server.
Any idea why this might happen?
I am using JDK 1.6.0_13.
The request looks like
5|0|4|http://localhost:54002/Webclient/webclient/|
E2C9084EB9
2 quick questions.
1. are u using generics.
2. have all the objects of your hashmap implemented isSeriliazable or
Serilizable interface.
On Mon, Oct 26, 2009 at 10:51 AM, Palani wrote:
>
> Hello,
>I am in the process of converting from gwt 1.5 to 1.7.1 and
> getting the following error
Thanks for the reply.
(1) Yes, I am using generics.
(2) I am putting only String in the map
Below is how the code looks like
// method that gets the data from the server
public void getPropertiesMap {
AsyncCallback> callback = new
Async
in your service impl you have not used a generic version of hashmap.
try the below code
public HashMap getPropertiesMap()
throws InvalidSessionException {
change from *HashMap m = new HashMap(); to HashMap
m = new HashMap();
* m.put("XXX", "
Sudeep,
I believe that the problem has been resolved now. The
problem was that I had the gwt-servlet.jar file in two different
locations. One in WEB_INF\lib folder and same copy in another folder
which was the main classpath.
This was causing the problem.
Thank you.
=
On