ArrayIndexOutOfBoundsException for SVM

Hi,

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(SvmAlgorithm.java:552)
at org.knime.base.node.mine.svm.learner.SvmAlgorithm.run(SvmAlgorithm.java:640)
at org.knime.base.node.mine.svm.util.BinarySvmRunnable.run(BinarySvmRunnable.java:92)
at org.knime.core.util.ThreadUtils$RunnableWithContextImpl.runWithContext(ThreadUtils.java:334)
at org.knime.core.util.ThreadUtils$RunnableWithContext.run(ThreadUtils.java:210)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.knime.core.util.ThreadPool$MyFuture.run(ThreadPool.java:123)
at org.knime.core.util.ThreadPool$Worker.run(ThreadPool.java:246)

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:

Br,
Ivan

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