Best answer by Jop ter Horst
Did you sync the model to the Intelligent Application Manager?
I tried a number of things, and it works now.
I did delete a couple of map layers, it could be that they were the problem, but it also could be that a synchronisation to the IAM was necessary.
You could try adding the layer and corresponding library configurations one by one, you can test the application after each layer and see where the problem is.
Further, for testing while developing it is more practical to open the application against the Software Factory database instead of the Intelligent Application Manager database, so you can simply refresh the model and see the changes you've made. Did you know this already?