Hi,
I have a stange error message and behaviour in KNIME 4.7 (just started working with that version).
What I do:
- download KNIME as self-extraction file
- extract
- run KNIME 4.7
- load workspace Building a Simple Classifier from the basic examples
- excute until Color model node
- sort Table for integer oder string column => fine
Now I install any new extension via Install New Software, here I did for Basic Chamistry under KNIME extensions, but I tested few other extensions, same behaviour, in other words, it does not matter what it installed:
- restart KNIME 4.7
- load workspace Building a Simple Classifier from the basic examples
- excute until Color model node
- sort Table for integer => fine
- sort for String => Error sorting table: ‘java.lang.Object org.knime.core.node.util.CheckUtils.checkStateType(java.lang.Object, java.lang.Class, java.lang.String)’
- very similar error message I get when using the Sorter Node on strings
- I have it on my work PC reproduced several times which is Win 7
- I have same problem in my private laptop which is Win 10 home
- I asked 2 colleagues to check that on windows and they could not reproduce it on their Windows. Strange!
I pasted the KNIME.log entry below… I could not see any sign related to the installed extension…
Any help on this is appreciated!
Thanks,
Martin
============================================
2023-02-10 11:04:48,693 : ERROR : AWT-EventQueue-0 : : TableSorterWorker : Color Manager : 3:2 : Error sorting table: ‘java.lang.Object org.knime.core.node.util.CheckUtils.checkStateType(java.lang.Object, java.lang.Class, java.lang.String)’
java.util.concurrent.ExecutionException: java.lang.NoSuchMethodError: ‘java.lang.Object org.knime.core.node.util.CheckUtils.checkStateType(java.lang.Object, java.lang.Class, java.lang.String)’
at java.base/java.util.concurrent.FutureTask.report(Unknown Source)
at java.base/java.util.concurrent.FutureTask.get(Unknown Source)
at java.desktop/javax.swing.SwingWorker.get(Unknown Source)
at org.knime.core.node.tableview.TableSorterWorker.doneWithContext(TableSorterWorker.java:229)
at org.knime.core.util.SwingWorkerWithContext.done(SwingWorkerWithContext.java:163)
at java.desktop/javax.swing.SwingWorker$5.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
at java.desktop/sun.swing.AccumulativeRunnable.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.desktop/java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.desktop/java.awt.Dialog.show(Unknown Source)
at java.desktop/java.awt.Component.show(Unknown Source)
at java.desktop/java.awt.Component.setVisible(Unknown Source)
at java.desktop/java.awt.Window.setVisible(Unknown Source)
at java.desktop/java.awt.Dialog.setVisible(Unknown Source)
at org.knime.core.node.tableview.TableSorterWorker$1.run(TableSorterWorker.java:145)
at org.knime.core.node.util.ViewUtils.invokeAndWaitInEDT(ViewUtils.java:136)
at org.knime.core.node.tableview.TableSorterWorker.executeAndShowProgress(TableSorterWorker.java:141)
at org.knime.core.node.tableview.TableContentModel.sortTableIntern(TableContentModel.java:626)
at org.knime.core.node.tableview.TableContentModel$1.run(TableContentModel.java:597)
at org.knime.core.node.util.ViewUtils.invokeAndWaitInEDT(ViewUtils.java:136)
at org.knime.core.node.tableview.TableContentModel.requestSort(TableContentModel.java:594)
at org.knime.core.node.tableview.TableContentView$1SortKeyActionListener.actionPerformed(TableContentView.java:815)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at java.desktop/javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source)
at java.desktop/javax.swing.AbstractButton.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)
at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.desktop/java.awt.Component.processEvent(Unknown Source)
at java.desktop/java.awt.Container.processEvent(Unknown Source)
at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.desktop/java.awt.EventQueue$5.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Unknown Source)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: ‘java.lang.Object org.knime.core.node.util.CheckUtils.checkStateType(java.lang.Object, java.lang.Class, java.lang.String)’
at org.knime.core.data.sort.RowComparator$ColumnComparatorBuilder.lambda$0(RowComparator.java:202)
at java.base/java.util.Comparator.lambda$comparing$ea9a8b3a$1(Unknown Source)
at org.knime.core.data.MissingDataCellComparator.compare(MissingDataCellComparator.java:86)
at org.knime.core.data.MissingDataCellComparator.compare(MissingDataCellComparator.java:1)
at org.knime.core.data.sort.RowComparator.comparePos(RowComparator.java:419)
at org.knime.core.data.sort.RowComparator.lambda$2(RowComparator.java:398)
at java.base/java.util.stream.ReferencePipeline$4$1.accept(Unknown Source)
at java.base/java.util.Spliterators$IteratorSpliterator.tryAdvance(Unknown Source)
at java.base/java.util.stream.ReferencePipeline.forEachWithCancel(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.copyIntoWithCancel(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.FindOps$FindOp.evaluateSequential(Unknown Source)
at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
at java.base/java.util.stream.IntPipeline.findFirst(Unknown Source)
at org.knime.core.data.sort.RowComparator.compare(RowComparator.java:402)
at org.knime.core.data.sort.RowComparator.compare(RowComparator.java:1)
at java.base/java.util.TimSort.countRunAndMakeAscending(Unknown Source)
at java.base/java.util.TimSort.sort(Unknown Source)
at java.base/java.util.Arrays.sort(Unknown Source)
at java.base/java.util.ArrayList.sort(Unknown Source)
at java.base/java.util.Collections.sort(Unknown Source)
at org.knime.core.data.sort.AbstractTableSorter.createInitialChunks(AbstractTableSorter.java:649)
at org.knime.core.data.sort.AbstractTableSorter.sortOnDisk(AbstractTableSorter.java:512)
at org.knime.core.data.sort.AbstractTableSorter.sortInternal(AbstractTableSorter.java:431)
at org.knime.core.data.sort.DataTableSorter.sort(DataTableSorter.java:217)
at org.knime.core.node.tableview.TableSorterWorker.doInBackgroundWithContext(TableSorterWorker.java:195)
at org.knime.core.node.tableview.TableSorterWorker.doInBackgroundWithContext(TableSorterWorker.java:1)
at org.knime.core.util.SwingWorkerWithContext.doInBackground(SwingWorkerWithContext.java:106)
at java.desktop/javax.swing.SwingWorker$1.call(Unknown Source)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.desktop/javax.swing.SwingWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)