After the call to nextDouble, the pointer is at the end of the line, before the line break. So when you call nextLine() it returns the string that is between that place and the next line break -- an empty string! Next you try to get numbers from the scanner but it sees the word "first" which of course can't be parsed as an int.
Without subsidies, chem-ag food costs four times more than organic. Or this tiny ad: