I have a
private volatile ScheduledFuture<?> timerFuture;
in my implementation of PersistentStateComponent and it is saving it out to the xml, but then it can't read it in. I don't need it saved though and if I could stop that, then it would load fine (as it loads fine if I remove timerFuture). I tried:
private transient volatile ScheduledFuture<?> timerFuture;
But that did not prevent it. Is there a way?