You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@shale.apache.org by "Ryan Wynn (JIRA)" <ji...@apache.org> on 2007/11/17 20:27:33 UTC

[jira] Created: (SHALE-477) Need more synchronization inside config beans

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


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.


[jira] Commented: (SHALE-477) Need more synchronization inside config beans

Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/SHALE-477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_42684 ] 

Gary VanMatre commented on SHALE-477:
-------------------------------------

This sounds like an issue (SHALE-390) that might have only been fixed in the latest 1.1.0-SNAPSHOT.  Please verify that it's not a problem in the latest snapshot.


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


[jira] Updated: (SHALE-477) Need more synchronization inside config beans

Posted by "Ryan Wynn (JIRA)" <ji...@apache.org>.
     [ 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.