Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Activity.performCreate() has thrown a NullPointerException
    Android
    2
    0
    0

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference Disconnected from the target VM, address: 'localhost:8600', transport: 'socket'
2 matching frames hidden
    at com.example.egnasz.myapplication.MainActivity.onCreate(MainActivity.java:111)
    at android.app.Activity.performCreate(Activity.java:6100)

External results for this pattern (2)

  1. Unable to start activity ComponentInfo{com.example.egnasz.myapplication/com.example.egnasz.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
    Show stack trace
  2. Unable to start activity ComponentInfo{com.example.egnasz.myapplication/com.example.egnasz.myapplication.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.ref.WeakReference.get()' on a null object reference
    Show stack trace