Thx for the answer, I don't think it's an issue with the code since it happens randomly. For me it can happen at any moment. And locally it works without any issue.
I published it with the source code, tell me if you have any issues running it locally!
Maybe just some strange issue with java runtime?
There is one thing I have noticed that may or may not contribute to the issue. You have a couple of classes that extend a class that they should not. Specifically, the following class trees under the Actor class are questionable:
* ExperienceIndicator > ExperienceState
* Bonus > Shield > ShieldIndicator
In the first case, I am not sure why you have both classes at all. The ExperienceIndicator class can probably be just removed (with the ExperienceState class changed to extend the Actor class. The second case is more troublesome. First, you should be aware what a subclass actually is (or what extending a class does). A subclass is meant to create the same type object as the class it extends. The only difference is the modifications to the objects it creates that are coded in the subclass. A ShieldIndicator object is not any type of Shield object. I do not believe it to be any type of Bonus object, either. Now, it is an indicator, just like an ExperienceIndicator object is, and both could (not saying you need to) extend an Indicator class that extends the Actor class. Anyway, as far as the ShieldIndicator class, it should probably extend the Actor class.
I am even questioning the other Actor class sub-trees (EvolutionPannel, SpellBar and Actions).