Program: 148242
Project: 148242
Buggy source:
public Object doDeserialize(XMLReader reader,SOAPDeserializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSItemPKsByCriteriaResponseResults instance=new com.amalto.workbench.webservices.WSItemPKsByCriteriaResponseResults();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_date_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_date_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setDate(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_date_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_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_taskId_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_taskId_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTaskId((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_taskId_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.WSItemPKsByCriteriaResponseResults instance=new com.amalto.workbench.webservices.WSItemPKsByCriteriaResponseResults();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_date_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_date_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setDate(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_date_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_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_taskId_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_taskId_QNAME,reader,context);
      instance.setTaskId((java.lang.String)member);
      reader.nextElementContent();
    }
  }
  XMLReaderUtil.verifyReaderState(reader,XMLReader.END);
  return (Object)instance;
}