Server error: TypeError: Unable to get property 'getStateName' of undefined or null reference #6478
Closed
Description
This error occurred recently in production
TypeError: Unable to get property 'getStateName' of undefined or null reference
at getCurrentStateName (https://www.oppia.org/build/templates/head/pages/exploration_player/PlayerPositionService.b95055045ed193c4abdc809e4e53eaf7.js:1)
Additional context This error occurred in the exploration player page.
General instructions
There are no specific repro steps available for this bug report. The general procedure to fix server errors should be the following:
- Analyze the code in the file where the error occurred and come up with a hypothesis for the reason.
- Get the logic of the proposed fix validated by an Oppia team member (have this discussion on the issue thread).
- Make a PR that fixes the issue, then close the issue on merging the PR. (If the error reoccurs in production, the issue will be reopened for further investigation.)