cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Kieselhorst <m...@dekies.de>
Subject Re: Beans created with no package are throwing nullpointer exception
Date Wed, 20 Sep 2017 18:53:01 GMT
Please create an issue for it:
https://issues.apache.org/jira/secure/CreateIssue!default.jspa

I can fix it for the next release.

Regards
Dennis

Am 20.09.2017 um 20:19 schrieb sumeet_it:
> 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.
>
> Please advice in case you have any alternatives or a fix?
>
>
>
> --
> Sent from: http://cxf.547215.n5.nabble.com/cxf-dev-f569328.html



Mime
View raw message