• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Some Help Debugging NullPointerException Pls

ac4android

Well-Known Member
It was a spelling mistake :rolleyes:
 

Attachments

  • NullPointerException.JPG
    NullPointerException.JPG
    53 KB · Views: 140
  • NullPointerExceptionBundle.JPG
    NullPointerExceptionBundle.JPG
    81.5 KB · Views: 125
Last edited:
The code in the debugger screenshot is different to the code you show in the ShowMapActivity code snippet.
Should they be the same??
 
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"
 
Last edited:
Back
Top Bottom