anasazeem / robertprojects

Automatically exported from code.google.com/p/robertprojects
0 stars 0 forks source link

Blowup in View Message handling when map moved without setting mMainActivityCallbackHandler #105

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a new OpenStreetMapView instance
2. Do not invoke setMainActivityCallbackHandler
3. Move the map

Since my application didn't need the activity callbacks (yet) I did not set a 
callback handler.  However the messages are fired anyway but with a null object 
which eventually leads to a null pointer exception.

It would be nice to not send messages when mMainActivityCallbackHandler is null.

What version of the product are you using? On what operating system?

Source from svn update Jan 13, 2010

Please provide any additional information below.

Original issue reported on code.google.com by glenne.t...@gmail.com on 14 Jan 2011 at 6:47