java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.content.UriMatcher.mText' on a null object reference

Stack Overflow | humblerookie | 9 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

    ContentDescriptor is throwing NullPointerException while instantiation

    Stack Overflow | 9 months ago | humblerookie
    java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.content.UriMatcher.mText' on a null object reference
  2. 0

    Content Descriptor initialisation crashes with a null pointer

    GitHub | 9 months ago | humblerookie
    java.lang.NullPointerException: Attempt to read from field 'java.lang.String android.content.UriMatcher.mText' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to read from field 'java.lang.String android.content.UriMatcher.mText' on a null object reference

      at android.content.UriMatcher.addURI()
    2. Android Platform
      UriMatcher.addURI
      1. android.content.UriMatcher.addURI(UriMatcher.java:186)
      1 frame
    3. com.getsuperapp.chat
      DatabaseProvider.query
      1. com.getsuperapp.chat.db.ContentDescriptor.getUriMatcher(SourceFile:25)
      2. com.getsuperapp.chat.db.DatabaseProvider.query(SourceFile:33)
      2 frames
    4. Android Platform
      ContentResolver.query
      1. android.content.ContentProvider.query(ContentProvider.java:1017)
      2. android.content.ContentProvider$Transport.query(ContentProvider.java:238)
      3. android.content.ContentResolver.query(ContentResolver.java:497)
      4. android.content.ContentResolver.query(ContentResolver.java:439)
      4 frames