Error during integration with Event.java for tick function resolved.