Hi
Running Knime 5.3.1
I am trying to run a workflow using the String to Document node. The error is " Execute failed: Cannot invoke “java.net.URL.getPath()” because “fileUrl” is null"
I am using the table creator as the input so there are no paths as far as I am aware.
The log error is:
2024-08-23 15:29:12,182 : ERROR : KNIME-Worker-16-Strings to Document 3:2 : : Node : Strings to Document : 3:2 : Execute failed: Cannot invoke “java.net.URL.getPath()” because “fileUrl” is null
java.lang.NullPointerException: Cannot invoke “java.net.URL.getPath()” because “fileUrl” is null
at org.knime.ext.textprocessing.TextprocessingCorePlugin.resolvePath(TextprocessingCorePlugin.java:122)
at org.knime.ext.textprocessing.util.OpenNlpModelPaths.getEnTokenizerModelFile(OpenNlpModelPaths.java:118)
at org.knime.ext.textprocessing.nodes.tokenization.tokenizer.word.OpenNlpEnglishWordTokenizer.(OpenNlpEnglishWordTokenizer.java:81)
at org.knime.ext.textprocessing.nodes.tokenization.tokenizer.word.OpenNlpEnglishWordTokenizerFactory.getTokenizer(OpenNlpEnglishWordTokenizerFactory.java:73)
at org.knime.ext.textprocessing.nodes.tokenization.TokenizerPool.(TokenizerPool.java:97)
at org.knime.ext.textprocessing.nodes.tokenization.DefaultTokenization.createTokenizerPool(DefaultTokenization.java:73)
at org.knime.ext.textprocessing.nodes.tokenization.DefaultTokenization.lambda$1(DefaultTokenization.java:92)
at java.base/java.util.HashMap.computeIfAbsent(Unknown Source)
at org.knime.ext.textprocessing.nodes.tokenization.DefaultTokenization.getWordTokenizer(DefaultTokenization.java:92)
at org.knime.ext.textprocessing.data.DocumentBuilder.(DocumentBuilder.java:135)
at org.knime.ext.textprocessing.nodes.transformation.stringstodocument.StringsToDocumentCellFactory2.getCells(StringsToDocumentCellFactory2.java:163)
at org.knime.core.data.container.CellFactory.getCells(CellFactory.java:98)
at org.knime.core.data.container.RearrangeColumnsTable.calcNewCellsForRow(RearrangeColumnsTable.java:565)
at org.knime.core.data.container.RearrangeColumnsTable$ConcurrentNewColCalculator.compute(RearrangeColumnsTable.java:784)
at org.knime.core.data.container.RearrangeColumnsTable$ConcurrentNewColCalculator.compute(RearrangeColumnsTable.java:1)
at org.knime.core.util.MultiThreadWorker$ComputationTask$1.call(MultiThreadWorker.java:442)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:367)
at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:221)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)
Any thoughts please ? Thanks