Program: 177122
Project: 177122
Buggy source:
@Override public void call(EnunciateContext context){
  Map<String,SchemaInfo> ns2schema=Collections.emptyMap();
  Map<String,String> ns2prefix=Collections.emptyMap();
  if (this.jaxbModule != null) {
    ns2schema=this.jaxbModule.getJaxbContext().getSchemas();
    ns2prefix=this.jaxbModule.getJaxbContext().getNamespacePrefixes();
  }
  Map<String,WsdlInfo> ns2wsdl=Collections.emptyMap();
  if (this.jaxwsModule != null) {
    ns2wsdl=this.jaxwsModule.getJaxwsContext().getWsdls();
  }
  Set<String> facetIncludes=new TreeSet<String>(this.enunciate.getConfiguration().getFacetIncludes());
  facetIncludes.addAll(getFacetIncludes());
  Set<String> facetExcludes=new TreeSet<String>(this.enunciate.getConfiguration().getFacetExcludes());
  facetExcludes.addAll(getFacetExcludes());
  FacetFilter facetFilter=new FacetFilter(facetIncludes,facetExcludes);
  Map<String,SchemaConfig> schemaConfigs=getSchemaConfigs();
  for (  SchemaInfo schemaInfo : ns2schema.values()) {
    String defaultFilename=ns2prefix.get(schemaInfo.getNamespace()) + "String_Node_Str";
    SchemaConfig explicitConfig=schemaConfigs.get(schemaInfo.getNamespace());
    if (explicitConfig != null && explicitConfig.getUseFile() != null) {
      schemaInfo.setFilename(explicitConfig.getUseFile().getName());
      schemaInfo.setSchemaFile(new StaticInterfaceDescriptionFile(explicitConfig.getUseFile(),this.enunciate));
    }
 else     if (explicitConfig != null) {
      schemaInfo.setAppinfo(explicitConfig.getAppinfo());
      schemaInfo.setFilename(explicitConfig.getFilename() != null ? explicitConfig.getFilename() : defaultFilename);
      schemaInfo.setExplicitLocation(explicitConfig.getLocation());
      schemaInfo.setJaxbBindingVersion(explicitConfig.getJaxbBindingVersion());
      schemaInfo.setSchemaFile(new JaxbSchemaFile(this.jaxbModule.getJaxbContext(),schemaInfo,facetFilter,ns2prefix));
    }
 else {
      schemaInfo.setFilename(defaultFilename);
      schemaInfo.setSchemaFile(new JaxbSchemaFile(this.jaxbModule.getJaxbContext(),schemaInfo,facetFilter,ns2prefix));
    }
  }
  String baseUri=this.enunciate.getConfiguration().getApplicationRoot();
  Map<String,WsdlConfig> wsdlConfigs=getWsdlConfigs();
  for (  WsdlInfo wsdlInfo : ns2wsdl.values()) {
    String defaultFilename=ns2prefix.get(wsdlInfo.getNamespace()) + "String_Node_Str";
    WsdlConfig explicitConfig=wsdlConfigs.get(wsdlInfo.getNamespace());
    if (explicitConfig != null && explicitConfig.getUseFile() != null) {
      wsdlInfo.setFilename(explicitConfig.getUseFile().getName());
      wsdlInfo.setWsdlFile(new StaticInterfaceDescriptionFile(explicitConfig.getUseFile(),this.enunciate));
    }
 else     if (explicitConfig != null) {
      wsdlInfo.setFilename(explicitConfig.getFilename() != null ? explicitConfig.getFilename() : defaultFilename);
      wsdlInfo.setInlineSchema(explicitConfig.isInlineSchema());
      wsdlInfo.setWsdlFile(new JaxwsWsdlFile(wsdlInfo,baseUri,ns2prefix,facetFilter));
    }
 else {
      wsdlInfo.setFilename(defaultFilename);
      wsdlInfo.setWsdlFile(new JaxwsWsdlFile(wsdlInfo,baseUri,ns2prefix,facetFilter));
    }
  }
  if (this.jaxrsModule != null && this.jaxbModule != null && !isDisableWadl()) {
    this.jaxrsModule.getJaxrsContext().setWadlFile(new JaxrsWadlFile(this.jaxrsModule.getJaxrsContext(),new ArrayList<SchemaInfo>(ns2schema.values()),getWadlStylesheetUri(),baseUri,ns2prefix,facetFilter));
  }
}

Fixed version (ground truth):
@Override public void call(EnunciateContext context){
  Map<String,SchemaInfo> ns2schema=Collections.emptyMap();
  Map<String,String> ns2prefix=Collections.emptyMap();
  if (this.jaxbModule != null) {
    ns2schema=this.jaxbModule.getJaxbContext().getSchemas();
    ns2prefix=this.jaxbModule.getJaxbContext().getNamespacePrefixes();
  }
  Map<String,WsdlInfo> ns2wsdl=Collections.emptyMap();
  if (this.jaxwsModule != null) {
    ns2wsdl=this.jaxwsModule.getJaxwsContext().getWsdls();
  }
  Set<String> facetIncludes=new TreeSet<String>(this.enunciate.getConfiguration().getFacetIncludes());
  facetIncludes.addAll(getFacetIncludes());
  Set<String> facetExcludes=new TreeSet<String>(this.enunciate.getConfiguration().getFacetExcludes());
  facetExcludes.addAll(getFacetExcludes());
  FacetFilter facetFilter=new FacetFilter(facetIncludes,facetExcludes);
  Map<String,SchemaConfig> schemaConfigs=getSchemaConfigs();
  for (  SchemaInfo schemaInfo : ns2schema.values()) {
    String defaultFilename=ns2prefix.get(schemaInfo.getNamespace()) + "String_Node_Str";
    SchemaConfig explicitConfig=schemaConfigs.get(schemaInfo.getNamespace());
    if (explicitConfig != null && explicitConfig.getUseFile() != null) {
      schemaInfo.setFilename(explicitConfig.getUseFile().getName());
      schemaInfo.setSchemaFile(new StaticInterfaceDescriptionFile(explicitConfig.getUseFile(),this.enunciate));
    }
 else     if (explicitConfig != null) {
      schemaInfo.setAppinfo(explicitConfig.getAppinfo());
      schemaInfo.setFilename(explicitConfig.getFilename() != null ? explicitConfig.getFilename() : defaultFilename);
      schemaInfo.setExplicitLocation(explicitConfig.getLocation());
      schemaInfo.setJaxbBindingVersion(explicitConfig.getJaxbBindingVersion());
      schemaInfo.setSchemaFile(new JaxbSchemaFile(this.jaxbModule.getJaxbContext(),schemaInfo,facetFilter,ns2prefix));
    }
 else {
      schemaInfo.setFilename(defaultFilename);
      schemaInfo.setSchemaFile(new JaxbSchemaFile(this.jaxbModule.getJaxbContext(),schemaInfo,facetFilter,ns2prefix));
    }
  }
  String baseUri=this.enunciate.getConfiguration().getApplicationRoot();
  Map<String,WsdlConfig> wsdlConfigs=getWsdlConfigs();
  for (  WsdlInfo wsdlInfo : ns2wsdl.values()) {
    String defaultFilename=ns2prefix.get(wsdlInfo.getNamespace()) + "String_Node_Str";
    WsdlConfig explicitConfig=wsdlConfigs.get(wsdlInfo.getNamespace());
    if (explicitConfig != null && explicitConfig.getUseFile() != null) {
      wsdlInfo.setFilename(explicitConfig.getUseFile().getName());
      wsdlInfo.setWsdlFile(new StaticInterfaceDescriptionFile(explicitConfig.getUseFile(),this.enunciate));
    }
 else     if (explicitConfig != null) {
      wsdlInfo.setFilename(explicitConfig.getFilename() != null ? explicitConfig.getFilename() : defaultFilename);
      wsdlInfo.setInlineSchema(explicitConfig.isInlineSchema());
      wsdlInfo.setWsdlFile(new JaxwsWsdlFile(wsdlInfo,this.jaxbModule.getJaxbContext(),baseUri,ns2prefix,facetFilter));
    }
 else {
      wsdlInfo.setFilename(defaultFilename);
      wsdlInfo.setWsdlFile(new JaxwsWsdlFile(wsdlInfo,this.jaxbModule.getJaxbContext(),baseUri,ns2prefix,facetFilter));
    }
  }
  if (this.jaxrsModule != null && this.jaxbModule != null && !isDisableWadl()) {
    this.jaxrsModule.getJaxrsContext().setWadlFile(new JaxrsWadlFile(this.jaxrsModule.getJaxrsContext(),new ArrayList<SchemaInfo>(ns2schema.values()),getWadlStylesheetUri(),baseUri,ns2prefix,facetFilter));
  }
}