Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 17790 invoked from network); 1 Dec 2006 21:56:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2006 21:56:46 -0000 Received: (qmail 82137 invoked by uid 500); 1 Dec 2006 21:56:50 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 82097 invoked by uid 500); 1 Dec 2006 21:56:50 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 82086 invoked by uid 99); 1 Dec 2006 21:56:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 13:56:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Dec 2006 13:56:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 17F377142EC for ; Fri, 1 Dec 2006 13:56:21 -0800 (PST) Message-ID: <2096798.1165010181080.JavaMail.jira@brutus> Date: Fri, 1 Dec 2006 13:56:21 -0800 (PST) From: "Ann Robinson (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS2-1806) NullPointerException when OperationClient executes with an invalid transport MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org NullPointerException when OperationClient executes with an invalid transport ---------------------------------------------------------------------------- Key: AXIS2-1806 URL: http://issues.apache.org/jira/browse/AXIS2-1806 Project: Apache Axis 2.0 (Axis2) Issue Type: Bug Components: kernel Affects Versions: 1.1 Reporter: Ann Robinson Priority: Minor When using an invalid transport protocol like "htp" (instead of "http"), a NullPointerException occurred instead of an AxisFault exception. java.lang.NullPointerException at org.apache.axis2.description.ClientUtils.inferInTransport(ClientUtils.java:85) at org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:260) at org.apache.axis2.engine.UsingTransportTest.testInvalidTransport(UsingTransportTest.java:159) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) at junit.extensions.TestSetup$1.protect(TestSetup.java:21) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.extensions.TestSetup.run(TestSetup.java:25) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:297) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:672) at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:567) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org