cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4937) NullPointerException during buildServiceFromClass
Date Wed, 03 Apr 2013 06:57:15 GMT

    [ https://issues.apache.org/jira/browse/CXF-4937?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620681#comment-13620681
] 

Freeman Fang commented on CXF-4937:
-----------------------------------

Hi,

Could you please append a testcase which we can reproduce this error?

Thanks
Freeman
                
> NullPointerException during buildServiceFromClass
> -------------------------------------------------
>
>                 Key: CXF-4937
>                 URL: https://issues.apache.org/jira/browse/CXF-4937
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.5.2
>            Reporter: Steven V Le
>
> During our load test, we have found this issue:
> 2013-03-27 20:01:00,378 ERROR {(615629052)} [:error:419] ***Exception***
> java.lang.NullPointerException
> 	at com.sun.xml.bind.v2.model.impl.TypeRefImpl.calcRef(TypeRefImpl.java:92)
> 	at com.sun.xml.bind.v2.model.impl.TypeRefImpl.getTarget(TypeRefImpl.java:69)
> 	at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:58)
> 	at com.sun.xml.bind.v2.model.impl.RuntimeTypeRefImpl.getTarget(RuntimeTypeRefImpl.java:51)
> 	at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:74)
> 	at com.sun.xml.bind.v2.model.impl.ElementPropertyInfoImpl$1.get(ElementPropertyInfoImpl.java:77)
> 	at java.util.AbstractList$Itr.next(AbstractList.java:345)
> 	at com.sun.xml.bind.v2.runtime.property.PropertyFactory.isLeaf(PropertyFactory.java:148)
> 	at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.createItemUnmarshaller(ArrayElementProperty.java:231)
> 	at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.createBodyUnmarshaller(ArrayElementProperty.java:202)
> 	at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.buildChildElementUnmarshallers(ArrayERProperty.java:191)
> 	at com.sun.xml.bind.v2.runtime.unmarshaller.StructureLoader.init(StructureLoader.java:141)
> 	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.getLoader(ClassBeanInfoImpl.java:373)
> 	at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.link(ClassBeanInfoImpl.java:201)
> 	at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:359)
> 	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:139)
> 	at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:117)
> 	at sun.reflect.GeneratedMethodAccessor313.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:214)
> 	at javax.xml.bind.ContextFinder.find(ContextFinder.java:375)
> 	at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:510)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:334)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:460)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:548)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:523)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:271)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:177)
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:100)
> 	at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:51)
> 	at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:102)
> 	at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:115)
> 	at 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message