On Mon March 16 2009 12:00:34 pm zorkerman wrote:
> looks like I had dom4j-1.5.2 included in a parent project which was causing
> the problem.

Interesting.   Not sure why that would cause this, but good to know none-the-
less..   Thanks!
Dan



>
> 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(Default
> >>LifecycleExecutor.java:584)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> >>ycle(DefaultLifecycleExecutor.java:500)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> >>ifecycleExecutor.java:479)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> >>Failures(DefaultLifecycleExecutor.java:331)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> >>DefaultLifecycleExecutor.java:292)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> >>ycleExecutor.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.jav
> >>a:39)^M at
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> >>Impl.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(DefaultPluginMa
> >>nager.java:453)^M at
> >> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> >>LifecycleExecutor.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$AttributesI
> >>mpl.getIndex(InterningXmlVisitor.java:112)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.XsiNilLoader.selectLoader(XsiNi
> >>lLoader.java:62)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.ProxyLoader.startElement(ProxyL
> >>oader.java:53)^M at
> >> com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$IntercepterLoader.startE
> >>lement(ElementBeanInfoImpl.java:231)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElem
> >>ent(UnmarshallingContext.java:455)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallingContext.startEleme
> >>nt(UnmarshallingContext.java:433)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.InterningXmlVisitor.startElemen
> >>t(InterningXmlVisitor.java:71)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXCo
> >>nnector.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(Unm
> >>arshallerImpl.java:211)^M at
> >> com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unma
> >>rshallerImpl.java:184)^M at
> >> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
> >>hallerImpl.java:137)^M at
> >> javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmars
> >>hallerImpl.java:184)^M at
> >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getPlugin(PluginLoader.jav
> >>a:253)^M at
> >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getPlugin(PluginLoader.jav
> >>a:212)^M at
> >> org.apache.cxf.tools.wsdlto.core.PluginLoader.loadPlugin(PluginLoader.ja
> >>va:140)^M at
> >> org.apache.cxf.tools.wsdlto.core.PluginLoader.loadPlugins(PluginLoader.j
> >>ava: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:7
> >>2)^M at
> >> org.apache.cxf.tools.wsdlto.core.PluginLoader.getInstance(PluginLoader.j
> >>ava: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

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to