java.lang.NullPointerException

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at com.register.file.CreateFile.showYears()
  2. com.register.file
    CreateFile.createYear
    1. com.register.file.CreateFile.showYears(CreateFile.java:140)
    2. com.register.file.CreateFile.createYear(CreateFile.java:30)
    2 frames
  3. com.register.main
    Main.main
    1. com.register.main.Menu.registers(Menu.java:30)
    2. com.register.main.Menu.menu(Menu.java:132)
    3. com.register.main.Main.main(Main.java:14)
    3 frames