Maciej Grzenda created SAMOA-71:
-----------------------------------
Summary: HorizontalAMRulesRegressor fails with
ConcurrentModificationException
Key: SAMOA-71
URL: https://issues.apache.org/jira/browse/SAMOA-71
Project: SAMOA
Issue Type: Bug
Components: SAMOA-API
Reporter: Maciej Grzenda
Priority: Minor
When Horizontal Adaptive Model Rules Regressor is used, AMRRuleSetProcessor
that is used in turn occasionally fails with ConcurrentModificationException:
Exception in thread "main" java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
at java.util.LinkedList$ListItr.next(Unknown Source)
at org.apache.samoa.learners.classifiers.rules.distributed.AMRRuleSetPro
cessor.processInstanceEvent(AMRRuleSetProcessor.java:130)
The reason seems to be ruleSet is not thread-safe, but this can be possibly
changed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)