axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Parthipan <lpa...@gmail.com>
Subject Re: Problen in code generation using wsdl2ws on Linux
Date Tue, 25 Oct 2005 11:45:10 GMT
You may have to check if the same happens with Sun Java. Here you're using gcj.

On 10/25/05, Dushshantha Chandradasa <dchandradasa@virtusa.com> wrote:
>
>
>
> Hi All,
>
>
>
> I got the following exception when I try to generate codes using WSDL2Ws on
> Linux (tried to execute ant –f services.xml).
>
>
>
> generateServerStubs:
>
>      [echo]
> /home/dushshantha/axiscpp/ws-axis/c/../../../obj/test/generated/server/cpp/XSD_unsignedLong
>
>      [java] java.lang.NullPointerException
>
>      [java]    at gnu.xml.dom.ls.ReaderInputStream.close()
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.XmlParser.doParse(java.lang.String,
> java.lang.String, java.io.Reader, java.io.InputStream, java.lang.String)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> org.apache.axis.utils.XMLUtils.newDocument(org.xml.sax.InputSource)
> (Unknown Source)
>
>      [java]    at
> org.apache.axis.utils.XMLUtils.newDocument(java.lang.String,
> java.lang.String, java.lang.String) (Unknown Source)
>
>      [java]    at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(java.lang.String,
> java.lang.String, java.lang.String) (Unknown Source)
>
>      [java]    at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run() (Unknown
> Source)
>
>      [java]    at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
>
>      [java] org.apache.axis.wsdl.wsdl2ws.WrapperFault:
> java.lang.NullPointerException
>
>      [java]    at
> org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.WSDL2Ws(org.apache.axis.wsdl.wsdl2ws.CLArgParser)
> (Unknown Source)
>
>      [java]    at
> org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(java.lang.String[])
> (Unknown Source)
>
>      [java]    at gnu.java.lang.MainThread.call_main()
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
>
>      [java] Caused by: java.lang.NullPointerException
>
>      [java]    at gnu.xml.dom.ls.ReaderInputStream.close()
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.XmlParser.doParse(java.lang.String,
> java.lang.String, java.io.Reader, java.io.InputStream, java.lang.String)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource)
> (/usr/lib/libgcj.so.6.0.0)
>
>      [java]    at
> org.apache.axis.utils.XMLUtils.newDocument(org.xml.sax.InputSource)
> (Unknown Source)
>
>
>
>      [java] Code generation failed. Please see errors above.
>
>
>
>      [java]    at
> org.apache.axis.utils.XMLUtils.newDocument(java.lang.String,
> java.lang.String, java.lang.String) (Unknown Source)
>
>      [java]    at
> org.apache.axis.wsdl.symbolTable.SymbolTable.populate(java.lang.String,
> java.lang.String, java.lang.String) (Unknown Source)
>
>      [java]    at
> org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run() (Unknown
> Source)
>
>      [java]    at java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
>
>
>
> Don't know whether I missed anything here.
>
>
>
> Regards,
>
>
>
> Marcus Dushshantha Chandradasa
>
> Team Virtusa
>
> dchadradasa@virtusa.com
>
>


--
http://www.linux.lk/~lparth/
Mime
View raw message