Program: 148239
Project: 148239
Buggy source:
public Object doDeserialize(XMLReader reader,SOAPDeserializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSDeleteItemWithReport instance=new com.amalto.workbench.webservices.WSDeleteItemWithReport();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_wsItemPK_QNAME)) {
      member=ns2_myWSItemPK_LiteralSerializer.deserialize(ns1_wsItemPK_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setWsItemPK((com.amalto.workbench.webservices.WSItemPK)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_wsItemPK_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_source_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_source_QNAME,reader,context);
      instance.setSource((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_source_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_user_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_user_QNAME,reader,context);
      instance.setUser((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_user_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  XMLReaderUtil.verifyReaderState(reader,XMLReader.END);
  return (Object)instance;
}

Fixed version (ground truth):
public Object doDeserialize(XMLReader reader,SOAPDeserializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSDeleteItemWithReport instance=new com.amalto.workbench.webservices.WSDeleteItemWithReport();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_wsItemPK_QNAME)) {
      member=ns2_myWSItemPK_LiteralSerializer.deserialize(ns1_wsItemPK_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setWsItemPK((com.amalto.workbench.webservices.WSItemPK)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_wsItemPK_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_source_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_source_QNAME,reader,context);
      instance.setSource((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_source_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_operateType_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_operateType_QNAME,reader,context);
      instance.setOperateType((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_operateType_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_updatePath_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_updatePath_QNAME,reader,context);
      instance.setUpdatePath((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_updatePath_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_user_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_user_QNAME,reader,context);
      instance.setUser((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_user_QNAME,reader.getName()});
    }
  }
 else {
    throw new DeserializationException("String_Node_Str",reader.getName().toString());
  }
  XMLReaderUtil.verifyReaderState(reader,XMLReader.END);
  return (Object)instance;
}