Skip to content

Commit 339b40f

Browse files
committed
docs: added warning for installing deprecated conditional component
Signed-off-by: SimoneFiorani <simone.fiorani@abinsula.com>
1 parent d890106 commit 339b40f

1 file changed

Lines changed: 31 additions & 1 deletion

File tree

docs/kura-wires/script-components/introduction.md

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,34 @@ The following components instead have the [GraalVM&trade; JavaScript Engine](htt
1616
- [GraalVM&trade; Filter Component](graalvm-filter-component.md)
1717
- [GraalVM&trade; Conditional Component](graalvm-conditional-component.md)
1818

19-
The input scripts for these components are not compatible with the Nashorn implementations *Script Filter* and *Conditional Component*. Both components are shipped as a single DP named *org.eclipse.kura.wire.script.tools*. Since the JS engine dependency is shipped along with the DP, these components will work on both Java 8 and Java 17 devices but the DP is bigger in size (~18,6 MB).
19+
The input scripts for these components are not compatible with the Nashorn implementations *Script Filter* and *Conditional Component*. Both components are shipped as a single DP named *org.eclipse.kura.wire.script.tools*. Since the JS engine dependency is shipped along with the DP, these components will work on both Java 8 and Java 17 devices but the DP is bigger in size (~18,6 MB).
20+
21+
!!! warning
22+
Installing the deprecated components on a Java 17 based instance of Kura will cause the following error in the logs:
23+
24+
```
25+
!SESSION 2026-02-12 11:07:47.324 -----------------------------------------------
26+
eclipse.buildId=unknown
27+
java.version=17.0.12
28+
java.vendor=Azul Systems, Inc.
29+
BootLoader constants: OS=linux, ARCH=aarch64, WS=gtk, NL=en_US
30+
Command-line arguments: -console 5002 -consoleLog
31+
!ENTRY org.eclipse.kura.wire.component.conditional.provider 4 0 2026-02-12 11:08:16.340
32+
!MESSAGE FrameworkEvent ERROR
33+
!STACK 0
34+
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.kura.wire.component.conditional.provider [117]
35+
Unresolved requirement: Require-Capability: osgi.ee; filter:="(& (&(osgi.ee=JavaSE)(version=1.8)) (!(&(osgi.ee=JavaSE)(version>=15))) )"
36+
at org.eclipse.osgi.container.Module.start(Module.java:463)
37+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1845)
38+
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
39+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1838)
40+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1781)
41+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1743)
42+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1665)
43+
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
44+
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
45+
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)
46+
47+
```
48+
49+
This is expected, and doesn't compromise the stability of the Kura instance, but it is recommended to avoid installing the deprecated components on Java 17 based instances of Kura.

0 commit comments

Comments
 (0)