Janie's problem was test anxiety, which caused her to freeze and be unable to answer questions during exams, despite being a good student who worked hard.