Uploaded image for project: 'Axis'
  1. Axis
  2. AXIS-2684

NullPointerException on wsdl2java generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4
    • None
    • WSDL processing
    • None
    • MacOSX, java 1.5

    Description

      I am getting an error on the wsdl2java generation of my wsdl:

      [axis-wsdl2java] Running Wsdl2javaAntTask with parameters:
      [axis-wsdl2java] verbose:true
      [axis-wsdl2java] debug:false
      [axis-wsdl2java] quiet:false
      [axis-wsdl2java] server-side:true
      [axis-wsdl2java] skeletonDeploy:false
      [axis-wsdl2java] helperGen:false
      [axis-wsdl2java] factory:null
      [axis-wsdl2java] nsIncludes:[]
      [axis-wsdl2java] nsExcludes:[]
      [axis-wsdl2java] factoryProps:[]
      [axis-wsdl2java] testCase:false
      [axis-wsdl2java] noImports:false
      [axis-wsdl2java] NStoPkg:{}
      [axis-wsdl2java]
      output:/Users/dlaprade/workspace/ContentService/server/target/generated-sources/src/main/java
      [axis-wsdl2java] protocolHandlerPkgs:
      [axis-wsdl2java] deployScope:Application
      [axis-wsdl2java]
      URL:/Users/dlaprade/workspace/ContentService/server/src/main/resources/contentservice.wsdl
      [axis-wsdl2java] all:false
      [axis-wsdl2java] typeMappingVersion:1.2
      [axis-wsdl2java] timeout:45000
      [axis-wsdl2java] failOnNetworkErrors:false
      [axis-wsdl2java] printStackTraceOnFailure:true
      [axis-wsdl2java] namespaceMappingFile:null
      [axis-wsdl2java] username:null
      [axis-wsdl2java] :passwordnull
      [axis-wsdl2java] :noWrappedfalse
      [axis-wsdl2java] :allowInvalidURLfalse
      [axis-wsdl2java] :implementationClassNamenull
      [axis-wsdl2java] :classpathnull
      [axis-wsdl2java] http.proxyHost=null
      [axis-wsdl2java] http.proxyPort=null
      [axis-wsdl2java] http.proxyUser=null
      [axis-wsdl2java] http.proxyPassword=null
      [axis-wsdl2java] socks.proxyHost=null
      [axis-wsdl2java] socks.proxyPort=null
      java.lang.NullPointerException
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.getAsFieldName(JavaBeanHelperWriter.java:435)
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeMetaData(JavaBeanHelperWriter.java:325)
      at org.apache.axis.wsdl.toJava.JavaBeanHelperWriter.writeFileBody(JavaBeanHelperWriter.java:183)
      at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWriter.java:257)
      at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1405)
      at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
      at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
      at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
      at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
      at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
      at java.lang.Thread.run(Thread.java:613)

      Attachments

        1. Archive.zip
          34 kB
          kombi

        Activity

          People

            Unassigned Unassigned
            kombi kombi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: