oracle.webservices.provider.ProviderException: java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName

Oracle Community | user11981894 | 3 years ago
  1. 0

    BPEL Deployment Failed : Unable to register service

    Oracle Community | 3 years ago | user11981894
    oracle.webservices.provider.ProviderException: java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName
  2. 0

    We have a webservice using xmlbeans for the databinding. The webservice has a method taking the xml document generated by xmlbeans. It works fine with version 2.2.11 and 2.3.9. Now, we would like to migrate this to the new version 2.7.0, but the webservice can't be created anymore due to this exception: {noformat} org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localWebServiceClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1440) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:247) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192) at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:848) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:790) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:707) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:480) ... 32 more Caused by: java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName at javax.xml.namespace.QName.<init>(QName.java:246) at javax.xml.namespace.QName.<init>(QName.java:190) at org.apache.ws.commons.schema.utils.XmlSchemaNamedWithFormImpl.setName(XmlSchemaNamedWithFormImpl.java:87) at org.apache.ws.commons.schema.XmlSchemaElement$2.run(XmlSchemaElement.java:230) at org.apache.ws.commons.schema.utils.CollectionFactory.withSchemaModifiable(CollectionFactory.java:123) at org.apache.ws.commons.schema.XmlSchemaElement.setName(XmlSchemaElement.java:225) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createWrappedMessageSchema(ReflectionServiceFactoryBean.java:1306) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.createWrappedSchema(ReflectionServiceFactoryBean.java:1136) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeWrappedSchema(ReflectionServiceFactoryBean.java:1034) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:478) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536) at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101) at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90) at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:156) at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156) at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.create(JaxWsProxyFactoryBeanDefinitionParser.java:79) at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) ... 40 more {noformat} I will attach a maven project reproducing the problem. Just change the cxf version in the pom.xml to 2.3.9 to make it working...

    Apache's JIRA Issue Tracker | 4 years ago | Thomas Schurins
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localWebServiceClient': FactoryBean threw exception on object creation; nested exception is java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName
  3. 0

    Calling a CAF program via web service generates... | SCN

    sap.com | 8 months ago
    com.sap.engine.interfaces.sca.exception.SCADASException: Could not invoke service reference name 8bd95deb-8cf1-453d-94e5-0576bb385149, component name myCompname
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How to add simple XML element as AttributeValue in OpenSAML?

    Stack Overflow | 2 years ago | Thanuja
    java.lang.IllegalArgumentException: local part cannot be "null" when creating a QName
  6. 0

    BPM process fail after importing modified WSDL | SCN

    sap.com | 8 months ago
    com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Create_Vendor_Standard:AUTOMATED_ACTIVITY_Checkin_Company(       com.sap.glx.adapter.BPMNAdapter:Token_0_CreateVendorStandard_23bc45acc7497023693e33870fae22b6 token,       com.sap.glx.adapter.BPMNAdapter:Instance_0_CreateVendorStandard_23bc45acc7497023693e33870fae22b6 parent,       com.sap.glx.adapter.internal.ContainerAdapter:Context_1_GlobalContext_23bc45acc7497023693e33870fae22b6 context_2){   exit=new com.sap.glx.adapter.BPMNAdapter:Exit();   exit:onActivation("E0A5ADB59F15B581E0A111E19EBE00199997B9EB", parent, token);   delete exit;   controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();   controller:setContext(token);   delete controller;   callscope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_36_Create_Vendor_Standard_23bc45acc7497023693e33870fae22b6(parent);   call=new com.sap.glx.adapter.UnifiedConnectivityAdapter:Call_10_Checkin_Company_23bc45acc7497023693e33870fae22b6(callscope);   ppUsername=token:ppUsername;   ppHash=token:ppHash;   call:setPrincipal(ppHash, ppUsername, token);   mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();   yves_in=new com.sap.glx.adapter.internal.Transformer:Data();   yves_out=new com.sap.glx.adapter.internal.Transformer:Data();   data=context_2:getData();   yves_in:setData("nsn.com/sbmtool/bpm/vendor/create_std/CreateVendorStandard/Create_Vendor_Standard", "$nsn.com/sbmtool/bpm/vendor/create_std/CreateVendorStandard/Create_Vendor_Standard:GlobalContext", data, "14BDD9D5261923110D602A32AC02C5F4");   mapper:map("E0A5ADB59F15B585E0A111E1B4A600199997B9EB_23bc45acc7497023693e33870fae22b6", yves_in, yves_out);   delete yves_in;   delete yves_out;   delete mapper;   call:invoke();   mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();   yves_in=new com.sap.glx.adapter.internal.Transformer:Data();   yves_out=new com.sap.glx.adapter.internal.Transformer:Data();   mapper:map("E0A5ADB59F15B587E0A111E19DF300199997B9EB_23bc45acc7497023693e33870fae22b6", yves_in, yves_out);   delete yves_in;   delete yves_out;   delete mapper;   delete call;   delete callscope;   token:state=0; }"

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      local part cannot be "null" when creating a QName

      at javax.xml.namespace.QName.<init>()
    2. Java RT
      QName.<init>
      1. javax.xml.namespace.QName.<init>(QName.java:246)
      2. javax.xml.namespace.QName.<init>(QName.java:190)
      2 frames
    3. oracle.j2ee.ws
      ProviderConfigImpl.addService
      1. oracle.j2ee.ws.model.OperationImpl.getFaultMessage(OperationImpl.java:88)
      2. oracle.j2ee.ws.model.PortImpl.populateOperationMessageQNames(PortImpl.java:152)
      3. oracle.j2ee.ws.model.PortImpl.addOperation(PortImpl.java:101)
      4. oracle.j2ee.ws.model.ServiceImpl.addPort(ServiceImpl.java:74)
      5. oracle.j2ee.ws.model.ModelImpl.addService(ModelImpl.java:63)
      6. oracle.j2ee.ws.model.ModelImpl.<init>(ModelImpl.java:29)
      7. oracle.j2ee.ws.model.FactoryImpl.loadModel(FactoryImpl.java:62)
      8. oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:88)
      9. oracle.j2ee.ws.mdds.MddsModelFactoryImpl.createModelFromWSDL(MddsModelFactoryImpl.java:77)
      10. oracle.j2ee.ws.server.provider.ProviderConfigImpl$DynamicService.setWSDL(ProviderConfigImpl.java:1239)
      11. oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:344)
      12. oracle.j2ee.ws.server.provider.ProviderConfigImpl.addService(ProviderConfigImpl.java:286)
      12 frames
    4. oracle.integration.platform
      CompositeDeploymentManagerImpl.load
      1. oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:115)
      2. oracle.integration.platform.blocks.soap.FabricProviderConfig.addService(FabricProviderConfig.java:205)
      3. oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:170)
      4. oracle.integration.platform.blocks.soap.WebServiceEntryBindingComponent.load(WebServiceEntryBindingComponent.java:97)
      5. oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deployServices(CompositeDeploymentConnection.java:161)
      6. oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.deploy(CompositeDeploymentConnection.java:92)
      7. oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.initDeployment(CompositeDeploymentManagerImpl.java:149)
      8. oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.load(CompositeDeploymentManagerImpl.java:62)
      8 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    7. oracle.integration.platform
      DeploymentEventPublisher.invoke
      1. oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(DeploymentEventPublisher.java:68)
      1 frame
    8. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      2 frames
    9. com.sun.proxy
      $Proxy306.load
      1. com.sun.proxy.$Proxy306.load(Unknown Source)
      1 frame
    10. oracle.integration.platform
      CompositeDeployerServlet.doPost
      1. oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoordinatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinatorImpl.java:57)
      2. oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deployNewComposite(BaseDeployProcessor.java:378)
      3. oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploySARs(BaseDeployProcessor.java:226)
      4. oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:161)
      5. oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWork(DeployProcessor.java:109)
      6. oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(DeployProcessor.java:97)
      7. oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(DeployProcessor.java:78)
      8. oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPostInsideLoggingSession(CompositeDeployerServlet.java:221)
      9. oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.doPost(CompositeDeployerServlet.java:124)
      9 frames
    11. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:821)
      2 frames
    12. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
      4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27)
      5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      5 frames
    13. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    14. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    15. oracle.security.jps
      JpsFilter.doFilter
      1. oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
      2. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
      3. oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
      4. oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
      5. oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
      6. oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      6 frames
    16. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      1 frame
    17. oracle.dms.servlet
      DMSServletFilter.doFilter
      1. oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
      1 frame
    18. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:61)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3729)
      3. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3695)
      3 frames
    19. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      1 frame
    20. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2285)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2184)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1459)
      3 frames
    21. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
      1 frame