Opened 10 years ago

Closed 9 years ago

#2543 closed defect (fixed)

Fusion Error when selecting a lot of objects in the map

Reported by: BSellke Owned by:
Priority: high Milestone:
Component: Fusion Version: 2.6.0
Severity: critical Keywords:
Cc: External ID:

Description

When unintentional selecting - for example instead of zooming - a big area, this Fusion Error will be thrown, while working with MS-SQL-Server 2008 R2, MapGuide 2.6.0.8316.

Debugging in Firefox shows, that the error occurs in Fusion.Widget.Select.execute when this.getMap().query(options) is called...

Error Details:

Exception occurred in AJAX callback. Message: JSON.parse: unexpected character at line 1 column 1 of the JSON data Location: http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js (1) Inner Stack: window.Fusion.parseJSON@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:7749 Fusion.Layers.MapGuide<.processSelectedExtendedFeatureInfo@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:1522820 Fusion.Layers.MapGuide<.processExtendedFeatureInfo@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:1522001 OpenLayers.Function.bind/<@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:553242 OpenLayers.Ajax.Request<.respondToReadyState@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:991757 OpenLayers.Ajax.Request<.onStateChange@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:990544 OpenLayers.Function.bind/<@http://mapguide.instance/mapguide/fusion/lib/fusionSF-compressed.js:1:553242

Response: Dieser Fehler wird vom benutzerdefinierten Fehlermodul nicht erkannt. Stack Trace:

Source:

http://mapguide.instance/mapguide/fusion/templates/mapguide/inexio/index.html?ApplicationDefinition=Library://inexio/inexio.ApplicationDefinition&locale=de

Change History (3)

comment:1 by jng, 10 years ago

Unfortunately, the error you posted does not help at all. I'm more interested in the invalid AJAX response that triggered the JSON parsing error you posted.

in reply to:  1 comment:2 by BSellke, 10 years ago

Replying to jng:

Unfortunately, the error you posted does not help at all. I'm more interested in the invalid AJAX response that triggered the JSON parsing error you posted.

Thank you jng!

This is an interesting point: When I select a small amount of objects I can see in Firefox|Developer|Network the generated json data - but - when i select too much, there is no json!

Regards B.Sellke

comment:3 by jng, 9 years ago

Resolution: fixed
Status: newclosed

I suspect your issue is this (https://trac.osgeo.org/fusion/ticket/634).

Closing as such.

Note: See TracTickets for help on using tickets.