Frans:
This looks to be very much the same problem that was reported recently in this forum:
Deployment problem in BM 5.16.0
Apparently, there will very soon be a new release of the Business Modeler (newer that 5.16.0) that should address this if it is, in fact, the same problem that was reported earlier.
Good luck,
John
Update 2: Mendix 5.16.1 has been released and it fixes this bug.
Update 1: found and fixed this bug and the fix will be part of 5.16.1 which will appear very soon, I hope.
This is another error than the one reported in the other forum post (Crash when creating deployment package). The other one I already fixed and will appear in a patch update.
I have not seen this error before. The Modeler is trying to generate a proxy for a microflow and that microflow seems to point to a non-existing enumeration... Does that mean anything to you, Frans? Did you change something after converting to 5.16?
Can you submit a ticket with a test project? If you do it quickly, we might be able to sneak it into the next patch.