IndexOutOfRangeException: Array index is out of range

IndexOutOfRangeException: Array index is out of range, it’s my problem with this script at 37th line (GameObject Newaster = Instantiate (aster[spawnObject], spawnPoints [spawnIndex].position, spawnPoints [spawnIndex].rotation) as GameObject;):

using System.Collections;
using UnityEngine;
using UnityEngine.Networking;
using System.Collections.Generic;

public class Asteroid : NetworkBehaviour {

public float timeTospawn = 0.5f;
public Transform[] spawnPoints;
public GameObject[] aster;

public List<Transform> possibleSpawns = new List<Transform>();

// Use this for initialization
void Start()
{
    //fill possible spawn
    for (int i = 0;i<spawnPoints.Length;i++)
    {
        possibleSpawns.Add(spawnPoints*);*

}
InvokeRepeating(“SpawnItems”, timeTospawn, timeTospawn);
}
// Update is called once per frame
void Update () {

  • }*

void SpawnItems()
{
int spawnIndex = Random.Range(0, possibleSpawns.Count);
int spawnObject = Random.Range(0, aster.Length);
GameObject Newaster = Instantiate (aster[spawnObject], spawnPoints [spawnIndex].position, spawnPoints [spawnIndex].rotation) as GameObject;
Newaster.GetComponent().mySpawnPoint = possibleSpawns[spawnIndex];
possibleSpawns.RemoveAt(spawnIndex);
}
}

Thank’s to reply, but it don’t works, now it’s this line who doesnt works with the same error : GameObject Newaster = Instantiate (aster[spawnObject], spawnPoints [spawnIndex].position, spawnPoints [spawnIndex].rotation) as GameObject;

Can you send me all the line changed