File tree 2 files changed +10
-2
lines changed
org.knime.scijava.scripting.base/src/org/knime/scijava/scripting/base
org.knime.scijava.scripting.node/src/org/knime/scijava/scripting/node
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
/**
10
10
* Interface for classes which wrap a compilation product. This may be a
11
- * CommandInfo (for Java scripts) or a ScriptInfo (basically everything else.
11
+ * CommandInfo (for Java scripts) or a ScriptInfo (everything else) .
12
12
*
13
13
* @author Jonathan Hale
14
14
*/
Original file line number Diff line number Diff line change 62
62
import org .scijava .script .ScriptService ;
63
63
64
64
/**
65
- * NodeModel of the ScriptingNode
65
+ * NodeModel of the SciJava ScriptingNode.
66
66
*
67
67
* @author Jonathan Hale (University of Konstanz)
68
+ * @author Gabriel Einsdorf (University of Konstanz)
68
69
*/
69
70
public class SciJavaScriptingNodeModel extends NodeModel {
70
71
@@ -411,6 +412,13 @@ public DataCell[] getCells(final DataRow row) {
411
412
}
412
413
413
414
final DataCell [] cells = m_outputrowService .getOutputDataCells ();
415
+ for (DataCell cell : cells ) {
416
+ if (cell == null ) {
417
+ throw new IllegalStateException (
418
+ "Execution of script failed, please check the"
419
+ + " syntax of your script and the log messages!" );
420
+ }
421
+ }
414
422
415
423
m_compileProduct .resetModule (m_module );
416
424
You can’t perform that action at this time.
0 commit comments