looks like I had dom4j-1.5.2 included in a parent project which was causing the problem.
zorkerman wrote: > > Okay this definitely has to do with some other dependency in another one > of my projects. Because if I take out the dependency on another project > the source generation completes. Perhaps there is some sort of duplicate > xml pull parser? > > > > > > zorkerman wrote: >> >> I am attempting to run a simple code generation with the >> cxf-codegen-plugin. I believe I have successfully used this plugin >> several days ago, but now my build is failing with an empty message. >> >> Here is my pom: http://www.nabble.com/file/p22504281/pom.xml pom.xml . >> >> I have tried plugin versions 2.1, 2.1.2, 2.1.3, and 2.1.4. >> >> i am also able to run the wsdl2java as presented in the mvn -e -X option. >> Here is that output: >> http://www.nabble.com/file/p22504281/generate-sources.log >> generate-sources.log >> >> There is an exception being thrown when the -e option is used, but I am >> very new to maven and it is just not parseable by my internal exception >> process. ;) >> >> Thanks very much for the help, >> Nathan >> >> org.apache.maven.lifecycle.LifecycleExecutionException^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:584)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:500)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:479)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:331)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:292)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)^M >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)^M >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)^M >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:301)^M >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)^M >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)^M >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)^M >> at java.lang.reflect.Method.invoke(Method.java:585)^M >> at >> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)^M >> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)^M >> at >> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)^M >> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)^M >> Caused by: org.apache.maven.plugin.MojoExecutionException^M >> at >> org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(WSDL2JavaMojo.java:363)^M >> at >> org.apache.cxf.maven_plugin.WSDL2JavaMojo.execute(WSDL2JavaMojo.java:257)^M >> at >> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:453)^M >> at >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)^M >> ... 16 more^M >> Caused by: java.lang.NullPointerException^M >> at org.gjt.xpp.sax2.Driver.getIndex(Driver.java:98)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor$AttributesImpl.getIndex(InterningXmlVisitor.java:112)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader.selectLoader(XsiNilLoader.java:62)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(ProxyLoader.java:53)^M >> at >> com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$IntercepterLoader.startElement(ElementBeanInfoImpl.java:231)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:455)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:433)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElement(InterningXmlVisitor.java:71)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:137)^M >> at org.gjt.xpp.sax2.Driver.parseSubTree(Driver.java:362)^M >> at org.gjt.xpp.sax2.Driver.parse(Driver.java:310)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:211)^M >> at >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:184)^M >> at >> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)^M >> at >> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getPlugin(PluginLoader.java:253)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getPlugin(PluginLoader.java:212)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.loadPlugin(PluginLoader.java:140)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.loadPlugins(PluginLoader.java:115)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.init(PluginLoader.java:84)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.<init>(PluginLoader.java:72)^M >> at >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getInstance(PluginLoader.java:121)^M >> at >> org.apache.cxf.tools.wsdlto.WSDLToJava.<init>(WSDLToJava.java:45)^M >> at >> org.apache.cxf.maven_plugin.WSDL2JavaMojo.processWsdl(WSDL2JavaMojo.java:360)^M >> ... 19 more^M >> >> > > -- View this message in context: http://www.nabble.com/maven-cxf-codegen-plugin-failing-with-null-error-message-tp22504281p22541188.html Sent from the cxf-user mailing list archive at Nabble.com.
