You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Tardif, Sebastien" <ST...@anacomp.com> on 2004/11/15 22:22:54 UTC

Unit test fail: java.lang.InternalError: Converter malfunction (Unicode)

Anyone experimented the same error and has a solution?

    [junit] - Test complete.
     [java] java.lang.InternalError: Converter malfunction (Unicode) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi
     [java]     at sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java:235)
     [java]     at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:251)
     [java]     at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
     [java]     at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
     [java]     at java.io.InputStreamReader.read(InputStreamReader.java:167)
     [java]     at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
     [java]     at org.apache.xerces.impl.XML11EntityScanner.skipString(Unknown Source)
     [java]     at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
     [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
     [java]     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
     [java]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
     [java]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
     [java]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
     [java]     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
     [java]     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
     [java]     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
     [java]     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
     [java]     at org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.java:428)
     [java]     at org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:155)
    [junit] - Testing deployment...
     [java]     at org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:245)
     [java]     at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:296)
     [java]     at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:304)
     [java]     at org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:385)
     [java] Exception in thread "main"
     [java] Java Result: 1
     [java] - TCPListener received new connection: Socket[addr=/127.0.0.1,port=1975,localport=8088]
     [java] - AxisListener quitting.
[runaxisfunctionaltests] Error from HTTP read: java.net.ConnectException: Connection refused: connect

BUILD FAILED
C:\axis-src\ws-axis\java\build.xml:339: The following error occurred while executing this line:
C:\axis-src\ws-axis\java\buildTest.xml:249: The following error occurred while executing this line:
C:\axis-src\ws-axis\java\buildTest.xml:177: Test test.functional.FunctionalTests failed

Total time: 11 minutes 39 seconds

Re: Unit test fail: java.lang.InternalError: Converter malfunction (Unicode)

Posted by Davanum Srinivas <da...@gmail.com>.
Sebastien,

I had this problem till i upgraded to altest point version of the jdk.
i'd say upgrade to 1.4.2_06 and try again. (make sure u reboot after
installing the jdk if on win32)

thanks,
dims


On Mon, 15 Nov 2004 16:22:54 -0500, Tardif, Sebastien
<st...@anacomp.com> wrote:
> Anyone experimented the same error and has a solution?
> 
>     [junit] - Test complete.
>      [java] java.lang.InternalError: Converter malfunction (Unicode) -- please submit a bug report via http://java.sun.com/cgi-bin/bugreport.cgi
>      [java]     at sun.nio.cs.StreamDecoder$ConverterSD.malfunction(StreamDecoder.java:235)
>      [java]     at sun.nio.cs.StreamDecoder$ConverterSD.convertInto(StreamDecoder.java:251)
>      [java]     at sun.nio.cs.StreamDecoder$ConverterSD.implRead(StreamDecoder.java:297)
>      [java]     at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:182)
>      [java]     at java.io.InputStreamReader.read(InputStreamReader.java:167)
>      [java]     at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
>      [java]     at org.apache.xerces.impl.XML11EntityScanner.skipString(Unknown Source)
>      [java]     at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
>      [java]     at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>      [java]     at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
>      [java]     at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>      [java]     at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>      [java]     at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>      [java]     at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:226)
>      [java]     at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:645)
>      [java]     at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>      [java]     at org.apache.axis.server.AxisServer.invoke(AxisServer.java:279)
>      [java]     at org.apache.axis.transport.http.SimpleAxisWorker.execute(SimpleAxisWorker.java:428)
>      [java]     at org.apache.axis.transport.http.SimpleAxisWorker.run(SimpleAxisWorker.java:155)
>     [junit] - Testing deployment...
>      [java]     at org.apache.axis.transport.http.SimpleAxisServer.run(SimpleAxisServer.java:245)
>      [java]     at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:296)
>      [java]     at org.apache.axis.transport.http.SimpleAxisServer.start(SimpleAxisServer.java:304)
>      [java]     at org.apache.axis.transport.http.SimpleAxisServer.main(SimpleAxisServer.java:385)
>      [java] Exception in thread "main"
>      [java] Java Result: 1
>      [java] - TCPListener received new connection: Socket[addr=/127.0.0.1,port=1975,localport=8088]
>      [java] - AxisListener quitting.
> [runaxisfunctionaltests] Error from HTTP read: java.net.ConnectException: Connection refused: connect
> 
> BUILD FAILED
> C:\axis-src\ws-axis\java\build.xml:339: The following error occurred while executing this line:
> C:\axis-src\ws-axis\java\buildTest.xml:249: The following error occurred while executing this line:
> C:\axis-src\ws-axis\java\buildTest.xml:177: Test test.functional.FunctionalTests failed
> 
> Total time: 11 minutes 39 seconds
> 


-- 
Davanum Srinivas - http://webservices.apache.org/~dims/