benfry / processing4

Processing 4.x releases for Java 17
https://processing.org
Other
1.31k stars 236 forks source link

Reference for `Try` hangs the execution if there is no file to be loaded. #841

Open v-k- opened 4 weeks ago

v-k- commented 4 weeks ago

At https://processing.org/reference/try.html the code is only catching IOException, if there is no file, the NullPointer will hang the execution. This is not user wrong neither is very friendly for novices, not processingISH way of doing things, I dare say :)

It's not a website issue is it?

cheers