Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-278] Android: Missing userLocation option in Map.createView causes NPE

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:34.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.8.1
ComponentsAndroid
Labelsandroid, defect
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:26:34.000+0000
Updated2011-04-17T01:52:34.000+0000

Description

If userLocation is not present in the option set on create, a NullPointerException is thrown.

Comments

  1. Don Thorp 2011-04-15

    (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...

JSON Source