resteasy/Resteasy — pull request #284 by mtpettyp (2013-04-25 15:54:38+00:00)
Title: Fix NPE in OAuthFilter when required OAuth params are not passed in

If all required OAuth parameters are not passed in to a REST api that is mapped with the OAuth filter, an OAuthProblemException is thrown. Since the provider has not been loaded yet a NPE occurs in OAuthUtils.makeErrorResponse on the call to provider.getRealm();