You'll get an error, but then you can't run any other commands. You can still open other models, but they nothing will work. Commands won't run, buttons will just freeze, and so forth. This actually could indicate a bug in NetLogo as exceptions shouldn't be able to cause a total crash.
I've confirmed in VisualVM that the Job thread actually dies and is not resuscitated when opening a new model.
This is pretty awesome and bad.
To reproduce:
extensions [ nw ]
in the code tabnw:save-graphml "this/path/doesnt/exist/file.graphml"
You'll get an error, but then you can't run any other commands. You can still open other models, but they nothing will work. Commands won't run, buttons will just freeze, and so forth. This actually could indicate a bug in NetLogo as exceptions shouldn't be able to cause a total crash.
I've confirmed in VisualVM that the Job thread actually dies and is not resuscitated when opening a new model.