JSON Transformer not configurable

Dear all,

it was reported back in May (post), and presumably fixed that the JSON Transformer could not be configured. Despite everything being up to date I now face the same issue. Please find as follows the exception logged when trying to configure the node:

Unhandled event loop exception
java.lang.NoClassDefFoundError: org/knime/core/node/util/rsyntaxtextarea/KnimeCompletionProvider
at org.knime.json.node.patch.apply.JSONPatchApplyNodeDialog.afterNewColumnName(JSONPatchApplyNodeDialog.java:117)
at org.knime.json.node.util.RemoveOrAddColumnDialog.addContentsToSettings(RemoveOrAddColumnDialog.java:148)
at org.knime.json.node.util.RemoveOrAddColumnDialog.<init>(RemoveOrAddColumnDialog.java:130)
at org.knime.json.node.util.RemoveOrAddColumnDialog.<init>(RemoveOrAddColumnDialog.java:113)
at org.knime.json.node.patch.apply.JSONPatchApplyNodeDialog.<init>(JSONPatchApplyNodeDialog.java:85)
at org.knime.json.node.patch.apply.JSONPatchApplyNodeFactory.createNodeDialogPane(JSONPatchApplyNodeFactory.java:100)
at org.knime.core.node.Node$1.run(Node.java:2140)
at org.knime.core.node.util.ViewUtils$3.run(ViewUtils.java:353)
at org.knime.core.node.util.ViewUtils$2.run(ViewUtils.java:155)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.ClassNotFoundException: org.knime.core.node.util.rsyntaxtextarea.KnimeCompletionProvider cannot be found by org.knime.json_3.7.1.v201901281201
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:484)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 23 more

Thanks a lot for your support
Mike

Did you download 3.7.2 fresh from the KNIME website?

Yes. Did downloaded it on Monday, April 15th as I was on a Knime training back then and wanted to start with a clean installation.

Could you, in a terminal shell / cmd shell, change directories into the plugins directory and do a

cksum org.knime.json_3.7.1.v201901281201.jar

and report back what values it states? … or better yet, attach that jar to a new post this thread, if the forum lets you.

I am using Os X. Can’t find the plugins folder in the Knime app. Also not at first glance in the user Library folder. Where should I search?

cd /Applications/KNIME\ 3.7.2.app/Contents/Eclipse/plugins

cksum org.knime.json_3.7.1.v201901281201.jar
2867390496 16938744 org.knime.json_3.7.1.v201901281201.jar

Hmm… that’s the file size and checksum of the one which shipped with 3.7.1… now i’m interested to see if we’ve broken something - let me download from KNIME.com and see what i get.

algebraic:plugins loki$ pwd
/Applications/KNIME 3.7.1.app/Contents/Eclipse/plugins
algebraic:plugins loki$ cksum org.knime.json_3.7.1.v201901281201.jar 
2867390496 16938744 org.knime.json_3.7.1.v201901281201.jar
algebraic:plugins loki$
algebraic:plugins loki$ pwd
/Applications/KNIME 3.7.2.app/Contents/Eclipse/plugins
algebraic:plugins loki$ cksum org.knime.json_3.7.1.v201901281201.jar 
29980596 16938076 org.knime.json_3.7.1.v201901281201.jar
algebraic:plugins loki$

Will reply tomorrow. Already midnight any my little one is going to be up early :wink: Thanks for you quick reply!

1 Like

No problem - sorry about the problems. Will update with more after i download.

Please give downloading another try - i downloaded it and while still on the mounted DMG verified a correct cksum:

algebraic:~ loki$ cd /Volumes/KNIME\ 3.7.2/KNIME\ 3.7.2.app/Contents/Eclipse/plugins/
algebraic:plugins loki$ cksum org.knime.json_3.7.1.v201901281201.jar
29980596 16938076 org.knime.json_3.7.1.v201901281201.jar
algebraic:plugins loki$

Checksum matches even after copying into applications folder.
29980596 16938076 org.knime.json_3.7.1.v201901281201.jar

Since it’s a fresh install I will install the extensions I am frequently using. By the way. I noticed each time after starting fresh that my whole machine freezes for a few seconds, only mouse moves, until Knime launch / loading screen appears. Uncertain if that’s related.

Edit: So far all good again. The JSON transformer node can be configured now too. Will update you after working the coming week(s) with Knime if it comes came.

Thanks a lot
Mike

2 Likes

Yes - now you’re seeing the correct checksum - good news and glad it’s working.

1 Like

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