Ref App 2.9.0-SNAPSHOT ships with App UI 1.9.0 (see here), so I guess you did not add that one.
However I can see in your stack trace that the exception is thrown somewhere in the OpenHMIS Cashier module:
It would also be useful to know which exact version of that module is involved.
I think you would need to roll back a little here, start off a fresh Ref App 2.9.0-SNAPSHOT, add the actual “foreign” modules one by one and see which combination does produce the error upon logging out.
Alternatively you could debug
CashierLogoutFilter right away to see if you can find out anything obvious (here I guess). But I’d say first try to identify what exact module or combination of modules does break the logout when added to Ref App 2.9.0-SNAPSHOT. In the unfortunate scenario of a faulty combination of modules then it could be that both LBAC and Cashier are part of it.
Does that make sense?
Cc’ing @insiderish from Banda Health