Return-Path: X-Original-To: apmail-cxf-issues-archive@www.apache.org Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DA170102FF for ; Tue, 10 Feb 2015 10:18:34 +0000 (UTC) Received: (qmail 64078 invoked by uid 500); 10 Feb 2015 10:18:34 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 64036 invoked by uid 500); 10 Feb 2015 10:18:34 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 64024 invoked by uid 99); 10 Feb 2015 10:18:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2015 10:18:34 +0000 Date: Tue, 10 Feb 2015 10:18:34 +0000 (UTC) From: "Sergey Beryozkin (JIRA)" To: issues@cxf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CXF-6248) NPE at OAuthRequestFilter when no Authorization header found MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CXF-6248?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D143139= 54#comment-14313954 ]=20 Sergey Beryozkin commented on CXF-6248: --------------------------------------- no at all, thanks > NPE at OAuthRequestFilter when no Authorization header found > ------------------------------------------------------------ > > Key: CXF-6248 > URL: https://issues.apache.org/jira/browse/CXF-6248 > Project: CXF > Issue Type: Bug > Components: JAX-RS Security > Affects Versions: 3.0.3 > Reporter: Eneko Fern=C3=A1ndez > Assignee: Sergey Beryozkin > Priority: Minor > Fix For: 3.0.4, 3.1.0 > > > Hi,=20 > When trying the filter with a message without Authorization header the Nu= llPointerException comes up. > java.lang.NullPointerException: null > at org.apache.cxf.rs.security.oauth2.utils.AuthorizationUtils.getAutho= rizationParts(AuthorizationUtils.java:76) ~[cxf-rt-rs-security-oauth2-3.0.3= .jar:3.0.3] > at org.apache.cxf.rs.security.oauth2.utils.AuthorizationUtils.getAutho= rizationParts(AuthorizationUtils.java:69) ~[cxf-rt-rs-security-oauth2-3.0.3= .jar:3.0.3] > at org.apache.cxf.rs.security.oauth2.filters.OAuthRequestFilter.getAut= horizationParts(OAuthRequestFilter.java:227) ~[cxf-rt-rs-security-oauth2-3.= 0.3.jar:3.0.3] > at org.apache.cxf.rs.security.oauth2.filters.OAuthRequestFilter.valida= teRequest(OAuthRequestFilter.java:83) ~[cxf-rt-rs-security-oauth2-3.0.3.jar= :3.0.3] > =20 -- This message was sent by Atlassian JIRA (v6.3.4#6332)