When attempting to clear a player's bed spawn using Player#setBedSpawnLocation(Location), the server throws a NullPointerException
, originating from this line in CraftPlayer.
It's trying to get the yaw component of a location which has been tested to be null.
The attached plugin has one command (/deletebed) that will use the method mentioned above to remove a player's bed spawn location. You will need to have set your bed spawn before using the command for it to work.