[ 
https://issues.apache.org/jira/browse/SANDBOX-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424791#comment-13424791
 ] 

Simone Tripodi commented on SANDBOX-433:
----------------------------------------

Good investigation Bene,

and looks like the BU predecessor is affected by same issue - we inherited the 
basic caching system from it.

+1 for the {{WeakHashMap<AccessibleObjectDescriptor, AO>}}

TIA!
                
> [BeanUtils2] Setting properties or calling methods very often results in a 
> NullPointerException
> -----------------------------------------------------------------------------------------------
>
>                 Key: SANDBOX-433
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-433
>             Project: Commons Sandbox
>          Issue Type: Bug
>          Components: BeanUtils2
>            Reporter: Benedikt Ritter
>         Attachments: SANDBOX-433-TestCase.patch
>
>
> If a property get accessed too often, a NullPointerException will be thrown. 
> The same is true for calling methods several times.
> In my configuration I'm seeing a NPE after about 27.000 calls.
> Calling constructors very often does seem to work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to