Hi, If you can append a more detailed stack trace, it would be more helpful. Also if you can append a simple wsdl which can reproduce this NPE, we can do a quick test from our side.
Freeman ------------- Freeman Fang FuseSource Email:[email protected] Web: fusesource.com Twitter: freemanfang Blog: http://freemanfang.blogspot.com http://blog.sina.com.cn/u/1473905042 weibo: http://weibo.com/u/1473905042 On 2012-8-16, at 上午8:22, Mike Grandmaison wrote: > Hi, > > I am using the 2.6.2-SNAPSHOT: > > 2.6.2-20120813.071134-43 > > > in Eclipse with m2e but I get the following error when I run package. > > [ERROR] Failed to execute goal > org.apache.cxf:cxf-codegen-plugin:2.6.2-SNAPSHOT:wsdl2java > (myproject-generate-sources) on project cope: Execution > myproject-generate-sources of goal > org.apache.cxf:cxf-codegen-plugin:2.6.2-SNAPSHOT:wsdl2java failed: > java.lang.NullPointerException -> [Help 1] > > Here is my pom.xml section for cxf: > > <plugin> > <groupId>org.apache.cxf</groupId> > <artifactId>cxf-codegen-plugin</artifactId> > <version>${cxf.version}</version> > <executions> > <execution> > <id>myproject-generate-sources</id> > <phase>generate-sources</phase> > <configuration> > > <sourceRoot>${basedir}/target/generated-sources/cxf-codegen-plugin</sourceRoot> > <wsdlOptions> > <wsdlOption> > > <wsdl>http://mydomain.com:23000/webapps/webservicesimulator/service/MyService?wsdl</wsdl> > <extraargs> > <extraarg>-client</extraarg> > </extraargs> > </wsdlOption> > </wsdlOptions> > </configuration> > <goals> > <goal>wsdl2java</goal> > </goals> > </execution> > </executions> > </plugin> > > This works fine with cxf 2.6.1 > > Is there something that changed in the pom.xml requirements for 2.6.2? > > Thank you, > > Mike
