[jboss-jira] [JBoss JIRA] (DROOLS-923) KieRepository is not thread safe
Mario Fusco (JIRA)
issues at jboss.org
Tue Nov 10 05:30:00 EST 2015
[ https://issues.jboss.org/browse/DROOLS-923?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mario Fusco resolved DROOLS-923.
--------------------------------
Release Notes Text:
The NullPointerException reported by Tibor is not caused by a concurrency issue, but by the LRU cache that we introduced to workaround this other problem https://bugzilla.redhat.com/show_bug.cgi?id=1273368
That cache by default has a max size of 100 items https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/KieRepositoryImpl.java#L257 and increasing this size makes the NPE to disappear.
Resolution: Done
> KieRepository is not thread safe
> --------------------------------
>
> Key: DROOLS-923
> URL: https://issues.jboss.org/browse/DROOLS-923
> Project: Drools
> Issue Type: Bug
> Reporter: Mario Fusco
> Assignee: Mario Fusco
>
> KieRepository is not thread safe so concurrently adding and removing KieModules could lead to a NPE.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list