You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Benedikt Ritter (JIRA)" <ji...@apache.org> on 2012/07/29 14:30:38 UTC
[jira] [Updated] (SANDBOX-433) [BeanUtils2] Setting properties or
calling methods very often results in a NullPointerException
[ https://issues.apache.org/jira/browse/SANDBOX-433?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benedikt Ritter updated SANDBOX-433:
------------------------------------
Attachment: SANDBOX-433-TestCase.patch
I've created a TestCase that shows the problem. I'm not sure, maybe calling a method that often isn't really a use case? I found this bug while working on benchmarks for SNADBOX-432. The joor Library can handle that many calls, so I'd say, that we should also be able to do that ;)
> [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