[jboss-jira] [JBoss JIRA] (DROOLS-3385) Stateful session not thread safe for update operation

Radovan Synek (Jira) issues at jboss.org
Thu Nov 29 02:42:00 EST 2018


Radovan Synek created DROOLS-3385:
-------------------------------------

             Summary: Stateful session not thread safe for update operation
                 Key: DROOLS-3385
                 URL: https://issues.jboss.org/browse/DROOLS-3385
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 7.16.0.Final
            Reporter: Radovan Synek
            Assignee: Mario Fusco


We have a test failure in multithreaded solving in OptaPlanner (please see the linked issue for details).

java.util.ConcurrentModificationException: null
at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1134)
at org.drools.core.impl.KnowledgeBaseImpl.getOrCreateExactTypeDeclaration(KnowledgeBaseImpl.java:1458)
at org.drools.core.common.NamedEntryPoint.update(NamedEntryPoint.java:324)
at org.drools.core.impl.StatefulKnowledgeSessionImpl.update(StatefulKnowledgeSessionImpl.java:1570)
at org.optaplanner.core.impl.score.director.drools.DroolsScoreDirector.update(DroolsScoreDirector.java:254)



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list