Ignore my previous reply.
Well on your advice I did add
import se.datadosen.util.;* and I haven't seen the crash since that addition!
I don't understand why you still use interpreted Java. A long time ago, I converted your interpreted code to Java classes. You thanked me for that (appreciated), but you have regressed to BeanShell interpreted Java. I don't understand why you did this. The Java compiler helps you. If you don't use it, you will spend a lot of time trying to identify errors that the Java compiler would have identified instantly.
I did start converting it to compiled Java but I stuck. I am an old impatient man who like to see quick results and after all interpreted Java works still well.
You need to convert to compiled Java. If you don't understand how to do this, send me a private message and I will assist.
With your help I certainly like to give it a second try, I will send your an email.
BTW When I say "Java compiler" I mean either the JDK compiler or the NetBeans compiler or the Eclipse compiler. They all serve the same purpose: debug your code before you test.
I have only a Windows 10 PC, so what do you recommend?
What about Java with
Visual Studio code?
Edited by: AndreWolff on 29-Aug-2020 10:29