Blowup in View Message handling when map moved without setting mMainActivityCallbackHandler
Opened this issue · 0 comments
GoogleCodeExporter commented
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