NullReferenceException: Object reference not set to an instance of an object

I’m running into an error while building a target that gives you points when hit with a ball. Can someone please help me?
my code:

using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;

public class Points : MonoBehaviour
{
[SerializeField]
private float startTime = 60f;
[SerializeField]
private PlayerController player;

private float timeLeft;

private int score = 0;

[SerializeField]
private Target[] targets;

// Start is called before the first frame update
void Start()
{
    for (int i = 0; i < targets.Length; i++)
    {
        targets*.points = this;*

}
}
public void Respawn() //this is where I’m getting the problem
{
timeLeft = startTime;
score = 0;
for (int i = 0; i < targets.Length; i++)
{
targets*.Respawn();*
}
player.Respawn();
}
public void AddScore(int morePoints)
{
score += morePoints;
UnityEngine.Debug.Log("I now have a score of {score}!");*_ _*}*_ _*// Update is called once per frame*_ _*void Update()*_ _*{*_ _*timeLeft -= Time.deltaTime;*_ _*if (timeLeft <= 0)*_ _*{*_ _*UnityEngine.Debug.Log(“The final score was {score}!”);
Respawn();
}
}
}

It seems like you didn’t put PlayerController player in the inspector.