KNIME console error message: ERROR KNIPLogService

Hi All, I am using KNIME v4.6.0.v202206091215. I am getting the following error message in the console and do not know how to solve this issue. Has anyone come across the same issue? Thanks


ERROR KNIPLogService [ERROR] Cannot create plugin: class=‘org.scijava.plugins.scripting.javascript.JavaScriptScriptLanguage’, name=‘JavaScript’, priority=0.0, enabled=true, pluginType=ScriptLanguage
java.lang.IllegalArgumentException: No such script engine: javascript
at org.scijava.script.AdaptedScriptLanguage.findFactory(AdaptedScriptLanguage.java:152)
at org.scijava.script.AdaptedScriptLanguage.(AdaptedScriptLanguage.java:74)
at org.scijava.plugins.scripting.javascript.JavaScriptScriptLanguage.(JavaScriptScriptLanguage.java:59)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.ReflectAccess.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.ReflectionFactory.newInstance(Unknown Source)
at java.base/java.lang.Class.newInstance(Unknown Source)
at org.scijava.plugin.PluginInfo.createInstance(PluginInfo.java:306)
at org.scijava.plugin.DefaultPluginService.createInstance(DefaultPluginService.java:237)
at org.scijava.plugin.DefaultPluginService.createInstances(DefaultPluginService.java:226)
at org.scijava.plugin.DefaultPluginService.createInstancesOfType(DefaultPluginService.java:217)
at org.scijava.plugin.AbstractSingletonService.initInstances(AbstractSingletonService.java:138)
at org.scijava.plugin.AbstractSingletonService.getInstances(AbstractSingletonService.java:77)
at org.scijava.plugin.SingletonService.lambda$initialize$0(SingletonService.java:97)
at org.scijava.object.ObjectIndex.resolvePending(ObjectIndex.java:388)
at org.scijava.object.ObjectIndex.get(ObjectIndex.java:133)
at org.scijava.object.DefaultObjectService.getObjects(DefaultObjectService.java:87)
at org.knime.knip.imagej2.core.IJGateway.isMultipleChoiceObject(IJGateway.java:352)
at org.knime.knip.imagej2.core.IJGateway.isSupportedInputType(IJGateway.java:340)
at org.knime.knip.imagej2.core.IJGateway.findSupportedModules(IJGateway.java:243)
at org.knime.knip.imagej2.core.IJGateway.(IJGateway.java:157)
at org.knime.knip.imagej2.core.IJGateway.getInstance(IJGateway.java:134)
at org.knime.knip.imagej2.core.IJGateway.getImageJVersion(IJGateway.java:169)
at org.knime.knip.imagej2.core.node.IJNodeSetFactory.(IJNodeSetFactory.java:99)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:204)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:920)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at org.knime.core.node.extension.NodeSetFactoryExtension.from(NodeSetFactoryExtension.java:265)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(Unknown Source)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(Unknown Source)
at java.base/java.util.stream.AbstractTask.compute(Unknown Source)
at java.base/java.util.concurrent.CountedCompleter.exec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)


Hey @paramasi,

I had the same problem. but it is not affecting my work at all. Any idea what processes are affected by this?

Regards,

AG

Hi @VAGR_ISK ,
Thanks for the reply. In my case, this error is affecting my workflow. The R plot either doesn’t work with the following error message or it doesn’t respond at all with no error messages. Seems also related to java. I do not know what causes this and what other processes are affected by this other than the R plot.

Error message:

ERROR R Plot 4:54 Execute failed: Unable to make field private java.lang.String java.text.AttributedCharacterIterator$Attribute.name accessible: module java.base does not “opens java.text” to unnamed module @5a005e8b

Hi @paramasi ,

I figured out exactly where the problem occurs. If you install the integration ImageJ1 and 2 that contains the nodes from the university of Konstance the problem starts. So far, it only affects those nodes and is not a problem with Java, at least not in my case. I have the feeling that they are now working on perfecting the nodes because those are in the beta version. Perhaps we should be a bit patient and let them perfect them. It actually will be amazing if we can have these ImageJ integrations up and running.
Andreas G & Daniel are responsible for developing KNIP, which is the integration with the problem. Unfortunately, I don’t know their KNIME Alias to contact them. However, @stelfrich (link) showed some demonstration that is actually working now. I tested it.

Here is a webpage speaking about it:

If you really want to get rid of the problem popping up in your Console you can try to deinstall that integration, it should go away. What I did was, I deinstalled KNIME made sure that KNIP was not anywhere else on my computer and reinstalled KNIME without ImageJ integrations. I had to spend a bit of time reinstalling what I want but after that it was ok.

Best luck,

AG

1 Like

Hi @VAGR_ISK, Thanks a lot for following up with a solution. Indeed reinstalling KNIME without imageJ and a few other extensions got rid of the error message. I still had trouble with the R plot node but it looks new update is the cause of the problem. The R plot is not compatible with KNIME 4.6. Thanks again for your support, I really appreciate it.

Best,
P