You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2010/09/01 12:57:52 UTC

[jira] Created: (CXF-2966) IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean

IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean
--------------------------------------------------------------------------------------------------

                 Key: CXF-2966
                 URL: https://issues.apache.org/jira/browse/CXF-2966
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.2.10
            Reporter: Dennis Kieselhorst


After updating to 2.2.10, I get the following exception:

{quote}
Caused by: java.lang.IllegalAccessError: tried to access field org.apache.cxf.service.factory.ReflectionServiceFactoryBean.schemaLocations from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:624)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:599)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:460)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:637)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
        at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
        at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:180)
        at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
        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:121)
        at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:77)
        at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
        ... 123 more
{quote}

This is caused by the changes in CXF-2891.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2966) IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean

Posted by "Dennis Kieselhorst (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Kieselhorst resolved CXF-2966.
-------------------------------------

    Fix Version/s: Invalid
       Resolution: Invalid

Due to a transitive dependency, cxf-rt-frontend-simple jar:2.2.9 was on classpath. Sorry!

> IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2966
>                 URL: https://issues.apache.org/jira/browse/CXF-2966
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>            Reporter: Dennis Kieselhorst
>            Priority: Critical
>             Fix For: Invalid
>
>
> After updating to 2.2.10, I get the following exception:
> {quote}
> Caused by: java.lang.IllegalAccessError: tried to access field org.apache.cxf.service.factory.ReflectionServiceFactoryBean.schemaLocations from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:624)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:599)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:460)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:637)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:180)
>         at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
>         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:121)
>         at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:77)
>         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
>         ... 123 more
> {quote}
> This is caused by the changes in CXF-2891.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CXF-2966) IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905568#action_12905568 ] 

Daniel Kulp commented on CXF-2966:
----------------------------------



I don't see how this can possibly occur if you are using 2.2.10 versions of all the CXF jars.   The ReflectionServiceFactoryBean doesn't even have a schemaLocations field in 2.2.10.   It was moved up to it's superclass (and made protected).  Thus, it looks like you are getting   the 2.2.10 cxf-rt-frontend-jaxws jar, but the 2.2.9 (or earlier) cxf-rt-frontend-simple jar.    

In either case, I cannot reproduce this and would need a complete test case.

> IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2966
>                 URL: https://issues.apache.org/jira/browse/CXF-2966
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>            Reporter: Dennis Kieselhorst
>            Priority: Critical
>
> After updating to 2.2.10, I get the following exception:
> {quote}
> Caused by: java.lang.IllegalAccessError: tried to access field org.apache.cxf.service.factory.ReflectionServiceFactoryBean.schemaLocations from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:624)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:599)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:460)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:637)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:180)
>         at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
>         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:121)
>         at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:77)
>         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
>         ... 123 more
> {quote}
> This is caused by the changes in CXF-2891.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2966) IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean

Posted by "Dennis Kieselhorst (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Kieselhorst updated CXF-2966:
------------------------------------

    Priority: Critical  (was: Major)

> IllegalAccessError ReflectionServiceFactoryBean.schemaLocations from class JaxWsServiceFactoryBean
> --------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2966
>                 URL: https://issues.apache.org/jira/browse/CXF-2966
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.10
>            Reporter: Dennis Kieselhorst
>            Priority: Critical
>
> After updating to 2.2.10, I get the following exception:
> {quote}
> Caused by: java.lang.IllegalAccessError: tried to access field org.apache.cxf.service.factory.ReflectionServiceFactoryBean.schemaLocations from class org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.generatedWrapperBeanClass(JaxWsServiceFactoryBean.java:624)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.getExtraClass(JaxWsServiceFactoryBean.java:599)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:460)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:637)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
>         at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:180)
>         at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
>         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:121)
>         at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:77)
>         at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142)
>         ... 123 more
> {quote}
> This is caused by the changes in CXF-2891.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.