james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin (JIRA)" <server-...@james.apache.org>
Subject [jira] Assigned: (JSIEVE-10) Race condition in CommandStateManager
Date Thu, 09 Aug 2007 19:05:43 GMT

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

Robert Burrell Donkin reassigned JSIEVE-10:
-------------------------------------------

    Assignee: Robert Burrell Donkin

> Race condition in CommandStateManager
> -------------------------------------
>
>                 Key: JSIEVE-10
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-10
>             Project: jSieve
>          Issue Type: Bug
>            Reporter: Kirk Chen
>            Assignee: Robert Burrell Donkin
>
> The resetInstance method in CommandStateManager should be synchronized. In multithreaded
environment, I encountered the following exception:
> java.lang.NullPointerException
>         at org.apache.jsieve.commands.CommandStateManager.setInstance(CommandStateManager.java:122)
>         at org.apache.jsieve.commands.CommandStateManager.updateInstance(CommandStateManager.java:140)
>         at org.apache.jsieve.commands.CommandStateManager.getInstance(CommandStateManager.java:95)
>         at org.apache.jsieve.SieveFactory.evaluate(SieveFactory.java:145)
>         at RuleManager.applyRules(RuleManager.java:87)
> ...
> which should have been caused by the lack of it. I am yet to verify this theory, however.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message