cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Kieselhorst (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-7515) Beans created with no package are throwing nullpointer exception
Date Mon, 25 Sep 2017 12:23:00 GMT

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

Dennis Kieselhorst resolved CXF-7515.
-------------------------------------
    Resolution: Fixed

> Beans created with no package are throwing nullpointer exception
> ----------------------------------------------------------------
>
>                 Key: CXF-7515
>                 URL: https://issues.apache.org/jira/browse/CXF-7515
>             Project: CXF
>          Issue Type: Bug
>          Components: JAXB Databinding
>    Affects Versions: 3.0.6
>            Reporter: Sumeet Mahajan
>            Assignee: Dennis Kieselhorst
>            Priority: Critical
>             Fix For: 3.1.14, 3.2.1
>
>
> I have beans and service classes with no package names in my webservices. 
> These worked perfectly fine in cxf 2.7.6
> Recently we are trying to upgrade to a newer cxf version 3.1.13 and i am getting NullPointerException
at 
> at org.apache.cxf.jaxb.Utils.getMethodXJTA(Utils.java:294) at 
> org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:416)

> I did debug into cxf, by downloading cxf source and i see its failing at 
> below line, 
> m.getDeclaringClass().getPackage().getAnnotation(XmlJavaTypeAdapters.class) 
> The reason its failing is there is no package name for my beans and services. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message