Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FormatException: Unexpected character (at character 49) #103

Closed
Cybernetics354 opened this issue Nov 19, 2020 · 4 comments
Closed

FormatException: Unexpected character (at character 49) #103

Cybernetics354 opened this issue Nov 19, 2020 · 4 comments

Comments

@Cybernetics354
Copy link

Cybernetics354 commented Nov 19, 2020

i've using this plugin for navigation needs, and when im off from route, there's some error occured

FormatException: Unexpected character (at character 49)
{  "eventType": "user_off_route",  "data": "{  "latitude": -7.7363183,  "lo...

stacktraces

#0      _ChunkedJsonParser.fail (dart:convert-patch/convert_patch.dart:1404)
#1      _ChunkedJsonParser.parse (dart:convert-patch/convert_patch.dart:934)
#2      _parseJson (dart:convert-patch/convert_patch.dart:40)
#3      JsonDecoder.convert (dart:convert/json.dart:505)
#4      JsonCodec.decode (dart:convert/json.dart:156)
#5      MapBoxNavigation._parseRouteEvent (package:flutter_mapbox_navigation/flutter_mapbox_navigation.dart:123)
#6      MapBoxNavigation._streamRouteEvent.<anonymous closure> (package:flutter_mapbox_navigation/flutter_mapbox_navigation.dart:112)
#7      _MapStream._handleData (dart:async/stream_pipe.dart:219)
#8      _ForwardingStreamSubscription._handleData (dart:async/stream_pipe.dart:157)
#9      _rootRunUnary (dart:async/zone.dart:1198)
#10     _CustomZone.runUnary (dart:async/zone.dart:1100)
#11     _CustomZone.runUnaryGuarded (dart:async/zone.dart:1005)
#12     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:357)
#13     _DelayedData.perform (dart:async/stream_impl.dart:611)
#14     _StreamImplEvents.handleNext (dart:async/stream_impl.dart:730)
#15     _PendingEvents.schedule.<anonymous closure> (dart:async/stream_impl.dart:687)
#16     _rootRun (dart:async/zone.dart:1182)
#17     _CustomZone.run (dart:async/zone.dart:1093)
#18     _CustomZone.runGuarded (dart:async/zone.dart:997)
#19     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037)
#20     _rootRun (dart:async/zone.dart:1190)
#21     _CustomZone.run (dart:async/zone.dart:1093)
#22     _CustomZone.runGuarded (dart:async/zone.dart:997)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:1037)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)

any idea why this error happen? thanks in advance

@manhlh
Copy link

manhlh commented Apr 14, 2021

same :(

@eopeter
Copy link
Owner

eopeter commented Apr 15, 2021 via email

@manhlhvm
Copy link

manhlhvm commented Apr 16, 2021

Is this on iOS or Android or both?

On Wed, Apr 14, 2021 at 2:29 AM manhlh @.***> wrote: same :( — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#103 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPLOMYA5YOROHQUYYPVFZDTIUY4RANCNFSM4T3MESKA .
-- Sincerely Emmanuel Oche

I change list way point insdide the region (in a country), and it work.

@Cybernetics354
Copy link
Author

Is this on iOS or Android or both?

On Wed, Apr 14, 2021 at 2:29 AM manhlh @.***> wrote: same :( — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#103 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAPLOMYA5YOROHQUYYPVFZDTIUY4RANCNFSM4T3MESKA .
-- Sincerely Emmanuel Oche

on my case it happen on android

@eopeter eopeter closed this as completed Jul 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants