[
https://issues.apache.org/jira/browse/SANDBOX-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13424795#comment-13424795
]
Benedikt Ritter commented on SANDBOX-433:
-----------------------------------------
Hi Simo,
{quote}
and looks like the BU predecessor is affected by same issue - we inherited the
basic caching system from it.
{quote}
I have created an BEANUTILS-416 and will try to have a look at the BU sources
so that I can fix that as well.
{quote}
+1 for the WeakHashMap<AccessibleObjectDescriptor, AO>
{quote}
I'll create a patch tonight ;)
> [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