java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.uribeacon.beacon.UriBeacon.getUriString()' on a null object reference at org.physical_web.physicalweb.NearbyBeaconsFragment.getUrlFromDeviceSighting(NearbyBeaconsFragment.java:334)

GitHub | g-ortuno | 2 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    "Demo" doesn't work on Lollipop

    GitHub | 2 years ago | g-ortuno
    java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String org.uribeacon.beacon.UriBeacon.getUriString()' on a null object reference at org.physical_web.physicalweb.NearbyBeaconsFragment.getUrlFromDeviceSighting(NearbyBeaconsFragment.java:334)

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'java.lang.String org.uribeacon.beacon.UriBeacon.getUriString()' on a null object reference at org.physical_web.physicalweb.NearbyBeaconsFragment.getUrlFromDeviceSighting(NearbyBeaconsFragment.java:334)

      at org.physical_web.physicalweb.NearbyBeaconsFragment.access$600()
    2. org.physical_web.physicalweb
      NearbyBeaconsFragment$NearbyBeaconsAdapter.getView
      1. org.physical_web.physicalweb.NearbyBeaconsFragment.access$600(NearbyBeaconsFragment.java:65)
      2. org.physical_web.physicalweb.NearbyBeaconsFragment$NearbyBeaconsAdapter.getView(NearbyBeaconsFragment.java:352)
      2 frames