Program: 99342
Project: 99342
Buggy source:
@Override protected void configure(AccessTokenController controller,Config config) throws Exception {
  AccessTokenAuthenticationRequestFactory accessTokenAuthenticationRequestFactory=config.getInstance(ACCESS_TOKEN_AUTHENTICATION_REQUEST_FACTORY);
  RefreshTokenAuthenticationRequestFactory refreshTokenAuthenticationRequestFactory=config.getInstance(REFRESH_TOKEN_AUTHENTICATION_REQUEST_FACTORY);
  RequestAuthorizer requestAuthorizer=config.getInstance(REQUEST_AUTHORIZER);
  AccessTokenResultFactory accessTokenResultFactory=config.getInstance(ACCESS_TOKEN_RESULT_FACTORY);
  RefreshTokenResultFactory refreshTokenResultFactory=config.getInstance(REFRESH_TOKEN_RESULT_FACTORY);
  Saver<AuthenticationResult> accountSaver=config.getInstance(ACCOUNT_SAVER);
  Publisher<RequestEvent> eventPublisher=config.getInstance(EVENT_PUBLISHER);
  BasicAuthenticationScheme basicAuthenticationScheme=config.getInstance(BASIC_AUTHENTICATION_REQUEST_FACTORY);
  GrantTypeValidator grantTypeValidator=config.getGrantTypeStatusValidator();
  controller.setEventPublisher(eventPublisher);
  controller.setAccessTokenAuthenticationRequestFactory(accessTokenAuthenticationRequestFactory);
  controller.setAccessTokenResultFactory(accessTokenResultFactory);
  controller.setRefreshTokenAuthenticationRequestFactory(refreshTokenAuthenticationRequestFactory);
  controller.setRefreshTokenResultFactory(refreshTokenResultFactory);
  controller.setAccountSaver(accountSaver);
  controller.setRequestAuthorizer(requestAuthorizer);
  controller.setBasicAuthenticationScheme(basicAuthenticationScheme);
  controller.setGrantTypeStatusValidator(grantTypeStatusValidator);
}

Fixed version (ground truth):
@Override protected void configure(AccessTokenController controller,Config config) throws Exception {
  AccessTokenAuthenticationRequestFactory accessTokenAuthenticationRequestFactory=config.getInstance(ACCESS_TOKEN_AUTHENTICATION_REQUEST_FACTORY);
  RefreshTokenAuthenticationRequestFactory refreshTokenAuthenticationRequestFactory=config.getInstance(REFRESH_TOKEN_AUTHENTICATION_REQUEST_FACTORY);
  RequestAuthorizer requestAuthorizer=config.getInstance(REQUEST_AUTHORIZER);
  AccessTokenResultFactory accessTokenResultFactory=config.getInstance(ACCESS_TOKEN_RESULT_FACTORY);
  RefreshTokenResultFactory refreshTokenResultFactory=config.getInstance(REFRESH_TOKEN_RESULT_FACTORY);
  Saver<AuthenticationResult> accountSaver=config.getInstance(ACCOUNT_SAVER);
  Publisher<RequestEvent> eventPublisher=config.getInstance(EVENT_PUBLISHER);
  BasicAuthenticationScheme basicAuthenticationScheme=config.getInstance(BASIC_AUTHENTICATION_REQUEST_FACTORY);
  GrantTypeValidator grantTypeValidator=config.getGrantTypeStatusValidator();
  controller.setEventPublisher(eventPublisher);
  controller.setAccessTokenAuthenticationRequestFactory(accessTokenAuthenticationRequestFactory);
  controller.setAccessTokenResultFactory(accessTokenResultFactory);
  controller.setRefreshTokenAuthenticationRequestFactory(refreshTokenAuthenticationRequestFactory);
  controller.setRefreshTokenResultFactory(refreshTokenResultFactory);
  controller.setAccountSaver(accountSaver);
  controller.setRequestAuthorizer(requestAuthorizer);
  controller.setBasicAuthenticationScheme(basicAuthenticationScheme);
  controller.setGrantTypeValidator(grantTypeValidator);
}