java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference

Stack Overflow | JEFFIN FRANCIS | 4 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

    Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference

    Stack Overflow | 4 months ago | JEFFIN FRANCIS
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String java.lang.String.trim()' on a null object reference

      at com.example.hp.marklist.admin$1LoginAsync.onPostExecute()
    2. com.example.hp
      admin$1LoginAsync.onPostExecute
      1. com.example.hp.marklist.admin$1LoginAsync.onPostExecute(admin.java:143)
      2. com.example.hp.marklist.admin$1LoginAsync.onPostExecute(admin.java:81)
      2 frames
    3. Android Platform
      AsyncTask.finish
      1. android.os.AsyncTask.finish(AsyncTask.java:651)
      1 frame