Skip to content

Commit 6b5eac3

Browse files
committed
Remove compilation from the settings validation
This is no longer needed as the code is compiled when the user switches to the generated dialog. The compilation leads to an NullPointer exception when copying script nodes though.
1 parent 7b2dbaa commit 6b5eac3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

org.knime.scijava.scripting.node/src/org/knime/scijava/scripting/nodes/interactive/SciJavaScriptingNodeModel.java

-2
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ protected void saveInternals(final File nodeInternDir,
282282
protected void validateSettings(final NodeSettingsRO settings)
283283
throws InvalidSettingsException {
284284
m_settings.validateSettings(settings, m_nodeModelSettingsService);
285-
m_compileProduct = recompile(m_compiler, m_settings.getScriptCode(),
286-
getCurrentLanguage(), m_errorWriter);
287285
}
288286

289287
@Override

0 commit comments

Comments
 (0)