I wrote a Jython script defining a couple of classes. This script also creates a swing GUI has buttons which access instances of these classes by callback functions.
The script was working last year and had not used it for quite a while.
Now when I use it, it seems that instances are randomly deleted over time, i. e. when I start the script, the buttons work but after some time I get error messages that instances are not present anymore.
The same seems to be true for imported packages.
Has someone experienced this? Is it a ImageJ or a Java problem?
I would be very grateful for any help or comments!