ArrayIndexOutOfBoundsException for SVM


This is my first time using KNIME for my projects, and I was trying out SVM. It was fine until i got an error, it says: ERROR SVM Learner 0:9 Execute failed: (“ArrayIndexOutOfBoundsException”): -1. At first, I thought it might be my data, but when i tried it on Decision tree (instead of SVM), it works just fine. Any idea what’s happening here? I’m using KNIME 4.2.2 on Windows 10 (x64)

Below is the error from the .log file:
ERROR : KNIME-Worker-2-SVM Learner 0:9 : : Node : SVM Learner : 0:9 : Execute failed: (“ArrayIndexOutOfBoundsException”): -1
java.lang.ArrayIndexOutOfBoundsException: -1
at org.knime.base.node.mine.svm.learner.SvmAlgorithm.mainAlgorithm(
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(
at org.knime.core.util.ThreadUtils$
at java.util.concurrent.Executors$
at org.knime.core.util.ThreadPool$
at org.knime.core.util.ThreadPool$

Is there python involved? Normally such an issue can occur if we want to reference something outside the array we use as input

Hello @Nop,

welcome to KNIME Community!

Is there a chance you can share your workflow? That would be really helpful in diagnosing what is happening here. See here on how to create reproducible workflow example:


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