title: Hazelcast IMap.get() throws HazelcastSerializationException, but IMap.put() works fine
body: <p>I have an Hazelcast server instance running on a VM. Data is supposed to be stored in a <code>MAP&lt;Integer, User&gt;</code>, where the User class is as following:</p>
  
  <pre><code>public class User implements com.hazelcast.nio.serialization.DataSerializable{
      private Integer id;
      private String name;
      private String nick;
      private Boolean sex;
  
      //getters &amp; setters
  
      @Override
      public void writeData(ObjectDataOutput out) throws IOException{
          out.writeInt(id.intValue());
          out.writeUTF(name);
          out.writeUTF(nick);
          out.writeBoolean(sex);
      }
  
      @Override
      public void readData(ObjectDataInput in) throws IOException{       
          id = (Integer) in.readInt();
          name = in.readUTF();
          nick = in.readUTF();
          sex = in.readBoolean();
      }
  </code></pre>
  
  <p>I connect to this server with a client instance and try to add an object to that map:</p>
  
  <pre><code>    System.out.println("Map Size: " + map.size());
      map.put(1, user);
      System.out.println("Map Size: " + map.size());
  
      System.out.println(map.containsKey(1) ? "yes":"no");
      System.out.println(map.containsValue(user) ? "yes":"no");
      User queried = (User) map.get(1);    /*this is line 64*/
  
      System.out.println(queried.toString());
  </code></pre>
  
  <p>The upper code gives me the following console output:</p>
  
  <pre><code>    Map Size: 0
      Map Size: 1
      yes
      yes
  </code></pre>
  
  <p>And the following Exception for the line <code>User queried = (User) map.get(1);</code>:</p>
  
  <pre><code>Problem while reading DataSerializable, namespace: 0, id: 0, class: com.blabla.User, exception: com.blabla.User.&lt;init&gt;()
  </code></pre>
  
  <p>What is here the problem? Why can't I read the data I just put in the Map?</p>
  
  <p>Here are the exception details:</p>
  
  <pre><code>com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:114)
      com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36)
      com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59)
      com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:218)
      com.hazelcast.client.spi.impl.ClientClusterServiceImpl._sendAndReceive(ClientClusterServiceImpl.java:172)
      com.hazelcast.client.spi.impl.ClientClusterServiceImpl.sendAndReceive(ClientClusterServiceImpl.java:137)
      com.hazelcast.client.spi.impl.ClientInvocationServiceImpl.invokeOnTarget(ClientInvocationServiceImpl.java:42)
      com.hazelcast.client.spi.impl.ClientInvocationServiceImpl.invokeOnKeyOwner(ClientInvocationServiceImpl.java:53)
      com.hazelcast.client.proxy.ClientMapProxy.invoke(ClientMapProxy.java:492)
      com.hazelcast.client.proxy.ClientMapProxy.get(ClientMapProxy.java:83)
      com.blabla.HazelcastFactory.insertUser(HazelcastFactory.java:64)
  
  java.lang.NoSuchMethodException: com.dileky.User.&lt;init&gt;()
      java.lang.Class.getConstructor0(Class.java:2800)
      java.lang.Class.getDeclaredConstructor(Class.java:2043)
      com.hazelcast.nio.ClassLoaderUtil.newInstance(ClassLoaderUtil.java:54)
      com.hazelcast.nio.ClassLoaderUtil.newInstance(ClassLoaderUtil.java:50)
      com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:103)
      com.hazelcast.nio.serialization.DataSerializer.read(DataSerializer.java:36)
      com.hazelcast.nio.serialization.StreamSerializerAdapter.read(StreamSerializerAdapter.java:59)
      com.hazelcast.nio.serialization.SerializationServiceImpl.toObject(SerializationServiceImpl.java:218)
      com.hazelcast.client.spi.impl.ClientClusterServiceImpl._sendAndReceive(ClientClusterServiceImpl.java:172)
      com.hazelcast.client.spi.impl.ClientClusterServiceImpl.sendAndReceive(ClientClusterServiceImpl.java:137)
      com.hazelcast.client.spi.impl.ClientInvocationServiceImpl.invokeOnTarget(ClientInvocationServiceImpl.java:42)
      com.hazelcast.client.spi.impl.ClientInvocationServiceImpl.invokeOnKeyOwner(ClientInvocationServiceImpl.java:53)
      com.hazelcast.client.proxy.ClientMapProxy.invoke(ClientMapProxy.java:492)
      com.hazelcast.client.proxy.ClientMapProxy.get(ClientMapProxy.java:83)
      com.blabla.HazelcastFactory.insertUser(HazelcastFactory.java:64)
  </code></pre>