apexlib.field.addField("P4_REGION_ID", [...] apexlib.field.ddField("P4_COUNTRY_ID", [...]
In the above example, the “a” of addField was missing, but in the previous statement it was there. So no programming error.
After some investigation I found the thread strange things happening: broken html in output on the OTN Forum.
Arie gave me a good tip and as soon as the patch was installed, everything worked as expected.
I write this blog posting, because yesterday I read that another user on the OTN forum had the same problem and I suspect that most users ignore the post installation steps of the APEX installation. So that’s a good chance to verify if you have installed the “PL/SQL Web Tookit Patch”. That can save you a lot of time looking for an error which isn’t really one.