I'm running a simulation model on AnyLogic. I recently updated to version 8 University 8.4.0. Before I that I had no problems running the simulation. Now I get the following error after running the simulation for a short while:
com.anylogic.libraries.processmodeling.ResourceUnitEndOfShiftTask cannot be cast to com.anylogic.libraries.processmodeling.ResourceUnitEntityServiceSubtask
My intentional modelling choice is to have staff drop what they are doing when their shift ends. Thus for the three resource pools in the model I have set the 'End of shift' may preempt field to True. However, when I change these to false the model runs with no errors. Is there a way to have End of task preemption in AnyLogic version 8?
I've tried google searching the error messages but don't get any relevant results. I've also tried looking up ResourceUnitEndOfShiftTask and ResourceUnitEntityServiceSubtask in AnyLogic documentation but can't find any entries for them.
*Update: I contacted AnyLogic support (thanks to Felipe's Answer) and yup it's a known bug; changing the services to not preempt other tasks resolved the error for the time being although would have been an issue if I wanted tasks to be able to preempt.