IllegalArgumentException: No output location for XXX bei MPS 2020.3 upgrade

Technical Problem:

 Are you migrating your application based on the MPS framework from MPS 2020.2 to MPS 2020.3 and getting the IllegalArgumentException "No output location for XXX" at compile time, where XXX is the name of a part of a language or a generator of your MPS project?

(java.lang.IllegalArgumentException): No output location for xxx.language.actions
java.lang.IllegalArgumentException: No output location for xxx.language.actions
at jetbrains.mps.generator.impl.ModelStreamProviderImpl.getOutputDir(ModelStreamProviderImpl.java:44)

Troubleshooting:

 Open the module properties of the relevant MPS module and activate the "Java (recommended)" option in the "Facets" tab of the respective language or generator properties.

image

With this configuration change in the properties settings of the MPS module, correct Java code is now generated again.


JAVA JNI Error during MPS 2020.1 Migration