Closed chinazhaoht closed 1 day ago
@tangyang9464 @imp2002
@chinazhaoht for most cases, this is your own usage issue. Use the online editor to test it first: https://editor.casbin.org/
Or prove it's a Casbin bug (which code line causes which bug because of which reason)
When addPolicy is used, the following exception occurs when the enforce method is called:
java.lang.ArrayIndexOutOfBoundsException: 10117 at org.casbin.jcasbin.main.CoreEnforcer.enforce(CoreEnforcer.java:638) ~[jcasbin-1.55.0.jar:?]
These two are not atomic.