I downloaded your workflow and tried it myself. I got the same warning message if I type the code. The strange things is that if you copy and paste the same Java Snippet node, it executes without the warning message. No clue why…
Had the same issue here just minutes ago. Keeping getting this message but I don’t see anything going wrong. Heck I even wrapped the code in try-catch All and still got the message. I have since put that node into a meta node and restarted knime and now the error is gone.
Hi,
I had a look into the code and it seems that the Java Snippet node simply does not reset the warning messages in the reset method of the NodeModel (should happen here). The warning is set in the JavaSnippetCellFactory and never cleared. I think this is not that hard to fix and I will open an internal ticket for it.
Kind regards,
Alexander