commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SANDBOX-433) [BeanUtils2] Setting properties or calling methods very often results in a NullPointerException
Date Mon, 30 Jul 2012 19:59:34 GMT

     [ 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.patch

Patch created and attached to the ticket.  It removes the WeakReferences from both the AccessibleObjectsRegistry
and the PropertyDescriptorsRegistry.
                
> [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, SANDBOX-433.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

        

Mime
View raw message