If you run the application from the development environment, the following error occurs.

The error only occurs if you query an “Application Items” in the “Authentication Configuration Procedure”.


The problem is that no APP items are then set. e.g. not in the menu either. Not even after a refresh. But it does in the debugger in session state.
in Debugger set

in Menu unset

If you access the page again via the menu, everything is fine again.