title: Parcel.readException passing an object to remote service
body: <p>I wrote a remote service that the clients can log on with the usual mechanisms of IPC provided by Android and the binding seems to work. The problem arises when I go to call a method in which I have to pass an object as a parameter because I get this "curious" exception:</p>
  
  <pre><code>10-19 15:09:04.601: ERROR/AndroidRuntime(2985): FATAL EXCEPTION: main  
  10-19 15:09:04.601: ERROR/AndroidRuntime(2985): java.lang.NullPointerException  
  10-19 15:09:04.601: ERROR/AndroidRuntime(2985): at android.os.Parcel.readException(Parcel.java:1253)   
  10-19 15:09:04.601: ERROR/AndroidRuntime(2985):at android.os.Parcel.readException(Parcel.java:1235)  
  10-19 15:09:04.601: ERROR/AndroidRuntime(2985): at it.domod.commons.interfaces.DeviceManager$Stub$Proxy.sendCommand(DeviceManager.java:121)
  </code></pre>
  
  <p>It seems to be thrown from the proxy class generated from the .aidl file.</p>
  
  <p>The more strange thing is that the object seems to be passed correctly but probably there is something wrong around. Any idea?</p>