Program: 33208
Project: 33208
Buggy source:
private void valuable(final Valuable valuable,final XMLEventReader reader,final StartElement start,EdmProperty edmProperty) throws XMLStreamException, EdmPrimitiveTypeException, DeserializerException {
  final Attribute nullAttr=start.getAttributeByName(nullQName);
  if (nullAttr != null) {
    boolean foundEndProperty=false;
    while (reader.hasNext() && !foundEndProperty) {
      final XMLEvent event=reader.nextEvent();
      if (event.isEndElement() && start.getName().equals(event.asEndElement().getName())) {
        foundEndProperty=true;
      }
    }
    valuable.setValue(getValueType(edmProperty.getType(),false),null);
    return;
  }
  EdmType edmType=edmProperty.getType();
  if (edmProperty.isCollection()) {
    collection(valuable,reader,start,edmProperty);
    valuable.setType("String_Node_Str" + edmType.getFullQualifiedName().getFullQualifiedNameAsString() + "String_Node_Str");
  }
 else   if (edmType instanceof SingletonPrimitiveType) {
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
    valuable.setValue(ValueType.PRIMITIVE,primitive(reader,start,edmProperty));
  }
 else   if (edmType instanceof EdmComplexType) {
    valuable.setValue(ValueType.COMPLEX,complex(reader,start,(EdmComplexType)edmType));
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
  }
 else   if (edmType instanceof EdmEnumType) {
    valuable.setValue(ValueType.ENUM,readEnum(reader,start));
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
  }
 else {
  }
}

Fixed version (ground truth):
private void valuable(final Valuable valuable,final XMLEventReader reader,final StartElement start,EdmProperty edmProperty) throws XMLStreamException, EdmPrimitiveTypeException, DeserializerException {
  final Attribute nullAttr=start.getAttributeByName(nullQName);
  if (nullAttr != null) {
    boolean foundEndProperty=false;
    while (reader.hasNext() && !foundEndProperty) {
      final XMLEvent event=reader.nextEvent();
      if (event.isEndElement() && start.getName().equals(event.asEndElement().getName())) {
        foundEndProperty=true;
      }
    }
    valuable.setValue(getValueType(edmProperty.getType(),false),null);
    return;
  }
  EdmType edmType=edmProperty.getType();
  if (edmProperty.isCollection()) {
    collection(valuable,reader,start,edmProperty);
    valuable.setType("String_Node_Str" + edmType.getFullQualifiedName().getFullQualifiedNameAsString() + "String_Node_Str");
  }
 else   if (edmType instanceof SingletonPrimitiveType) {
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
    valuable.setValue(ValueType.PRIMITIVE,primitive(reader,start,edmProperty));
  }
 else   if (edmType instanceof EdmComplexType) {
    valuable.setValue(ValueType.COMPLEX,complex(reader,start,(EdmComplexType)edmType));
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
  }
 else   if (edmType instanceof EdmEnumType) {
    valuable.setValue(ValueType.ENUM,readEnum(reader,start));
    valuable.setType(edmType.getFullQualifiedName().getFullQualifiedNameAsString());
  }
}