j-easy / easy-rules

The simple, stupid rules engine for Java
https://github.com/j-easy/easy-rules/wiki
MIT License
4.83k stars 1.04k forks source link

java.util.ConcurrentModificationException: null #384

Open zpshowhan opened 2 years ago

zpshowhan commented 2 years ago

hi

I encountered thread safety issues in my use

java.util.ConcurrentModificationException: null at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1211) ~[?:1.8.0_291] at java.util.TreeMap$KeyIterator.next(TreeMap.java:1265) ~[?:1.8.0_291] at org.jeasy.rules.core.RuleProxy.appendActionMethodsNames(RuleProxy.java:353) ~[easy-rules-core-4.1.0.jar:?] at org.jeasy.rules.core.RuleProxy.getRuleDescription(RuleProxy.java:334) ~[easy-rules-core-4.1.0.jar:?] at org.jeasy.rules.core.RuleProxy.invoke(RuleProxy.java:101) ~[easy-rules-core-4.1.0.jar:?] at com.sun.proxy.$Proxy156.getDescription(Unknown Source) ~[?:?] at org.jeasy.rules.core.DefaultRulesEngine.log(DefaultRulesEngine.java:146) ~[easy-rules-core-4.1.0.jar:?] at org.jeasy.rules.core.DefaultRulesEngine.doFire(DefaultRulesEngine.java:80) ~[easy-rules-core-4.1.0.jar:?] at org.jeasy.rules.core.DefaultRulesEngine.fire(DefaultRulesEngine.java:70) ~[easy-rules-core-4.1.0.jar:?]