I'm not sure if this is a jOpenSim issue but asking just in case - I have found the although I can use the scripting functions to add or remove a user from the ban list or pass list (llAddToLandBanList etc) if I use the functions llResetLandBanList() and/or llResetLandPassList(), if there is at least one user on the list, I get an exception error thrown (it does remove the first person on the list but not others)
DEBUG MESSAGE IN WORLD:
[12:55] System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6649516e5b3542319fb262b421af0adb>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <6649516e5b3542319fb262b421af0adb>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0
OpenSim console:
20:55:05 - [SCRIPT INSTANCE]: Runtime error in script New Script (event touch_start), part Object d5bd398e-049c-40bc-9824-eaa52a73457d at <410.0626, 388.5648, 23.98439> in Sandy Island System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <6649516e5b3542319fb262b421af0adb>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <6649516e5b3542319fb262b421af0adb>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) <0x7f43c306bf40 + 0x00038> in <6649516e5b3542319fb262b421af0adb>:0
at OpenSim.Region.ScriptEngine.Shared.ScriptBase.Executor.ExecuteEvent (System.String state, System.String FunctionName, System.Object[] args) [0x0009b] in <e0b00b3a968c44d18aca9acc37aebae0>:0
at OpenSim.Region.ScriptEngine.Shared.ScriptBase.ScriptBaseClass.ExecuteEvent (System.String state, System.String FunctionName, System.Object[] args) [0x00000] in <e0b00b3a968c44d18aca9acc37aebae0>:0
at OpenSim.Region.ScriptEngine.Shared.Instance.ScriptInstance.EventProcessorInt () [0x00326] in <796e2a902d034aba971eb38f4fc50bdf>:0