axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin OConnor (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4399) wsdl2java - overwriting output (with -or) causes an exception
Date Sat, 20 Jun 2009 20:32:07 GMT
wsdl2java - overwriting output (with -or) causes an exception
-------------------------------------------------------------

                 Key: AXIS2-4399
                 URL: https://issues.apache.org/jira/browse/AXIS2-4399
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: codegen
    Affects Versions: 1.5
            Reporter: Martin OConnor


Running wsdl2java with the over write switch (-or) causes the following exception when overwriting
generated code:

[ERROR] Exception occurred while trying to pretty print file c:\<path edited>\.\resources\services.xml
; Line#: -1; Column#: -1
javax.xml.transform.TransformerException: Premature end of file.
        at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerIm
pl.java:780)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:756)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1284)
        at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp
l.java:1262)
        at org.apache.axis2.util.XMLPrettyPrinter.prettify(XMLPrettyPrinter.java
:84)
        at org.apache.axis2.wsdl.codegen.extension.XMLPrettyPrinterExtension.pre
ttifyFile(XMLPrettyPrinterExtension.java:39)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtensio
n.prettify(AbstractPrettyPrinterExtension.java:53)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtensio
n.engage(AbstractPrettyPrinterExtension.java:37)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:265)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

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