Program: 16139
Project: 16139
Buggy source:
public void setExecution(Execution exec){
  _execution=exec;
  _paramResolvers.put(QueryParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getParameter(((QueryParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(HeaderParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getHeader(((HeaderParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(CookieParam.class,new ParamResolver<Annotation>(){
    @SuppressWarnings("String_Node_Str") public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Map<String,Object> m=(Map<String,Object>)_execution.getAttribute(COOKIE_CACHE);
      if (m == null) {
        final Object req=_execution.getNativeRequest();
        m=new HashMap<String,Object>();
        _execution.setAttribute(COOKIE_CACHE,m);
        if (req instanceof HttpServletRequest) {
          final Cookie[] cks=((HttpServletRequest)req).getCookies();
          if (cks != null) {
            for (            Cookie ck : cks) {
              m.put(ck.getName().toLowerCase(),ck.getValue());
            }
          }
        }
 else {
        }
      }
      Object val=m == null ? null : m.get(((CookieParam)anno).value().toLowerCase());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(ExecutionParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getAttribute(((ExecutionParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(ExecutionArgParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getArg().get(((ExecutionArgParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
}

Fixed version (ground truth):
public void setExecution(Execution exec){
  _execution=exec;
  _paramResolvers.put(QueryParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getParameter(((QueryParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(HeaderParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getHeader(((HeaderParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(CookieParam.class,new ParamResolver<Annotation>(){
    @SuppressWarnings("String_Node_Str") public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Map<String,Object> m=(Map<String,Object>)_execution.getAttribute(COOKIE_CACHE);
      if (m == null) {
        final Object req=_execution.getNativeRequest();
        m=new HashMap<String,Object>();
        _execution.setAttribute(COOKIE_CACHE,m);
        if (req instanceof HttpServletRequest) {
          final Cookie[] cks=((HttpServletRequest)req).getCookies();
          if (cks != null) {
            for (            Cookie ck : cks) {
              m.put(ck.getName().toLowerCase(java.util.Locale.ENGLISH),ck.getValue());
            }
          }
        }
 else {
        }
      }
      Object val=m == null ? null : m.get(((CookieParam)anno).value().toLowerCase(java.util.Locale.ENGLISH));
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(ExecutionParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getAttribute(((ExecutionParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
  _paramResolvers.put(ExecutionArgParam.class,new ParamResolver<Annotation>(){
    public Object resolveParameter(    Annotation anno,    Class<?> returnType){
      Object val=_execution.getArg().get(((ExecutionArgParam)anno).value());
      return val == null ? null : Classes.coerce(returnType,val);
    }
  }
);
}