I am making a game that requires an update class to access a game class and a main class to access both of those. The problem I am having is that I need the update class to have an updated object of the game class but I get an error whenever I try and access the game class from the Update class [error occurs on newGame.test();]
ERROR: Exception in thread "main" java.lang.NullPointerException
    at Updates.updateStats(Updates.java:17)
    at Game.gameLoop(Game.java:24)
    at Main.main(Main.java:14)
import java.util.Scanner;
public class Main 
{ 
    static Scanner input = new Scanner(System.in);
    public static void main(String[] args)
    {
        Game newGame = new Game();
        //Updates getUpdates = new Updates();
        newGame.setupGame();
        Game.isRunning=true;
        newGame.gameLoop();
    }
}
import java.util.Scanner;
public class Game {
    static Scanner input = new Scanner(System.in);
    Updates getUpdates = new Updates();
    public Game(){
    }
    String goverment;
    int happyness;
    double money;
    int population = 1000000;
    public static boolean isRunning;
    private int turn = 0;
    public void gameLoop(){
        while (isRunning){
            getUpdates.updateStats();
            System.out.println("Turn: "+turn);
            input.nextLine();
            turn++;
        }
    }
    public void setupGame()
    {
        System.out.println("Goverment: 1=Democracy 2=monarchy 3=dictatorship");
        goverment = input.nextLine();
        while (!goverment.equals("1")||!goverment.equals("2")||!goverment.equals("3")){
            if (goverment.equals("1")){
                happyness = 75;
                money = 250000.0;
                break;
            }
            else if (goverment.equals("2")){
                happyness = 50;
                money = 500000.0;
                break;
            }
            else if (goverment.equals("3")){
                happyness = 25;
                money = 750000.0;
                break;
            }
            else{
                System.out.println("ENTER A VALID VALUE");
                goverment = input.nextLine();
            }
        }
        System.out.println("1");
    }
    public int getHappyness(){
        return happyness;
    }
    public void test(){
        System.out.println("MY NAME IS BOB");
    }
}
import java.util.Scanner;
public class Updates {
    static Scanner input = new Scanner(System.in);
    public Updates(){
    }
    public Updates(Game newGame){
        this.newGame = newGame;
    }
    Game newGame;
    public void updateStats(){
        newGame.test();
    }
}
 
     
    