1. Are you ready for the Galaxy S20? Here is everything we know so far!

Some Help Debugging NullPointerException Pls

Discussion in 'Android Development' started by ac4android, Mar 13, 2016.

  1. ac4android

    ac4android Well-Known Member
    Thread Starter

    It was a spelling mistake :rolleyes:
     

    Attached Files:



    #1 ac4android, Mar 13, 2016
    Last edited: Mar 13, 2016
  2. Best Answer:
    Post #2 by Deleted User, Mar 13, 2016 (1 points)
  3. Deleted User

    Deleted User Guest

    The code in the debugger screenshot is different to the code you show in the ShowMapActivity code snippet.
    Should they be the same??
     
  4. ac4android

    ac4android Well-Known Member
    Thread Starter

    Apologies, the screen shots are from a previous test, the current codes still return a nullpointer exception for both ways of doing it i.e. latlng variables and bundle all have null values.

    UPDATE:
    Spelling mistake :rolleyes:

    Should be getParcelableExtra("bundle", args) with a small "b"
     
    #3 ac4android, Mar 13, 2016
    Last edited: Mar 13, 2016
Loading...

Share This Page

Loading...