cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isis (JIRA)" <>
Subject [jira] [Created] (CXF-5689) NPE at ThreadLocalProviders.getContextResolver()
Date Tue, 15 Apr 2014 15:54:18 GMT
Isis created CXF-5689:

             Summary: NPE at ThreadLocalProviders.getContextResolver()
                 Key: CXF-5689
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
    Affects Versions: 2.7.11
            Reporter: Isis

I have extensions of the following classes in my application used as providers when creating
jaxrs clients or servers.

All my custom providers have the following member field injected at runtime.
@Context private Providers providers;

Within the providers' methods I'm calling this:
providers.getContextResolver(aClazz, aMediaType);

This is causing a NullPointerException for the ResponseExceptionMapper. All the other providers
have no problem getting the context resolver.


This message was sent by Atlassian JIRA

View raw message