Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 41149 invoked from network); 3 Sep 2002 07:43:58 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 3 Sep 2002 07:43:58 -0000 Received: (qmail 13812 invoked by uid 97); 3 Sep 2002 07:44:41 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 13795 invoked by uid 97); 3 Sep 2002 07:44:40 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 13781 invoked by uid 50); 3 Sep 2002 07:44:39 -0000 Date: 3 Sep 2002 07:44:39 -0000 Message-ID: <20020903074439.13780.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 12247] New: - MethodUtils.getMatchingAccessibleMethod throws NullPointerException when parameterTypes is null X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12247 MethodUtils.getMatchingAccessibleMethod throws NullPointerException when parameterTypes is null Summary: MethodUtils.getMatchingAccessibleMethod throws NullPointerException when parameterTypes is null Product: Commons Version: 1.0 Beta 1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Minor Priority: Other Component: Bean Utilities AssignedTo: commons-dev@jakarta.apache.org ReportedBy: gillesGaillard@compuserve.com In release 1.4 and 1.4.1 invoking invokeMethod with the Class[] parameter null leads to a NullPointerException in getMatchingAccessibleMethod. This is not coherent with the java.lang.Class.getMethod documentation where null Class[] parameter is considered like an empty one. Workaroud : pass empty array instead of null -- To unsubscribe, e-mail: For additional commands, e-mail: