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

Stack Overflow | hozdaman | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    RecyclerView crashes when it gets to end of data

    Stack Overflow | 7 months ago | hozdaman
    java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.startsWith(java.lang.String)' on a null object reference

    Root Cause Analysis

    1. java.lang.NullPointerException

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

      at com.pctoolmanconsulting.trackmyweight.ProgressViewHolder.bind()
    2. com.pctoolmanconsulting.trackmyweight
      ProgressAdapter.onBindViewHolder
      1. com.pctoolmanconsulting.trackmyweight.ProgressViewHolder.bind(ProgressViewHolder.java:40)
      2. com.pctoolmanconsulting.trackmyweight.ProgressAdapter.onBindViewHolder(ProgressAdapter.java:41)
      3. com.pctoolmanconsulting.trackmyweight.ProgressAdapter.onBindViewHolder(ProgressAdapter.java:15)
      3 frames