cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William Tam (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-523) ConcurrentModificationException thrown by createJAXBContext() when run java2wsdl
Date Thu, 12 Apr 2007 21:01:18 GMT

     [ https://issues.apache.org/jira/browse/CXF-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

William Tam updated CXF-523:
----------------------------

    Attachment: JAXBDataBinding-patch.txt

A patch to address to the problem.

> ConcurrentModificationException thrown by createJAXBContext() when run java2wsdl
> --------------------------------------------------------------------------------
>
>                 Key: CXF-523
>                 URL: https://issues.apache.org/jira/browse/CXF-523
>             Project: CXF
>          Issue Type: Bug
>            Reporter: William Tam
>         Attachments: JAXBDataBinding-patch.txt, test.tar.gz
>
>
> untar the attached tarball to C:\dbtest and run the following command:
> java2wsdl -cp C:\dbtest  com.iona.dbtest.Database
> and the follow stacktrace is observed
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:841)
>         at java.util.HashMap$KeyIterator.next(HashMap.java:877)
>         at org.apache.cxf.jaxb.JAXBDataBinding.createJAXBContext(JAXBDataBinding.java:338)
>         at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:246)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClassReflectionServiceFactoryBean.java:211)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:228)
>         at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:128)
>         at org.apache.cxf.frontend.AbstractEndpointFactory.createEndpoint(AbstractEndpointFactory.java:73)
>         at org.apache.cxf.tools.java2wsdl.processor.internal.ServiceBuilder.build(ServiceBuilder.java:39)
>         at org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.process(JavaToProcessor.java:58)
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.execute(JavaToWSDL.java:73)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:84)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:52)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:39)
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.runTool(JavaToWSDL.java:110)
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.main(JavaToWSDL.java:101)
> Error : null
> org.apache.cxf.tools.common.ToolException
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.execute(JavaToWSDL.java:90)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:84)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:52)
>         at org.apache.cxf.tools.common.toolspec.ToolRunner.runTool(ToolRunner.java:39)
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.runTool(JavaToWSDL.java:110)
>         at org.apache.cxf.tools.java2wsdl.JavaToWSDL.main(JavaToWSDL.java:101)

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


Mime
View raw message