Assign collider and linerenderer to list

I’m trying to assign the LineRenderer and the CapsuleCollider from each object to a list,
I get: NullReferenceException: Object reference not set to an instance of an object
and: Is never assigned to and will always have it’s default value null

I’ve looked at similar questions but still can’t wrap my head around why this isn’t working

public List<GameObject> lasers;
List<LineRenderer> laserLines;
List<CapsuleCollider> capsules;
    
        void Awake()
        {
            for (int i = 0; i < lasers.Count; i++) {
                startPoint _= lasers*.transform;*_

Debug.Log(lasers*); //lasers are fine*
laserLines = lasers*.GetComponent();*
capsules = lasers*.GetComponent();*
capsules*.radius = 5.5f / 2;*
capsules*.center = Vector3.zero;*
capsules*.direction = 2; // Z-axis for easier “LookAt” orientation*

}
}

are your lists initialized?

 List<LineRenderer> laserLines = new List<LineRenderer>();
 List<CapsuleCollider> capsules = new List<LineRenderer>();

Note that you should use laserLines.Add(line); and capsules.Add(capsule);
and not access them by index. If you do want to access index like you are doing now then
maybe its better to use an array for this the way you are trying to do it like so:

    LineRenderer[] laserLines;
    CapsuleCollider[] capsules;

         void Awake()
         {
             laserLines = new LineRenderer[lasers.Count];
             capsules = new CapsuleCollider[lasers.Count];
             for (int i = 0; i < lasers.Count; i++) {
                 startPoint _= lasers*.transform;*_

Debug.Log(lasers*); //lasers are fine*
laserLines = lasers*.GetComponent();*
capsules = lasers*.GetComponent();*
capsules*.radius = 5.5f / 2;*
capsules*.center = Vector3.zero;*
capsules*.direction = 2; // Z-axis for easier “LookAt” orientation*
}
}