[TIMOB-278] Android: Missing userLocation option in Map.createView causes NPE
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:52:34.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 0.8.1 |
Components | Android |
Labels | android, defect |
Reporter | Don Thorp |
Assignee | Don Thorp |
Created | 2011-04-15T02:26:34.000+0000 |
Updated | 2011-04-17T01:52:34.000+0000 |
Description
If userLocation is not present in the option set on create, a NullPointerException is thrown.
(from [035ec02a0e9096140ecf2116f7bffbf688ec7e94]) [#278 status:resolved] Don't bother with the location object if it's disabled which will make it null http://github.com/appcelerator/titanium_mobile/commit/035ec02a0e9096140ecf2116f7bffbf688ec7e94"> http://github.com/appcelerator/titanium_mobile/commit/035ec02a0e909...