org.apache.cxf.tools.common.ToolException: java.lang.IllegalArgumentException: can't parse argument number ''{0}''

nabble.com | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    CXF - java2ws - same class in different packages - IllegalArgumentException: can't parse argument number ''{0}''

    nabble.com | 8 months ago
    org.apache.cxf.tools.common.ToolException: java.lang.IllegalArgumentException: can't parse argument number ''{0}''
  2. 0

    Cxf reuse already generated jaxb classes

    Stack Overflow | 3 years ago
    java.lang.IllegalArgumentException: can't parse argument number ''{0}''
  3. 0

    When JAXB wants to read the string for following error: {noformat} CONFLICTING_XML_ELEMENT_MAPPING = \ The element name '{'{0}'}'{1} has more than one mapping. {noformat} the original error will be lost because the formatting of the string fails and a new exception will be thrown: {noformat} java.lang.IllegalArgumentException: can't parse argument number ''{0}'' at java.text.MessageFormat.makeFormat(MessageFormat.java:1339)[:1.6.0_25] at java.text.MessageFormat.applyPattern(MessageFormat.java:458)[:1.6.0_25] at java.text.MessageFormat.<init>(MessageFormat.java:350)[:1.6.0_25] at java.text.MessageFormat.format(MessageFormat.java:811)[:1.6.0_25] at com.sun.xml.bind.v2.model.impl.Messages.format(Messages.java:133)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl.add(TypeInfoSetImpl.java:306)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:121)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:362)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:332)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:460)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:298)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:141)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1163)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:145)[jaxb-impl-2.2.5-2.jar:2.2.5-2] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_25] at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:202)[:1.6.0_25] at javax.xml.bind.ContextFinder.find(ContextFinder.java:363)[:1.6.0_25] at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574)[:1.6.0_25] at org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:267)[cxf-api-2.7.4.jar:2.7.4] at org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:265)[cxf-api-2.7.4.jar:2.7.4] at java.security.AccessController.doPrivileged(Native Method)[:1.6.0_25] at org.apache.cxf.common.jaxb.JAXBContextCache.createContext(JAXBContextCache.java:265)[cxf-api-2.7.4.jar:2.7.4] at org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:172)[cxf-api-2.7.4.jar:2.7.4] at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:464)[cxf-rt-databinding-jaxb-2.7.4.jar:2.7.4] at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:330)[cxf-rt-databinding-jaxb-2.7.4.jar:2.7.4] at org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)[cxf-rt-core-2.7.4.jar:2.7.4] at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:478)[cxf-rt-core-2.7.4.jar:2.7.4] at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)[cxf-rt-frontend-jaxws-2.7.4.jar:2.7.4] at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:540)[cxf-rt-core-2.7.4.jar:2.7.4] at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:252)[cxf-rt-core-2.7.4.jar:2.7.4] at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)[cxf-rt-frontend-jaxws-2.7.4.jar:2.7.4] at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:102)[cxf-rt-frontend-simple-2.7.4.jar:2.7.4] at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90)[cxf-rt-frontend-simple-2.7.4.jar:2.7.4] at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:156)[cxf-rt-frontend-simple-2.7.4.jar:2.7.4] at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156)[cxf-rt-frontend-jaxws-2.7.4.jar:2.7.4] {noformat} I used the version 2.2.5 but I've been taking a look to the newest version(2.2.7 and 2.2.7-b63) and there the message string is still the same. So I think this issue is still present

    Java.net JIRA | 3 years ago | soilworker
    java.lang.IllegalArgumentException: can't parse argument number ''{0}''
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring web service client cannot start

    Stack Overflow | 12 months ago | Deibys
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'marshaller' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: can't parse argument number: ''{0}''
  6. 0

    Interactive Form error | SCN

    sap.com | 2 years ago
    java.lang.IllegalArgumentException: can't parse argument number urn:AdobeDocumentServicesWsd/AdobeDocumentServicesVi/document

  1. Handemelindo 1 times, last 5 months ago
7 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

    can't parse argument number ''{0}''

    at java.text.MessageFormat.makeFormat()
  2. Java RT
    MessageFormat.format
    1. java.text.MessageFormat.makeFormat(MessageFormat.java:1339)
    2. java.text.MessageFormat.applyPattern(MessageFormat.java:458)
    3. java.text.MessageFormat.<init>(MessageFormat.java:350)
    4. java.text.MessageFormat.format(MessageFormat.java:811)
    4 frames
  3. Old JAXB Runtime
    ContextFactory.createContext
    1. com.sun.xml.bind.v2.model.impl.Messages.format(Messages.java:133)
    2. com.sun.xml.bind.v2.model.impl.TypeInfoSetImpl.add(TypeInfoSetImpl.java:306)
    3. com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:121)
    4. com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:362)
    5. com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:332)
    6. com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:465)
    7. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:303)
    8. com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:142)
    9. com.sun.xml.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1174)
    10. com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:162)
    10 frames
  4. Java RT
    JAXBContext.newInstance
    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)
    5. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:262)
    6. javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:249)
    7. javax.xml.bind.ContextFinder.find(ContextFinder.java:442)
    8. javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:652)
    8 frames
  5. Apache CXF Core
    JAXBContextCache$2.run
    1. org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:267)
    2. org.apache.cxf.common.jaxb.JAXBContextCache$2.run(JAXBContextCache.java:265)
    2 frames
  6. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  7. Apache CXF Core
    JAXBContextCache.getCachedContextAndSchemas
    1. org.apache.cxf.common.jaxb.JAXBContextCache.createContext(JAXBContextCache.java:265)
    2. org.apache.cxf.common.jaxb.JAXBContextCache.getCachedContextAndSchemas(JAXBContextCache.java:172)
    2 frames
  8. Apache CXF Runtime JAXB DataBinding
    JAXBDataBinding.initialize
    1. org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContextAndSchemas(JAXBDataBinding.java:464)
    2. org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:330)
    2 frames
  9. Apache CXF Core
    ReflectionServiceFactoryBean.buildServiceFromClass
    1. org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
    2. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:474)
    2 frames
  10. Apache CXF Runtime JAX-WS Frontend
    JaxWsServiceFactoryBean.buildServiceFromClass
    1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:690)
    1 frame
  11. Apache CXF Core
    ReflectionServiceFactoryBean.create
    1. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:536)
    2. org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:248)
    2 frames
  12. Apache CXF Runtime JAX-WS Frontend
    JaxWsServiceFactoryBean.create
    1. org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:205)
    1 frame
  13. Apache CXF Runtime Simple Frontend
    AbstractServiceFactory.createService
    1. org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
    2. org.apache.cxf.frontend.AbstractServiceFactory.createService(AbstractServiceFactory.java:78)
    2 frames
  14. Apache CXF
    JavaToWSDLProcessor.process
    1. org.apache.cxf.tools.java2wsdl.processor.JavaToWSDLProcessor.process(JavaToWSDLProcessor.java:101)
    1 frame
  15. Apache CXF WS
    JavaToWSContainer.execute
    1. org.apache.cxf.tools.java2ws.JavaToWSContainer.processWSDL(JavaToWSContainer.java:110)
    2. org.apache.cxf.tools.java2ws.JavaToWSContainer.execute(JavaToWSContainer.java:75)
    2 frames
  16. Apache CXF Command Line Tools Common
    ToolRunner.runTool
    1. org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:103)
    2. org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:58)
    3. org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:40)
    3 frames
  17. Apache CXF WS
    JavaToWS.main
    1. org.apache.cxf.tools.java2ws.JavaToWS.run(JavaToWS.java:77)
    2. org.apache.cxf.tools.java2ws.JavaToWS.main(JavaToWS.java:45)
    2 frames