Pattern selector

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

  1. ActivityThread.handleLaunchActivity() has thrown a NullPointerException
    Android
    79
    25
    5
  2. ActivityThread.performLaunchActivity() has thrown a NullPointerException
    Android
    88
    29
    5

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setOnClickListener(android.view.View$OnClickListener)' on a null object reference
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2817)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2892)

External results for this pattern (10)

  1. sdowardvia GitHub3 days ago
    Attempt to invoke virtual method 'int java.lang.String.length()' on a null object reference
    Show stack trace
  2. sdgSnowvia GitHub2 months ago
    Attempt to invoke virtual method 'void android.app.Application.dispatchActivityCreated(android.app.Activity, android.os.Bundle)' on a null object reference
    Show stack trace
  3. john1janvia GitHub3 months ago
    Attempt to invoke virtual method 'boolean org.json.JSONObject.getBoolean(java.lang.String)' on a null object reference
    Show stack trace
  4. axxxvia Stack Overflow3 months ago
    No message found for this stack trace.
    Show stack trace
  5. Andoctoreyvia GitHub3 months ago
    Attempt to invoke virtual method 'void com.mikepenz.materialdrawer.AccountHeader.toggleSelectionList(android.content.Context)' on a null object reference
    Show stack trace
  6. sockeqwevia GitHub4 months ago
    Presenter returned from createPresenter() is null. Activity is com.mobile.myapp.ui.login.activities.AuthenticationActivity@8ba807c
    Show stack trace
  7. Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
    Show stack trace
  8. Attempt to invoke virtual method 'android.database.Cursor android.database.sqlite.SQLiteDatabase.query(java.lang.String, java.lang.String[], java.lang.String, java.lang.String[], java.lang.String, java.lang.String, java.lang.String)' on a null object reference
    Show stack trace
  9. Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference
    Show stack trace
  10. JasonStackvia Stack Overflow4 months ago
    Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
    Show stack trace