0 Replies Latest reply on Jun 5, 2012 6:12 PM by Matthew Casperson

    Null Pointer Exception in QualifyingMarshallerWrapper

    Matthew Casperson Newbie

      The following code from the org.jboss.errai.marshalling.client.marshallers.QualifyingMarshallerWrapper.doNotNullDemarshall() method throws a NullPointerException because o can be a GWTJSONValue, which means obj is null.

       

      EJObject obj = o.isObject();
      String objId = obj.get(SerializationParts.OBJECT_ID).isString().stringValue();