java.lang.NullPointerException

GitHub | guilhermejcgois | 5 months ago
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.
  1. 0

    GitHub comment 2#253077857

    GitHub | 5 months ago | guilhermejcgois
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at ast.MethodDec.genKra()
    2. ast
      Program.genKra
      1. ast.MethodDec.genKra(MethodDec.java:48)
      2. ast.MethodList.genKra(MethodList.java:42)
      3. ast.KraClass.genKra(KraClass.java:125)
      4. ast.Program.genKra(Program.java:21)
      4 frames
    3. comp
      Comp.main
      1. comp.Comp.compileProgram(Comp.java:266)
      2. comp.Comp.run(Comp.java:68)
      3. comp.Comp.main(Comp.java:10)
      3 frames