If you have a Java module with a method that takes a boolean and you call that method from Luan with a nil value, the Java method should be called with "false", not nil. So boolean parameters in Java methods should receive the value converted to boolean instead of throwing an exception.
luan.LuanException: bad argument #6 (boolean expected, got nil)