cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Chen (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-705) java2wsdl can't handle interface without package
Date Wed, 06 Jun 2007 09:16:26 GMT
java2wsdl can't handle interface without package
------------------------------------------------

                 Key: CXF-705
                 URL: https://issues.apache.org/jira/browse/CXF-705
             Project: CXF
          Issue Type: Bug
          Components: Tooling
         Environment: RHAS 4.0
            Reporter: Alex Chen
            Priority: Critical
         Attachments: Hello.java

How to reproduce:
- create a simple interface without package defined, I attach it
- run command like:  java2wsdl -verbose Hello
- I get exceptions like:
Error : null

java.lang.NullPointerException
        at org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.Wrapper.getPackageName(Wrapper.java:135)
        at org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.RequestWrapper.getWrapperBeanClass(RequestWrapper.java:100)
        at org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.Wrapper.getJavaClass(Wrapper.java:114)
        at org.apache.cxf.tools.java2wsdl.processor.internal.jaxws.Wrapper.buildWrapperBeanClass(Wrapper.java:121)
        at org.apache.cxf.tools.java2wsdl.generator.wsdl11.WrapperBeanGenerator.generateBeanClasses(WrapperBeanGenerator.java:41)
        at org.apache.cxf.tools.java2wsdl.generator.wsdl11.BeanGenerator.generate(BeanGenerator.java:54)
        at org.apache.cxf.tools.java2wsdl.generator.wsdl11.BeanGenerator.generate(BeanGenerator.java:34)
        at org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.generate(JavaToProcessor.java:121)
        at org.apache.cxf.tools.java2wsdl.processor.JavaToProcessor.process(JavaToProcessor.java:90)
        at org.apache.cxf.tools.java2wsdl.JavaToWSDLContainer.execute(JavaToWSDLContainer.java:59)
        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.run(JavaToWSDL.java:74)
        at org.apache.cxf.tools.java2wsdl.JavaToWSDL.main(JavaToWSDL.java:42)
Error : null

org.apache.cxf.tools.common.ToolException
        at org.apache.cxf.tools.java2wsdl.JavaToWSDLContainer.execute(JavaToWSDLContainer.java:76)
        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.run(JavaToWSDL.java:74)
        at org.apache.cxf.tools.java2wsdl.JavaToWSDL.main(JavaToWSDL.java:42)


-- 
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