Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 96358 invoked from network); 29 Nov 2007 11:40:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2007 11:40:10 -0000 Received: (qmail 84949 invoked by uid 500); 29 Nov 2007 11:39:55 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 84937 invoked by uid 500); 29 Nov 2007 11:39:55 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 84922 invoked by uid 99); 29 Nov 2007 11:39:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2007 03:39:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 29 Nov 2007 11:40:05 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 869B771423B for ; Thu, 29 Nov 2007 03:39:44 -0800 (PST) Message-ID: <7942612.1196336384549.JavaMail.jira@brutus> Date: Thu, 29 Nov 2007 03:39:44 -0800 (PST) From: "Dinesh Premalal (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Assigned: (AXIS2C-790) Unhelpful message AXIS2_ERROR_INVALID_NULL_PARAM when DLLs missing from client repo lib directory. In-Reply-To: <29676744.1196274703276.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2C-790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Dinesh Premalal reassigned AXIS2C-790: -------------------------------------- Assignee: Dinesh Premalal > Unhelpful message AXIS2_ERROR_INVALID_NULL_PARAM when DLLs missing from client repo lib directory. > -------------------------------------------------------------------------------------------------- > > Key: AXIS2C-790 > URL: https://issues.apache.org/jira/browse/AXIS2C-790 > Project: Axis2-C > Issue Type: Bug > Components: core/deployment > Affects Versions: 1.1.0 > Environment: Windows XP, Visual Studio 2005 > Reporter: Bill Mitchell > Assignee: Dinesh Premalal > Priority: Minor > > If the client repository is incomplete, in particular, if the client has the axis2_http_sender.dll and axis2_http_receiver.dll in the binary directory with the application instead of in the repo/lib directory, the service cannot be created with a very uninformative Axis errorno 2, AXIS2_ERROR_INVALID_NULL_PARAM. > The initial error is diagnosed well by axutil_class_loader_create_dll() who posts errorno 100, AXIS2_ERROR_DLL_CREATE_FAILED. But the code in axis2_conf_builder_process_transport_senders() in conf_builder.c ignores the error indicated by the null pointer return and proceeds to call axis2_transport_out_desc_set_sender() with the null pointer, yielding the very uninformative NULL_PARAM error. > In axis2_conf_builder_process_transport_senders(), the code fragment: > transport_sender = > axutil_class_loader_create_dll(env, impl_info_param); > axis2_transport_out_desc_add_param(transport_out, env, > impl_info_param); > status = > axis2_transport_out_desc_set_sender(transport_out, env, > transport_sender); > should read: > transport_sender = > axutil_class_loader_create_dll(env, impl_info_param); > axis2_transport_out_desc_add_param(transport_out, env, > impl_info_param); > if (!transport_sender) > { > axis2_transport_out_desc_free(transport_out, env); > return AXIS2_FAILURE; > } > status = > axis2_transport_out_desc_set_sender(transport_out, env, > transport_sender); > When I introduced this change, the service create fails with the useful errorno 100 pointing the administrator to the DLL problem. > Of course, when the axis2_http_sender.dll and axis2_http_receiver.dll are placed correctly in the repo/lib directory, the error disappears. -- 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-c-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-c-dev-help@ws.apache.org