I didn't recieve an anwser mail for my original question so i resent the
same question, then i saw your answer in my SO :)
And as you said, Jersey is the problem, you have saved us alots of time.

Thank you so much :)

2016-02-22 18:35 GMT+01:00 Sergey Beryozkin <sberyoz...@gmail.com>:

> Hi
> I replied to your original question a week or so ago, can you please check
> it ?
>
> Jersey is loaded is there so I think you may need to disable it somehow
>
> Thanks, Sergey
>
> On 22/02/16 17:24, LaVloZ . wrote:
>
>> Hello all
>>
>> i have more than one week tryign to figure out the problem, but i didn't
>> find it, googling, stackoverflow ..., but nothing.
>>
>> The problem is that the web services work fine but when i add the jar for
>> OAuth support using Maven i get NullPointerException raised inside
>> OAuthRequestFilter :
>>
>> this is the link of the line on GitHub :
>>
>>
>> https://github.com/apache/cxf/blob/7d1890510a85d4fd7e70faebc56d6685f103621d/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java#L82
>>
>> That JAXRSUtils.getCurrentMessage() returns null reference so that null
>> cuz
>> a NullPointerException latter in code.
>>
>> i'm using CXF 3.1.5 and tried it on Glassfish 4.1.1 and TomEE 7.0.63 on
>> Oracle JDK 1.8.0_66
>>
>> Thank you all.
>>
>>
>
> --
> Sergey Beryozkin
>
> Talend Community Coders
> http://coders.talend.com/
>

Reply via email to