Program: 148243
Project: 148243
Buggy source:
public void doSerialize(Object obj,XMLWriter writer,SOAPSerializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSItem instance=(com.amalto.workbench.webservices.WSItem)obj;
  if (instance.getWsDataClusterPK() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns2_myWSDataClusterPK_LiteralSerializer.serialize(instance.getWsDataClusterPK(),ns1_wsDataClusterPK_QNAME,null,writer,context);
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getDataModelName(),ns1_dataModelName_QNAME,null,writer,context);
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getDataModelRevision(),ns1_dataModelRevision_QNAME,null,writer,context);
  if (instance.getConceptName() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getConceptName(),ns1_conceptName_QNAME,null,writer,context);
  if (instance.getIds() != null) {
    for (int i=0; i < instance.getIds().length; ++i) {
      ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getIds()[i],ns1_ids_QNAME,null,writer,context);
    }
  }
  if (new Long(instance.getInsertionTime()) == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3__long__long_Long_Serializer.serialize(new Long(instance.getInsertionTime()),ns1_insertionTime_QNAME,null,writer,context);
  if (instance.getTaskId() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getTaskId(),ns1_taskId_QNAME,null,writer,context);
  if (instance.getContent() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getContent(),ns1_content_QNAME,null,writer,context);
}

Fixed version (ground truth):
public void doSerialize(Object obj,XMLWriter writer,SOAPSerializationContext context) throws Exception {
  com.amalto.workbench.webservices.WSItem instance=(com.amalto.workbench.webservices.WSItem)obj;
  if (instance.getWsDataClusterPK() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns2_myWSDataClusterPK_LiteralSerializer.serialize(instance.getWsDataClusterPK(),ns1_wsDataClusterPK_QNAME,null,writer,context);
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getDataModelName(),ns1_dataModelName_QNAME,null,writer,context);
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getDataModelRevision(),ns1_dataModelRevision_QNAME,null,writer,context);
  if (instance.getConceptName() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getConceptName(),ns1_conceptName_QNAME,null,writer,context);
  if (instance.getIds() != null) {
    for (int i=0; i < instance.getIds().length; ++i) {
      ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getIds()[i],ns1_ids_QNAME,null,writer,context);
    }
  }
  if (new Long(instance.getInsertionTime()) == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3__long__long_Long_Serializer.serialize(new Long(instance.getInsertionTime()),ns1_insertionTime_QNAME,null,writer,context);
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getTaskId(),ns1_taskId_QNAME,null,writer,context);
  if (instance.getContent() == null) {
    throw new SerializationException("String_Node_Str");
  }
  ns3_myns3_string__java_lang_String_String_Serializer.serialize(instance.getContent(),ns1_content_QNAME,null,writer,context);
}