Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Exceptions when loading map #19

Closed
Splaktar opened this issue Sep 29, 2014 · 4 comments
Closed

Exceptions when loading map #19

Splaktar opened this issue Sep 29, 2014 · 4 comments
Assignees

Comments

@Splaktar
Copy link
Contributor

Some tiles aren't loading properly and the console of Firefox 32.0.3 has the following:

"Error: a is null
b.distanceFromHere/e@http://android.gdg.events/app/1f7ce662.app.js:1:2239
b.distanceFromHere@http://android.gdg.events/app/1f7ce662.app.js:1:2500
$c/</c</<@http://android.gdg.events/app/b9d0ba27.vendor.js:6:9528
f@http://android.gdg.events/app/b9d0ba27.vendor.js:6:8988
$c/<@http://android.gdg.events/app/b9d0ba27.vendor.js:6:9599
qe.prototype.filter/d@http://android.gdg.events/app/b9d0ba27.vendor.js:6:31716
ne["|"]@http://android.gdg.events/app/b9d0ba27.vendor.js:6:25795
qe.prototype.binaryFn/<@http://android.gdg.events/app/b9d0ba27.vendor.js:6:31118
ne["|"]@http://android.gdg.events/app/b9d0ba27.vendor.js:6:25795
qe.prototype.binaryFn/<@http://android.gdg.events/app/b9d0ba27.vendor.js:6:31118
c@http://android.gdg.events/app/b9d0ba27.vendor.js:5:27335
Bc/this.$get</k.prototype.$digest@http://android.gdg.events/app/b9d0ba27.vendor.js:5:28355
Bc/this.$get</k.prototype.$apply@http://android.gdg.events/app/b9d0ba27.vendor.js:5:30059
i@http://android.gdg.events/app/b9d0ba27.vendor.js:5:8761
r@http://android.gdg.events/app/b9d0ba27.vendor.js:5:11182
_b/</v<@http://android.gdg.events/app/b9d0ba27.vendor.js:5:11454
g/g@http://android.gdg.events/app/b9d0ba27.vendor.js:5:10778"
@joshuawoodward
Copy link
Member

Issue seems to be intermittent

@Splaktar
Copy link
Contributor Author

On Chrome 38 on OS X just now:

TypeError: Cannot read property 'latitude' of null
    at e (http://android.gdg.events/app/1f7ce662.app.js:1:2242)
    at b.distanceFromHere (http://android.gdg.events/app/1f7ce662.app.js:1:2509)
    at Array.<anonymous> (http://android.gdg.events/app/b9d0ba27.vendor.js:6:9537)
    at f (http://android.gdg.events/app/b9d0ba27.vendor.js:6:8994)
    at Array.sort (native)
    at k.<anonymous> (http://android.gdg.events/app/b9d0ba27.vendor.js:6:9608)
    at d (http://android.gdg.events/app/b9d0ba27.vendor.js:6:31725)
    at ne.| (http://android.gdg.events/app/b9d0ba27.vendor.js:6:25808)
    at l.constant (http://android.gdg.events/app/b9d0ba27.vendor.js:6:31125)
    at ne.| (http://android.gdg.events/app/b9d0ba27.vendor.js:6:25813) 

I also see the same exceptions for 'lng'. This happens on both devfest.gdg.events and android.gdg.events (though map rendering seems a lot better on devfest.gdg.events than on android.gdg.events).

@joshuawoodward
Copy link
Member

After quick look, Issue is in https://github.com/gdg-x/firefly/blob/master/client/app/main/main.controller.js

line 14 : $scope.distanceFromHere

I'll let @mauimauer resolve, I don't have project setup locally to test, but "start" seems to be the error

@mauimauer
Copy link
Member

On it. Thanks for the locating the bug @joshuawoodward

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants