Program: 8515
Project: 8515
Buggy source:
protected void initInternal(final FilterConfig filterConfig) throws ServletException {
  if (!isIgnoreInitConfiguration()) {
    super.initInternal(filterConfig);
    setCasServerLoginUrl(getPropertyFromInitParams(filterConfig,"String_Node_Str",null));
    logger.trace("String_Node_Str",this.casServerLoginUrl);
    setRenew(parseBoolean(getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str")));
    logger.trace("String_Node_Str",this.renew);
    setGateway(parseBoolean(getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str")));
    logger.trace("String_Node_Str",this.gateway);
    final String ignorePattern=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    logger.trace("String_Node_Str",ignorePattern);
    final String ignoreUrlPatternType=getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str");
    logger.trace("String_Node_Str",ignoreUrlPatternType);
    if (ignorePattern != null) {
      final Class<? extends UrlPatternMatcherStrategy> ignoreUrlMatcherClass=this.PATTERN_MATCHER_TYPES.get(ignoreUrlPatternType);
      if (ignoreUrlMatcherClass != null) {
        this.ignoreUrlPatternMatcherStrategyClass=ReflectUtils.newInstance(ignoreUrlMatcherClass.getName());
      }
 else {
        try {
          logger.trace("String_Node_Str",ignoreUrlPatternType);
          this.ignoreUrlPatternMatcherStrategyClass=ReflectUtils.newInstance(ignoreUrlPatternType);
        }
 catch (        final IllegalArgumentException e) {
          logger.warn("String_Node_Str",ignoreUrlPatternType,e.getMessage());
        }
      }
      if (this.ignoreUrlPatternMatcherStrategyClass != null) {
        this.ignoreUrlPatternMatcherStrategyClass.setPattern(ignorePattern);
      }
    }
    final String gatewayStorageClass=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    if (gatewayStorageClass != null) {
      this.gatewayStorage=ReflectUtils.newInstance(gatewayStorageClass);
    }
    final String authenticationRedirectStrategyClass=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    if (authenticationRedirectStrategyClass != null) {
      this.authenticationRedirectStrategy=ReflectUtils.newInstance(authenticationRedirectStrategyClass);
    }
  }
}

Fixed version (ground truth):
protected void initInternal(final FilterConfig filterConfig) throws ServletException {
  if (!isIgnoreInitConfiguration()) {
    super.initInternal(filterConfig);
    setCasServerLoginUrl(getPropertyFromInitParams(filterConfig,"String_Node_Str",null));
    logger.trace("String_Node_Str",this.casServerLoginUrl);
    setRenew(parseBoolean(getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str")));
    logger.trace("String_Node_Str",this.renew);
    setGateway(parseBoolean(getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str")));
    logger.trace("String_Node_Str",this.gateway);
    final String ignorePattern=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    logger.trace("String_Node_Str",ignorePattern);
    final String ignoreUrlPatternType=getPropertyFromInitParams(filterConfig,"String_Node_Str","String_Node_Str");
    logger.trace("String_Node_Str",ignoreUrlPatternType);
    if (ignorePattern != null) {
      final Class<? extends UrlPatternMatcherStrategy> ignoreUrlMatcherClass=PATTERN_MATCHER_TYPES.get(ignoreUrlPatternType);
      if (ignoreUrlMatcherClass != null) {
        this.ignoreUrlPatternMatcherStrategyClass=ReflectUtils.newInstance(ignoreUrlMatcherClass.getName());
      }
 else {
        try {
          logger.trace("String_Node_Str",ignoreUrlPatternType);
          this.ignoreUrlPatternMatcherStrategyClass=ReflectUtils.newInstance(ignoreUrlPatternType);
        }
 catch (        final IllegalArgumentException e) {
          logger.error("String_Node_Str",ignoreUrlPatternType,e);
        }
      }
      if (this.ignoreUrlPatternMatcherStrategyClass != null) {
        this.ignoreUrlPatternMatcherStrategyClass.setPattern(ignorePattern);
      }
    }
    final String gatewayStorageClass=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    if (gatewayStorageClass != null) {
      this.gatewayStorage=ReflectUtils.newInstance(gatewayStorageClass);
    }
    final String authenticationRedirectStrategyClass=getPropertyFromInitParams(filterConfig,"String_Node_Str",null);
    if (authenticationRedirectStrategyClass != null) {
      this.authenticationRedirectStrategy=ReflectUtils.newInstance(authenticationRedirectStrategyClass);
    }
  }
}