Actions
Bug #25168
closedThe webapp does not build on jdk22
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
[INFO] [stdout] [info] Getting the scripting engine should [WARNING] [stderr] java.lang.InternalError: java.lang.reflect.InvocationTargetException [WARNING] [stderr] at org.graalvm.polyglot.Engine$ClassPathIsolation.createIsolatedTruffle(Engine.java:1756) [WARNING] [stderr] at org.graalvm.polyglot.Engine$1.searchServiceLoader(Engine.java:1682) [WARNING] [stderr] at org.graalvm.polyglot.Engine$1.run(Engine.java:1668) [WARNING] [stderr] at org.graalvm.polyglot.Engine$1.run(Engine.java:1663) [WARNING] [stderr] at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) [WARNING] [stderr] at org.graalvm.polyglot.Engine.initEngineImpl(Engine.java:1663) [WARNING] [stderr] at org.graalvm.polyglot.Engine$ImplHolder.<clinit>(Engine.java:186) [WARNING] [stderr] at org.graalvm.polyglot.Engine.getImpl(Engine.java:438) [WARNING] [stderr] at org.graalvm.polyglot.Engine$Builder.build(Engine.java:736) [WARNING] [stderr] at org.graalvm.polyglot.Engine.create(Engine.java:334) [WARNING] [stderr] at com.normation.rudder.services.policies.JsEngine$SandboxedJsEngine$.$anonfun$getJsEngine$1(JavascriptEngine.scala:569) [WARNING] [stderr] at zio.ZIOCompanionVersionSpecific.$anonfun$attempt$1(ZIOCompanionVersionSpecific.scala:100) [WARNING] [stderr] at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:904) [WARNING] [stderr] at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:890) [WARNING] [stderr] at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:967) [WARNING] [stderr] at zio.internal.FiberRuntime.runLoop(FiberRuntime.scala:967) [WARNING] [stderr] at zio.internal.FiberRuntime.evaluateEffect(FiberRuntime.scala:381) [WARNING] [stderr] at zio.internal.FiberRuntime.start(FiberRuntime.scala:1339) [WARNING] [stderr] at zio.Runtime$UnsafeAPIV1.runOrFork(Runtime.scala:160) [WARNING] [stderr] at zio.Runtime$UnsafeAPIV1.run(Runtime.scala:132) [WARNING] [stderr] at com.normation.zio$ZioRuntime$.$anonfun$unsafeRun$1(ZioCommons.scala:445) [WARNING] [stderr] at zio.Unsafe$.unsafe(Unsafe.scala:37) [WARNING] [stderr] at com.normation.zio$ZioRuntime$.unsafeRun(ZioCommons.scala:445) [WARNING] [stderr] at com.normation.zio$ZioRuntime$.runNow(ZioCommons.scala:428) [WARNING] [stderr] at com.normation.zio$UnsafeRun.runNow(ZioCommons.scala:454) [WARNING] [stderr] at com.normation.rudder.services.policies.TestJsEngine.$anonfun$new$2(TestJsEngine.scala:123) [WARNING] [stderr] at org.specs2.matcher.MatchResult$$anon$12.$anonfun$asResult$1(MatchResult.scala:354) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute(ResultExecution.scala:23) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute$(ResultExecution.scala:22) [WARNING] [stderr] at org.specs2.execute.ResultExecution$.execute(ResultExecution.scala:124) [WARNING] [stderr] at org.specs2.execute.Result$$anon$4.asResult(Result.scala:247) [WARNING] [stderr] at org.specs2.execute.AsResult$.apply(AsResult.scala:32) [WARNING] [stderr] at org.specs2.matcher.MatchResult$$anon$12.asResult(MatchResult.scala:354) [WARNING] [stderr] at org.specs2.execute.AsResult$.apply(AsResult.scala:32) [WARNING] [stderr] at org.specs2.specification.core.AsExecution$$anon$1.$anonfun$execute$1(AsExecution.scala:17) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute(ResultExecution.scala:23) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute$(ResultExecution.scala:22) [WARNING] [stderr] at org.specs2.execute.ResultExecution$.execute(ResultExecution.scala:124) [WARNING] [stderr] at org.specs2.execute.Result$$anon$4.asResult(Result.scala:247) [WARNING] [stderr] at org.specs2.execute.AsResult$.apply(AsResult.scala:32) [WARNING] [stderr] at org.specs2.execute.AsResult$.$anonfun$safely$1(AsResult.scala:40) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute(ResultExecution.scala:23) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute$(ResultExecution.scala:22) [WARNING] [stderr] at org.specs2.execute.ResultExecution$.execute(ResultExecution.scala:124) [WARNING] [stderr] at org.specs2.execute.AsResult$.safely(AsResult.scala:40) [WARNING] [stderr] at org.specs2.specification.core.Execution$.$anonfun$result$1(Execution.scala:357) [WARNING] [stderr] at org.specs2.specification.core.Execution$.$anonfun$withEnvSync$3(Execution.scala:375) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute(ResultExecution.scala:23) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute$(ResultExecution.scala:22) [WARNING] [stderr] at org.specs2.execute.ResultExecution$.execute(ResultExecution.scala:124) [WARNING] [stderr] at org.specs2.execute.Result$$anon$4.asResult(Result.scala:247) [WARNING] [stderr] at org.specs2.execute.AsResult$.apply(AsResult.scala:32) [WARNING] [stderr] at org.specs2.execute.AsResult$.$anonfun$safely$1(AsResult.scala:40) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute(ResultExecution.scala:23) [WARNING] [stderr] at org.specs2.execute.ResultExecution.execute$(ResultExecution.scala:22) [WARNING] [stderr] at org.specs2.execute.ResultExecution$.execute(ResultExecution.scala:124) [WARNING] [stderr] at org.specs2.execute.AsResult$.safely(AsResult.scala:40) [WARNING] [stderr] at org.specs2.specification.core.Execution$.$anonfun$withEnvSync$2(Execution.scala:375) [WARNING] [stderr] at org.specs2.specification.core.Execution.$anonfun$startExecution$3(Execution.scala:143) [WARNING] [stderr] at scala.concurrent.impl.Promise$Transformation.run(Promise.scala:470) [WARNING] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144) [WARNING] [stderr] at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642) [WARNING] [stderr] at java.base/java.lang.Thread.run(Thread.java:1570) [WARNING] [stderr] Caused by: java.lang.reflect.InvocationTargetException [WARNING] [stderr] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118) [WARNING] [stderr] at java.base/java.lang.reflect.Method.invoke(Method.java:580) [WARNING] [stderr] at org.graalvm.polyglot.Engine$ClassPathIsolation.createIsolatedTruffle(Engine.java:1753) [WARNING] [stderr] ... 62 more [WARNING] [stderr] Caused by: java.lang.NoSuchMethodError: 'void sun.misc.Unsafe.ensureClassInitialized(java.lang.Class)' [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.ensureLibraryInitialized(LibraryFactory.java:385) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.getUncached(LibraryFactory.java:365) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.<init>(LibraryFactory.java:211) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen.<init>(InteropLibraryGen.java:178) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibraryGen.<clinit>(InteropLibraryGen.java:169) [WARNING] [stderr] at java.base/java.lang.Class.forName0(Native Method) [WARNING] [stderr] at java.base/java.lang.Class.forName(Class.java:529) [WARNING] [stderr] at java.base/java.lang.Class.forName(Class.java:508) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.loadGeneratedClass(LibraryFactory.java:799) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.resolveImpl(LibraryFactory.java:748) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.library.LibraryFactory.resolve(LibraryFactory.java:741) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.api.interop.InteropLibrary.<clinit>(InteropLibrary.java:2941) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotValueDispatch.<clinit>(PolyglotValueDispatch.java:167) [WARNING] [stderr] at org.graalvm.truffle/com.oracle.truffle.polyglot.PolyglotImpl.initialize(PolyglotImpl.java:180) [WARNING] [stderr] at org.graalvm.polyglot/org.graalvm.polyglot.Engine.loadAndValidateProviders(Engine.java:1654) [WARNING] [stderr] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) [WARNING] [stderr] ... 64 more
Updated by Alexis Mousset 5 months ago
- Status changed from New to In progress
- Assignee set to Alexis Mousset
Updated by Alexis Mousset 5 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Alexis Mousset to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/5776
Updated by Alexis Mousset 5 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|42f08f80636c3a0cc50141e3aedb4fe26ff5e30b.
Updated by Alexis Mousset 5 months ago
Applied in changeset rudder|c669ed8ba145e8db7542d2f15cfc146b7affd534.
Updated by Vincent MEMBRÉ 5 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 8.1.6 which was released today.
Actions