The periodic sync thread crash when loading a video or opf file, because the player is not initialized when the periodic sync tries to get the player's current time, it throws a NullPointerException and stops the thread execution. To fix this we need to wrap all clock listeners implementations that are called from the executive service scheduler in a try-catch and register the clock listener after the player is created.
The periodic sync thread crash when loading a video or opf file, because the player is not initialized when the periodic sync tries to get the player's current time, it throws a NullPointerException and stops the thread execution. To fix this we need to wrap all clock listeners implementations that are called from the executive service scheduler in a try-catch and register the clock listener after the player is created.