This is odd. I need to make my code pretty, so the first thing I want to do
is to change the all the strings 'com.appspot.lbtdl' to
'com.faberfedor.tagyourworld'. I change every string in all the directories
using the Perl 'pie' technique. Then I put the code into a new directory,
create a new Eclipse project and run it.
For some reason, my code now crashes with a NullPointerException in my
MapView on the line
map.getOverlays().add(new SitesOverlay(marker));
If I comment it out, the programs runs; wrongly, but it runs. Both map and
marker have values/content/attributes/whatever you say a non-null object
has.
I've diffed every file in the project and the *only* thing different is the
changing of my package name strings and the dir structure under src/.
Any ideas?
--
Faber Fedor
Cloud Computing New Jersey
http://cloudcomputingnj.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---