Discussion:
[mapguide-users] Fusion Error: [object Object] - Parse JSON - MapTip
RenoSun
2018-01-10 23:47:34 UTC
Permalink
Hi all,

I have the "The custom error module does not recognize this error." Fusion
Error especially while I selected a lot of features on the map... (400
features maybe...) and the Error will pop up...

The error was shown as following image:
<Loading Image...>
<Loading Image...>

It occurred once a while. I think I can trigger the error by select multiple
features on the map, and hover on the feature to see the map tip.

It seems to fail to parseJSON of the map tip string at some point...then the
error pop up.

Anyone had the same problem before?

Thanks!





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2018-01-17 19:13:51 UTC
Permalink
Don't start your Map Tip with '<' will be the solution.

I use html started with my Map Tip. The error will randomly popup since it
might be treated as HTML, not JSON...



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
RenoSun
2018-01-19 00:37:48 UTC
Permalink
Actually, still get the same error...

Error: Exception occurred in AJAX callback.
Message: JSON.parse: unexpected character at line 1 column 1 of the JSON
data
Location: http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81 (1)
Inner Stack:
***@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:7015
***@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:1542311
bind/<@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:560562
***@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:985515
***@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:984331
bind/<@http://localhost/mapguide/fusion/lib/fusionSF.min.js?v=81:1:560562

Response: The custom error module does not recognize this error.
fusionSF.min.js:1:6479
ajaxException
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:6479
bind/<
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:560562
dispatchException
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:985897
respondToReadyState
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:985631
onStateChange
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:984331
bind/<
http://localhost/mapguide/fusion/lib/fusionSF.min.js:1:560562



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Loading...