cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6285) NPE in SwaggerFeature.calculateDefaultResourcePackage
Date Tue, 10 Mar 2015 14:47:38 GMT

     [ https://issues.apache.org/jira/browse/CXF-6285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin resolved CXF-6285.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.5
                   3.1.0
         Assignee: Sergey Beryozkin

> NPE in SwaggerFeature.calculateDefaultResourcePackage
> -----------------------------------------------------
>
>                 Key: CXF-6285
>                 URL: https://issues.apache.org/jira/browse/CXF-6285
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.0.4
>            Reporter: David J. M. Karlsen
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.0, 3.0.5
>
>
> If I "instrument" my resources with some AOP (using JDK proxies), I cannot boot CXF when
using the SwaggerFeature.
> Caused by: java.lang.NullPointerException
> 	at org.apache.cxf.jaxrs.swagger.SwaggerFeature.calculateDefaultResourcePackage(SwaggerFeature.java:99)
> 	at org.apache.cxf.jaxrs.swagger.SwaggerFeature.initialize(SwaggerFeature.java:62)
> 	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.applyFeatures(JAXRSServerFactoryBean.java:252)
> 	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:196)
> 	... 46 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message