[ 
https://issues.apache.org/struts/browse/SHALE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ryan Wynn updated SHALE-477:
----------------------------

    Attachment: synchronized-patch.txt

Add synchronized blocks around shared resources in order to prevent random null 
pointer exceptions.

> Need more synchronization inside config beans
> ---------------------------------------------
>
>                 Key: SHALE-477
>                 URL: https://issues.apache.org/struts/browse/SHALE-477
>             Project: Shale
>          Issue Type: Bug
>          Components: Clay
>    Affects Versions: 1.0.4
>            Reporter: Ryan Wynn
>         Attachments: synchronized-patch.txt
>
>
> At random times I have received null pointer exceptions inside various 
> component config beans.  Usually these are happening during application 
> startup or shutdown, but the problem is not limited to those situations.  
> Due to the nature of shared resources within the config beans I have 
> submitted a patch which adds synchronized blocks around critical areas.  This 
> seems to have fixed the problem for me.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to