You have an old version of the community commons. Download the latest Mx6 version and you will see that your error is gone, unless you made custom changes to the java action.
Regards,
Ronald
There's more than one thing wrong with the line:
return DTAPMode.valueOf(Core.getConfiguration(). isInDevelopment().toString()).toString();
What are you trying to achieve exactly? The runtime is not able to tell you anymore if it's a D,T,A or P instance. Depending on what you need to know, it's probably best to define your own constant that stores the type of environment.
Did anyone find an answer for this?
I too have updated my communitycommons and changed getDTAPMode() to IsInDevelopment().