Program: 149081
Project: 149081
Buggy source:
public Object doDeserialize(XMLReader reader,SOAPDeserializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSRoutingOrderV2 instance=new com.amalto.workbench.webservices.WSRoutingOrderV2();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_name_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_name_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setName((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_name_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_status_QNAME)) {
      member=ns2myns2_WSRoutingOrderV2Status__WSRoutingOrderV2Status_LiteralSerializer.deserialize(ns1_status_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setStatus((com.amalto.workbench.webservices.WSRoutingOrderV2Status)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_status_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_timeCreated_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeCreated_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeCreated(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeCreated_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_timeScheduled_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeScheduled_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeScheduled(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeScheduled_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_timeLastRunStarted_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeLastRunStarted_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeLastRunStarted(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeLastRunStarted_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_timeLastRunCompleted_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeLastRunCompleted_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeLastRunCompleted(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeLastRunCompleted_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_serviceJNDI_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_serviceJNDI_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setServiceJNDI((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_serviceJNDI_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_serviceParameters_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_serviceParameters_QNAME,reader,context);
      instance.setServiceParameters((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_serviceParameters_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_message_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_message_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setMessage((java.lang.String)member);
      reader.nextElementContent();
    }
  }
  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.WSRoutingOrderV2 instance=new com.amalto.workbench.webservices.WSRoutingOrderV2();
  Object member=null;
  QName elementName;
  List values;
  Object value;
  reader.nextElementContent();
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_name_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_name_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setName((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_name_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_status_QNAME)) {
      member=ns2myns2_WSRoutingOrderV2Status__WSRoutingOrderV2Status_LiteralSerializer.deserialize(ns1_status_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setStatus((com.amalto.workbench.webservices.WSRoutingOrderV2Status)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_status_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_timeCreated_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeCreated_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeCreated(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeCreated_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_timeScheduled_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeScheduled_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeScheduled(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeScheduled_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_timeLastRunStarted_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeLastRunStarted_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeLastRunStarted(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeLastRunStarted_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_timeLastRunCompleted_QNAME)) {
      member=ns3_myns3__long__long_Long_Serializer.deserialize(ns1_timeLastRunCompleted_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setTimeLastRunCompleted(((Long)member).longValue());
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_timeLastRunCompleted_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_serviceJNDI_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_serviceJNDI_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setServiceJNDI((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_serviceJNDI_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_serviceParameters_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_serviceParameters_QNAME,reader,context);
      instance.setServiceParameters((java.lang.String)member);
      reader.nextElementContent();
    }
 else {
      throw new DeserializationException("String_Node_Str",new Object[]{ns1_serviceParameters_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_message_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_message_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setMessage((java.lang.String)member);
      reader.nextElementContent();
    }
  }
  elementName=reader.getName();
  if (reader.getState() == XMLReader.START) {
    if (elementName.equals(ns1_bindingUniverseName_QNAME)) {
      member=ns3_myns3_string__java_lang_String_String_Serializer.deserialize(ns1_bindingUniverseName_QNAME,reader,context);
      if (member == null) {
        throw new DeserializationException("String_Node_Str");
      }
      instance.setBindingUniverseName((java.lang.String)member);
      reader.nextElementContent();
    }
  }
  XMLReaderUtil.verifyReaderState(reader,XMLReader.END);
  return (Object)instance;
}