Tag Archives: Error during generated code invocation com.intellij.debugger.engine.evaluation.EvaluateException: Method threw ‘java.lang.NullPointerException’ exception.

Error during generated code invocation com.intellij.debugger.engine.evaluation.EvaluateException: Method threw ‘java.lang.NullPointerException’ exception.

Come up with a picture,

After looking for the reason for a long time, I finally found that I forgot to add @ Autowired when injecting the interface

 

 

  After adding, restart the project.