java.lang.NullPointerException

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Spring @Autowired field is null?

    Stack Overflow | 7 months ago | bhanwar rathore
    java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.elastic.controller.MainController.getUsers()
    2. com.elastic.controller
      MainController.getUsers
      1. com.elastic.controller.MainController.getUsers(MainController.java:38)
      1 frame
    3. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3 frames