So I have this simple PState, teamIdToTeam, which maps a team's id (Integer) to the team object, and we want to just get all of the ids from the PState.
I attempted to get all of the keys like so:

But I'm getting an error of: InvalidQueryPathException: null {} and I'm not really sure why. I know that the PState is populated properly and we know that the PState is a map schema mapping an Integer to a Team. I thought that Path.all().mapKeys() would just give me all the keys in the PState as a list.
Any insight is appreciated!