Animation speed not changing, I don't understand why

Here’s my code

using UnityEngine;
using System.Collections;

public class RollAnimationSpeed : MonoBehaviour {
	public PlayerComponent playerComponent;
	GameObject body;
	
	void Start (){
		body = GameObject.Find("body"); 
	}
	
	void Update (){
		playerComponent = (PlayerComponent)FindObjectOfType(typeof(PlayerComponent));

		body.animation["CharacterRotation"].speed = ((float)playerComponent.Speed) / 30f;

	}
}

Okay so this is the new code guys, but now I am getting this error

NullReferenceException: GetRef
RollAnimationSpeed.Update () (at Assets/Scripts/RollAnimationSpeed.cs:15)

what does it mean and how do I fix it?

Fixed it guys, the f at the end of 30f was the entirety of the problem, it’s solved now!