[ 
https://issues.apache.org/jira/browse/LANG-1544?focusedWorklogId=526980&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-526980
 ]

ASF GitHub Bot logged work on LANG-1544:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 21/Dec/20 22:03
            Start Date: 21/Dec/20 22:03
    Worklog Time Spent: 10m 
      Work Description: coveralls commented on pull request #680:
URL: https://github.com/apache/commons-lang/pull/680#issuecomment-749221904


   
   [![Coverage 
Status](https://coveralls.io/builds/35875621/badge)](https://coveralls.io/builds/35875621)
   
   Coverage increased (+0.003%) to 95.019% when pulling 
**8bb3703f828c61b891e5cb79c34f572051f958ff on 
mdbuck77:LANG-1544_MethodUtils_Throws_NPE** into 
**c9e825e823e30c5b1e3ddc9de5e8fd0094d52ee5 on apache:master**.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 526980)
    Time Spent: 2h 20m  (was: 2h 10m)

> MethodUtils.invokeMethod NullPointerException in case of null in args list
> --------------------------------------------------------------------------
>
>                 Key: LANG-1544
>                 URL: https://issues.apache.org/jira/browse/LANG-1544
>             Project: Commons Lang
>          Issue Type: Bug
>          Components: lang.reflect.*
>    Affects Versions: 3.10
>            Reporter: Peter Nagy
>            Priority: Critical
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> MethodUtils:774
>  
> if (classArray[offset].equals(toClassArray[offset])) {
>  continue;
> } else if (ClassUtils.isAssignable(classArray[offset], toClassArray[offset], 
> true)
>  
> cause NPE if classArray[offset] is null. Can you please extend the if 
> condition with a null check, like this?
>  
> if (classArray[offset] != null && 
> classArray[offset].equals(toClassArray[offset]))



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to