Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 91717 invoked from network); 12 Apr 2011 07:58:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Apr 2011 07:58:54 -0000 Received: (qmail 2146 invoked by uid 500); 12 Apr 2011 07:58:51 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 2085 invoked by uid 500); 12 Apr 2011 07:58:49 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 2071 invoked by uid 99); 12 Apr 2011 07:58:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 07:58:46 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 07:58:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AB7999D8AB for ; Tue, 12 Apr 2011 07:58:05 +0000 (UTC) Date: Tue, 12 Apr 2011 07:58:05 +0000 (UTC) From: "Ashok Poralu (JIRA)" To: dev@geronimo.apache.org Message-ID: <2000495584.51903.1302595085683.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (GERONIMO-5900) NullPointerException on JavaBeanDispatcher class when debug logging enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org NullPointerException on JavaBeanDispatcher class when debug logging enabled --------------------------------------------------------------------------- Key: GERONIMO-5900 URL: https://issues.apache.org/jira/browse/GERONIMO-5900 Project: Geronimo Issue Type: Bug Security Level: public (Regular issues) Components: webservices Affects Versions: 2.1.7 Environment: Windows XP SP3 Apache Geronimo 2.1.7 Reporter: Ashok Poralu Fix For: 2.1.8 Getting a NPE Caused by: java.lang.NullPointerException at org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher.invoke(JavaBeanDispatcher.java:95) at org.apache.axis2.jaxws.server.EndpointController.invoke(EndpointController.java:172) ... 30 more The debug logging code from JavaBeanDispatcher getting serviceInstance as null from EJBServiceDispatcher. Following the code snippet, if (log.isDebugEnabled()) { log.debug("Exception invoking a method of " + serviceImplClass.toString() + " of instance " + serviceInstance.toString()); It seems, Geronimo uses the custom version of AXIS2 1.3-G20090406 codebase. The temporary workaround for the issue to disable logging of the class JavaBeanDispatcher log4j.logger.org.apache.axis2.jaxws.server.dispatcher.JavaBeanDispatcher=INFO To fix this, we can change the log.debug("Exception invoking a method of " + (serviceImplClass == null : null ? serviceImplClass.toString() ) + " of instance " + (serviceInstance == null : null ? serviceInstance.toString())); Your comments please... -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira