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 "Prakash Mali (JIRA)" <ax...@ws.apache.org> on 2007/12/19 16:11:44 UTC

[jira] Commented: (AXIS-2219) Axis Multithread test case fails on a hyper threaded system

    [ https://issues.apache.org/jira/browse/AXIS-2219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553378 ] 

Prakash Mali commented on AXIS-2219:
------------------------------------

I have same issue on Axis 1.4. I get occassional NullPointerException with stack trace as mentioned above. Is there a solution to this issue?

> Axis Multithread test case fails on a hyper threaded system
> -----------------------------------------------------------
>
>                 Key: AXIS-2219
>                 URL: https://issues.apache.org/jira/browse/AXIS-2219
>             Project: Axis
>          Issue Type: Bug
>          Components: Basic Architecture
>    Affects Versions: 1.2
>         Environment: Linux : Fedore core 3 and Suse 91 
> Linux version 2.6.5-7.155.29-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Thu Jun 2 12:07:05 UTC 2005
> JDK - 1.4.2
> java version "1.4.2_04"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_04-b05)
> Java HotSpot(TM) Client VM (build 1.4.2_04-b05, mixed mode)
>            Reporter: Sivakumar K
>
> When the multithreadtest case is run on a Hyper Threaded CPU machine, it fails sometimes. One in 3-5 runs results in a failure. Failures are not seen when run on a non-HT machine. The exception trace is as below:
>   <testcase classname="test.wsdl.multithread.MultithreadTestCase" name="testMultithreading" time="5.664">
>     <failure message="Throwable caught: java.lang.NullPointerException" type="junit.framework.AssertionFailedError">junit.framework.AssertionFailedError: Throwable caught: java.lang.NullPointerException
>         at test.wsdl.multithread.MultithreadTestCase$Run.run(MultithreadTestCase.java:103)
>         at java.lang.Thread.run(Thread.java:534)
> </failure>
>   </testcase>
>   <system-out><![CDATA[- Throwable caught:
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
>  faultSubcode:
>  faultString: java.lang.NullPointerException
>  faultActor:
>  faultNode:
>  faultDetail:
>         {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
>         at java.io.FilterInputStream.read(FilterInputStream.java:111)
>         at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
>         at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>         at org.apache.axis.client.Call.invoke(Call.java:2748)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>         at org.apache.axis.client.Call.invoke(Call.java:2748)
>         at org.apache.axis.client.Call.invoke(Call.java:2424)
>         at org.apache.axis.client.Call.invoke(Call.java:2347)
>         at org.apache.axis.client.Call.invoke(Call.java:1804)         at samples.addr.AddressBookSOAPBindingStub.getAddressFromName(AddressBookSOAPBindingStub.java:204)
>         at test.wsdl.multithread.MultithreadTestCase$Run.run(MultithreadTestCase.java:88)
>         at java.lang.Thread.run(Thread.java:534)
>         {http://xml.apache.org/axis/}hostname:suse91-qa1
> java.lang.NullPointerException
>         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:216)
>         at org.apache.axis.client.Call.invokeEngine(Call.java:2765)
>         at org.apache.axis.client.Call.invoke(Call.java:2748)
>         at org.apache.axis.client.Call.invoke(Call.java:2424)
>         at org.apache.axis.client.Call.invoke(Call.java:2347)
>         at org.apache.axis.client.Call.invoke(Call.java:1804)
>         at samples.addr.AddressBookSOAPBindingStub.getAddressFromName(AddressBookSOAPBindingStub.java:204)
>         at test.wsdl.multithread.MultithreadTestCase$Run.run(MultithreadTestCase.java:88)
>         at java.lang.Thread.run(Thread.java:534)
> Caused by: java.lang.NullPointerException
>         at java.io.FilterInputStream.read(FilterInputStream.java:111)
>         at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source)
>         at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
>         at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
>         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
>         at org.apache.axis.Message.getSOAPEnvelope(Message.java:424)
>         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
>         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
>         ... 8 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org