You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2002/09/03 09:44:39 UTC
DO NOT REPLY [Bug 12247] New: -
MethodUtils.getMatchingAccessibleMethod throws NullPointerException when parameterTypes is null
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12247>.
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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>