Always set up Java 11 #287
Annotations
10 errors
GenerateModelsTest.generate works with set MPS version and path:
src/test/kotlin/test/de/itemis/mps/gradle/GenerateModelsTest.kt#L168
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit5430094771215194901 with arguments [resolveMps, generate]
Output:
> Task :resolveMps
> Task :resolveMpsForGeneration UP-TO-DATE
> Task :fakeBuildNumber
Execution optimizations have been disabled for task ':fakeBuildNumber' to ensure correctness due to the following reasons:
- Gradle detected a problem with the following location: '/tmp/junit5430094771215194901/mps'. Reason: Task ':fakeBuildNumber' uses this output of task ':resolveMps' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to https://docs.gradle.org/7.6.2/userguide/validation_problems.html#implicit_dependency for more details about this problem.
> Task :generate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generate'.
> Failed to query the value of task ':generate' property 'javaLauncher'.
> No compatible toolchains found for request specification: {languageVersion=11, vendor=matching('JetBrains'), implementation=vendor-specific} (auto-detect true, auto-download true).
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6.2/userguide/command_line_interface.html#sec:command_line_warnings
Execution optimizations have been disabled for 1 invalid unit(s) of work during this build to ensure correctness.
Please consult deprecation warnings for more details.
BUILD FAILED in 1m 7s
3 actionable tasks: 3 executed
|
GenerateModelsTest.generate works with latest MPS in MPS environment:
src/test/kotlin/test/de/itemis/mps/gradle/GenerateModelsTest.kt#L72
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit16603473971266758959 with arguments [generate]
Output:
> Task :resolveMpsForGeneration
> Task :fakeBuildNumber
> Task :generate FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generate'.
> Failed to query the value of task ':generate' property 'javaLauncher'.
> No compatible toolchains found for request specification: {languageVersion=11, vendor=matching('JetBrains'), implementation=vendor-specific} (auto-detect true, auto-download true).
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 33s
3 actionable tasks: 3 executed
|
|
ModelCheckWithPluginTest.check model works with latest MPS:
src/test/kotlin/test/de/itemis/mps/gradle/ModelCheckWithPluginTest.kt#L75
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit5575663562370997423 with arguments [checkmodels]
Output:
> Task :resolveMpsForModelcheck
> Task :checkmodels FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkmodels'.
> Failed to query the value of task ':checkmodels' property 'javaLauncher'.
> No compatible toolchains found for request specification: {languageVersion=11, vendor=matching('JetBrains'), implementation=vendor-specific} (auto-detect true, auto-download true).
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 9s
2 actionable tasks: 2 executed
|
ModelCheckWithPluginTest.check model works with latest MPS and excluded models:
src/test/kotlin/test/de/itemis/mps/gradle/ModelCheckWithPluginTest.kt#L136
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit15610114219128320122 with arguments [checkmodels]
Output:
> Task :resolveMpsForModelcheck
> Task :checkmodels FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkmodels'.
> Failed to query the value of task ':checkmodels' property 'javaLauncher'.
> No compatible toolchains found for request specification: {languageVersion=11, vendor=matching('JetBrains'), implementation=vendor-specific} (auto-detect true, auto-download true).
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 10s
2 actionable tasks: 2 executed
|
RunMigrationsTest.check run migrations works with MPS 2020_3:
src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt#L77
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit5440478552260317567 with arguments [runMigrations]
Output:
> Task :resolveMpsForMigrations
[ant:migrate]
[ant:migrate] Start Failed
[ant:migrate] Internal error. Please refer to https://jb.gg/ide/critical-startup-errors
[ant:migrate]
[ant:migrate] java.lang.ExceptionInInitializerError
[ant:migrate] at com.intellij.idea.StartupUtil.startApp(StartupUtil.java:294)
[ant:migrate] at com.intellij.idea.StartupUtil.prepareApp(StartupUtil.java:242)
[ant:migrate] at com.intellij.ide.plugins.MainRunner.lambda$start$1(MainRunner.java:41)
[ant:migrate] at java.base/java.lang.Thread.run(Thread.java:833)
[ant:migrate] Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected void java.awt.EventQueue.dispatchEvent(java.awt.AWTEvent) accessible: module java.desktop does not "opens java.awt" to unnamed module @6f29c911
[ant:migrate] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
[ant:migrate] at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
[ant:migrate] at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
[ant:migrate] at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
[ant:migrate] at com.intellij.util.ReflectionUtil.makeAccessible(ReflectionUtil.java:253)
[ant:migrate] at com.intellij.util.ReflectionUtil.getDeclaredMethod(ReflectionUtil.java:270)
[ant:migrate] at com.intellij.util.ui.EdtInvocationManager.<clinit>(EdtInvocationManager.java:33)
[ant:migrate] ... 4 more
[ant:migrate]
[ant:migrate] -----
[ant:migrate] Your JRE: 17.0.8.1+1 amd64 (Eclipse Adoptium)
[ant:migrate] /usr/lib/jvm/temurin-17-jdk-amd64
> Task :runMigrations FAILED
Trying to override old definition of datatype module
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runMigrations'.
> Process exited with code 3.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 3s
2 actionable tasks: 2 executed
|
RunMigrationsTest.check run migrations works with MPS 2021_3 with force flag:
src/test/kotlin/test/de/itemis/mps/gradle/RunMigrationsTest.kt#L131
org.gradle.testkit.runner.UnexpectedBuildFailure: Unexpected build execution failure in /tmp/junit12968267078290262091 with arguments [runMigrations]
Output:
> Task :resolveMpsForMigrations
[ant:migrate] workFromMain
[ant:migrate] java.lang.IllegalAccessError: class com.intellij.idea.StartupUtil (in unnamed module @0x6f29c911) cannot access class sun.awt.AWTAutoShutdown (in module java.desktop) because module java.desktop does not export sun.awt to unnamed module @0x6f29c911
[ant:migrate] at com.intellij.idea.StartupUtil.start(StartupUtil.java:301)
[ant:migrate] at jetbrains.mps.tool.environment.MPSHeadlessPlatformStarter$Holder.createApp(MPSHeadlessPlatformStarter.java:50)
[ant:migrate] at jetbrains.mps.tool.environment.IdeaEnvironment.createIdeaApplication(IdeaEnvironment.java:180)
[ant:migrate] at jetbrains.mps.tool.environment.IdeaEnvironment.init(IdeaEnvironment.java:79)
[ant:migrate] at jetbrains.mps.build.migration.MigrationWorker.createEnvironment(MigrationWorker.java:42)
[ant:migrate] at jetbrains.mps.tool.builder.WorkerBase.workFromMain(WorkerBase.java:131)
[ant:migrate] at jetbrains.mps.build.migration.MigrationWorker.main(MigrationWorker.java:139)
[ant:migrate]
> Task :runMigrations FAILED
Trying to override old definition of datatype module
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':runMigrations'.
> Process exited with code 1.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 34s
2 actionable tasks: 2 executed
|
build (17)
Process completed with exit code 1.
|
build (11)
The job was canceled because "_17" failed.
|
build (11)
The operation was canceled.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
junit-xmls
Expired
|
65.3 KB |
|