ERROR PMML Predictor Execute failed: column index (*)

Hi everyone,
I’m facing a strange error when I’m using the PMML predictor.
I have 3 datasets that are working correctly in individual and in pairs but when I add 3 of them together with concatenate node the PMML Predictor shows an error which I am not aware of what is it.


image



image

Thanks in advance
sajjad

Hi sajjad,
Oh, that looks like a bug. Can you open the KNIME log file by clicking on View → Open KNIME Log in the menu and then in that log file, search for the error message you are seeing in the console? You should see a chunk of messages with indented lines that start with “at”. Can you post that part here?
Kind regards,
Alexander

Hi @AlexanderFillbrunn

Thanks for the reply and sorry for delay.

here is the log text for that part:

2021-09-02 18:10:38,196 : ERROR : KNIME-Worker-44-PMML Predictor 0:1746 : : Node : PMML Predictor : 0:1746 : Execute failed: column index (9)
org.apache.commons.math3.exception.OutOfRangeException: column index (9)
at org.apache.commons.math3.linear.MatrixUtils.checkColumnIndex(MatrixUtils.java:484)
at org.apache.commons.math3.linear.MatrixUtils.checkMatrixIndex(MatrixUtils.java:455)
at org.apache.commons.math3.linear.Array2DRowRealMatrix.setEntry(Array2DRowRealMatrix.java:313)
at org.knime.base.node.mine.regression.predict2.LogRegPredictor.getCells(LogRegPredictor.java:288)
at org.knime.core.data.container.RearrangeColumnsTable.calcNewCellsForRow(RearrangeColumnsTable.java:568)
at org.knime.core.data.container.RearrangeColumnsTable.calcNewColsSynchronously(RearrangeColumnsTable.java:488)
at org.knime.core.data.container.RearrangeColumnsTable.create(RearrangeColumnsTable.java:405)
at org.knime.core.node.ExecutionContext.createColumnRearrangeTable(ExecutionContext.java:430)
at org.knime.base.node.mine.regression.predict2.RegressionPredictorNodeModel.execute(RegressionPredictorNodeModel.java:172)
at org.knime.ensembles.pmml.predictor2.PMMLEnsemblePredictor2NodeModel.calculateAllPredictions(PMMLEnsemblePredictor2NodeModel.java:310)
at org.knime.ensembles.pmml.predictor2.PMMLEnsemblePredictor2NodeModel.execute(PMMLEnsemblePredictor2NodeModel.java:236)
at org.knime.ensembles.pmmlpredict3.PMMLPredictorNodeModel3.execute(PMMLPredictorNodeModel3.java:202)
at org.knime.core.node.NodeModel.executeModel(NodeModel.java:576)
at org.knime.core.node.Node.invokeFullyNodeModelExecute(Node.java:1245)
at org.knime.core.node.Node.execute(Node.java:1025)
at org.knime.core.node.workflow.NativeNodeContainer.performExecuteNode(NativeNodeContainer.java:558)
at org.knime.core.node.exec.LocalNodeExecutionJob.mainExecute(LocalNodeExecutionJob.java:95)
at org.knime.core.node.workflow.NodeExecutionJob.internalRun(NodeExecutionJob.java:201)
at org.knime.core.node.workflow.NodeExecutionJob.run(NodeExecutionJob.java:117)
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)

Hi,
Which version of KNIME are you using? The class where the error occurs seems to be superseded by a new version in our latest code base.
Kind regards,
Alexander

Hi,
I am using KNIME 4.3.3
Thanks,
Sajjad

Hi Sajjad,
Could you try your workflow in 4.4.1? If not, would it be ok for you to share the workflow with me, so I can try it myself?
Kind regards,
Alexander

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