Closed stephaneberle9 closed 10 years ago
Temporary work-around: Go to settings -> generator and deselect "apply in place transforamtions
Unfortunately, this doesn't change anything at my end...
please pull and rebuild. just checked again. for me it works
Still fails during code generation when I try it.
The workaround has started to work for me as well :)
Without above mentioned workaround, the generation fails with the following output:
couldn't get node by id: '1539255704408506110' in model r:769ad9a0-f26a-4d17-9cc6-f3ae937bc774(com.mbeddr.ext.components.gen_nomw.generator.template.main@generator) while loading priority rules for generator: com.mbeddr.ext.compositecomponents/flatteningCompComps failed to generate output after 10 repeated mappings to get more diagnostic generate model with the 'save transient models' option Generation failed for model 'com.itemis.embedded.platform.msp430.tests.unit': failed to generate output after 10 repeated mappings. generation completed with errors in 1092 ms Exception executing target jetbrains.mps.lang.core.Generate.generate "generate" target execution time: 1093 ms Other targets execution time: 6 ms; configure: 6 ms, preloadModels: 0 ms, checkParameters: 0 ms, addLanguages: 0 ms, collectPathes: 0 ms, resetCache: 0 ms Rebuild failed. See previous messages for details.
So this seems to be a problem in MPS? Did we report that?
Interestingly, the after having updated and rebuilt mbeddr today, the code generation on the com.itemis.embedded.platform.msp430.tests.unit models has completed successfully.
We will have to observe if the code generation continues to work in future or will fail again. But so far we can safely close this issue.
failed to generate output after 10 repeated mappings last rules applied: An exception was encountered: java.lang.NullPointerException (no message) (right-click to see) model "com.itemis.embedded.platform.msp430.tests.unit" generation failed (see exception) generation completed with errors in 538 ms Error executing target jetbrains.mps.lang.core.Generate.generate "generate" target execution time: 541 ms Other targets execution time: 7 ms; configure: 7 ms, preloadModels: 0 ms, checkParameters: 0 ms, addLanguages: 0 ms, collectPathes: 0 ms, resetCache: 0 ms Rebuild failed. See previous messages for details.