Create new KNIME Extension with JAVA

Hello Everyone,

I am currently in the process of developing a new KNIME Extension using Java, and I’ve encountered some errors. Below are the details of the issues:

!SESSION 2024-02-12 11:14:07.075 -----------------------------------------------

eclipse.buildId=unknown

java.version=17.0.9

java.vendor=Eclipse Adoptium

BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_IN

Framework arguments: -product org.knime.product.KNIME_PRODUCT

Command-line arguments: -product org.knime.product.KNIME_PRODUCT -data C:\Users\TQ-11\Documents\workspace-spring-tool-suite-4-4.21.0.RELEASE/…/runtime-KNIME -dev file:C:/Users/TQ-11/Documents/workspace-spring-tool-suite-4-4.21.0.RELEASE/.metadata/.plugins/org.eclipse.pde.core/KNIME Analytics Platform/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog

!ENTRY org.eclipse.equinox.app 0 0 2024-02-12 11:14:08.367

!MESSAGE Product org.knime.product.KNIME_PRODUCT could not be found.

!ENTRY org.eclipse.emf.ecore 2 0 2024-02-12 11:14:08.460

!MESSAGE Both ‘org.eclipse.jst.j2ee.core’ and ‘org.eclipse.jst.j2ee.core’ register a package for ‘application.xmi’

SLF4J: No SLF4J providers were found.

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See SLF4J Error Codes for further details.

!ENTRY org.knime.examples.numberformatter1 4 0 2024-02-12 11:14:08.921

!MESSAGE FrameworkEvent ERROR

!STACK 0

org.osgi.framework.BundleException: Could not resolve module: org.knime.examples.numberformatter1 [574]

Unresolved requirement: Require-Bundle: org.knime.workbench.core

at org.eclipse.osgi.container.Module.start(Module.java:463)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1852)

at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1845)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1786)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1750)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1672)

at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)

at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)

at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

!ENTRY org.knime.examples.numberformatter1 2 0 2024-02-12 11:14:09.001

!MESSAGE Could not resolve module: org.knime.examples.numberformatter1 [574]

Unresolved requirement: Require-Bundle: org.knime.workbench.core

!ENTRY org.eclipse.osgi 4 0 2024-02-12 11:14:09.002

!MESSAGE Application error

!STACK 1

java.lang.RuntimeException: No application id has been found.

at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:256)

at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:34)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)

at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)

at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)

at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.base/java.lang.reflect.Method.invoke(Method.java:568)

at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)

at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)

at org.eclipse.equinox.launcher.Main.run(Main.java:1459)

at org.eclipse.equinox.launcher.Main.main(Main.java:1432)

An error has occurred. See the log file

C:\Users\TQ-11\Documents\runtime-KNIME.metadata.log.

Hi @tqAkshay95

Please double check your target platform configuration. Is the KNIME Analytics Platform one active?

Best,
Gabriel

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.