I already had a conversation about this issue with Peter Tsai (not via this forum). See https://support.geneious.com/hc/en-us/requests/29878
In short: whenever I change the value of an "Option" in our plugin's tab panel in Tools -> Preferences, and whenever I press Apply or OK in that panel, I guet the message "Error whilst reading memory file".
The conclusion from your dev team was that the above message was pretty harmless.
However I'v now discovered that the consequence of Geneious emitting this message is that code reading the value of the Options on the Options panel get the wrong value.
To be more precize: For any Geneious session you can change the value once, and you still get the right value when calling Options.Option.getValue(). After that it just keeps giving you back that particular value, however often you update the value for that option afterwards.
There is a work-around: attach a change listener to every option and make that listener copy the new value to some sort of Memento object. The change listener does get triggered by a user update. However that's pretty laborious.
Please sign in to leave a comment.