Saved Send Mail node will not load

Hi All,

I can set the node, run it successfully and save the workflow with it with no errors in the log files. However when trying to open the workflow again, the node will not load and I am getting the error message in the log file. Please help.

Zibby

2019-10-21 11:42:44,038 : ERROR : ModalContext : : FileWorkflowPersistor : KNIME_project : 0 : Unable to load node with ID suffix 1 into workflow, skipping it: javax/mail/MessagingException
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at org.knime.base.node.util.sendmail.SendMailNodeFactory.createNodeModel(SendMailNodeFactory.java:67)
at org.knime.base.node.util.sendmail.SendMailNodeFactory.createNodeModel(SendMailNodeFactory.java:1)
at org.knime.core.node.NodeFactory.callCreateNodeModel(NodeFactory.java:481)
at org.knime.core.node.Node.(Node.java:270)
at org.knime.core.node.Node.(Node.java:260)
at org.knime.core.node.workflow.FileNativeNodeContainerPersistor.preLoadNodeContainer(FileNativeNodeContainerPersistor.java:208)
at org.knime.core.node.workflow.FileWorkflowPersistor.loadNodeContainer(FileWorkflowPersistor.java:943)
at org.knime.core.node.workflow.WorkflowManager.postLoad(WorkflowManager.java:7865)
at org.knime.core.node.workflow.WorkflowManager.loadContent(WorkflowManager.java:7756)
at org.knime.core.node.workflow.WorkflowManager.load(WorkflowManager.java:7710)
at org.knime.core.node.workflow.WorkflowManager.load(WorkflowManager.java:7631)
at org.knime.core.node.workflow.WorkflowManager.load(WorkflowManager.java:7604)
at org.knime.core.node.workflow.WorkflowManager.loadProject(WorkflowManager.java:7449)
at org.knime.workbench.editor2.LoadWorkflowRunnable.run(LoadWorkflowRunnable.java:175)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Caused by: java.lang.ClassNotFoundException: javax.mail.MessagingException cannot be found by org.knime.geospatial_1.0.1
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)
… 15 more
2019-10-21 11:42:44,038 : ERROR : ModalContext : : LoadWorkflowRunnable : : : Errors during load: Status: Error: KNIME_project 0 loaded with errors
2019-10-21 11:42:44,038 : ERROR : ModalContext : : LoadWorkflowRunnable : : : Status: Error: KNIME_project 0
2019-10-21 11:42:44,038 : ERROR : ModalContext : : LoadWorkflowRunnable : : : Status: Error: Unable to load node with ID suffix 1 into workflow, skipping it: javax/mail/MessagingException
2019-10-21 11:42:44,038 : ERROR : ModalContext : : LoadWorkflowRunnable : : : Status: Warning: State has changed from CONFIGURED to EXECUTED

Hi @zibby_roman,

did you update KNIME in between? Does the error appear directly after re-opening of the WF? So if you save and close the WF and immediately re-open it again? Could you try to create a second WF with only the Send Email node and try to reproduce the error?

Cheers,
David

1 Like

Hi David,

Thanks for your response. Yes, I can recreate the problem at will. Any WF with Send Email node, even on its own, is affected.

The errors reported in the log file attached pointed to C:\Program Files\KNIME\dropins\org.knime.geospatial_1.0.1.jar file. I removed this file from its folder and things got back to normal again. However, I have no idea what damage I caused by doing so. I will wait and see, as one does. :slight_smile:

Regards,
Zibby

1 Like

Hi @zibby_roman,

the dropins folder is used to manually install extension (e.g. nodes). It seems that the mentioned org.knime.geospatial_1.0.1.jar was configured wrongly, which caused some dependency problems. KNIME will never put files into the dropins folder automatically, i.e. somebody tried to install said custom extension manually. Removing the file is safe in a sense that it will remove the functionality the extension provided. For example, if it added nodes, these will not be available anymore. If you did not encounter any other problems, everything should be fine.

Cheers,
David

2 Likes

Thank you for your explanations, David, It’s very kind of you.

Regards,
Zibby

1 Like

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