Autoplayer is null

Hi

Whenever i try debugging AutoPlayerView i get the error

"Caught exception in strategy
java.lang.NullPointerException: Cannot invoke "tetris.autoplay.AutoPlayer.getMove()" because "this.autoPlayer" is null
        at tetris.view.AutoplayerView.getNextMove(AutoplayerView.java:29)
        at tetris.view.AutoplayerView.execute(AutoplayerView.java:39)
        at tetris.view.TaskedTetrisComponent$IndirectTask.run(TaskedTetrisComponent.java:53)
        at java.base/java.util.TimerThread.mainLoop(Timer.java:566)
        at java.base/java.util.TimerThread.run(Timer.java:516)"

and then it gives me game over so I’m not able to debug it.
However when i try to run it. It runs and the first Piece is placed according to the algorithm but then the other next pieces just go down on each other. What could i do to prevent autoplayer from being null while debugging ?

The autoplayer is instantiated in the constructor of the AutoplayerView by invoking MyTetrisFactory.createAutoPlayer.

You possibly forgot to implement the factory method.