Hi All, I am in the process of resurrecting a KNIME extension that I haven’t used in a while and am seeing some strange behavior. Maybe someone has a hint?
When my extension loads in KNIME it causes org.knime.jsnippets to fail to load because of an exception:
Caused by: java.lang.ExceptionInInitializerError
at org.knime.base.node.jsnippet.JavaSnippet.cacheCustomTypeClasspaths(JavaSnippet.java:1262)
at org.knime.base.node.jsnippet.JavaSnippetActivator.start(JavaSnippetActivator.java:68)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
This is somehow triggered by my code not implementing the correct interface:
Caused by: java.lang.ClassCastException: inflor.knime.data.type.cell.fcs.FCSFrameCellFactory cannot be cast to org.knime.core.data.DataCellFactory
at org.knime.core.data.DataTypeRegistry.availableDataTypes(DataTypeRegistry.java:187)
at org.knime.core.data.convert.java.DataCellToJavaConverterRegistry.parseAnnotations(DataCellToJavaConverterRegistry.java:484)
I guess from reading this that I need to adjust my CellFactory class? It is currently setup to implement AbstractCellFactory but I wrote this code a while ago and don’t remember object model in this part of the KNIMEverse very well at all. Is there somewhere I can look to ready more details about this or an example implementation preferably using a filestore cell that I can have a look at?
Best,
Aaron