I'm trying to write a program that asks the user to first input a name(string) and then an amount(double) and puts the input into 2 seperate Arraylists. This is done through a while-loop. When the user is done, they can press 0 and then program will print both arraylists. 
The first time through the loop goes perfect, the second time it will print both lines asking for input without allowing input in between. When given an input the second time it will show a InputMismachtException.

```
Scanner userInput = new Scanner(System.in);
ArrayList<String> customerName = new ArrayList<>();
ArrayList<Double> customerSpend = new ArrayList<>();
double checkUserInput = 1;

while (checkUserInput != 0) {
    System.out.println("Please enter the customer name");
    customerName.add(userInput.nextLine());
    System.out.println("Please enter the customer amount");
    customerSpend.add(userInput.nextDouble());
    if (customerSpend.get(customerSpend.size()-1) == 0){
        checkUserInput = 0;
    }
}
for (int i = 0; i < customerName.size(); i++) {
    System.out.println(customerName.get(i)+customerSpend.get(i));
}

```