[mapguide-users] QUERYMAPFEATURES and requestdata = 3 throws NpE

mjirku martinjirku at gmail.com
Wed Jun 11 13:45:29 PDT 2014


Hello,
I am trying to use function QUERYMAPFEATURES in http request with following
attributes:

USERNAME:Anonymous
VERSION:2.6.0
OPERATION:QUERYMAPFEATURES
CLIENTAGENT:Ba map
SESSION:7f380636-f1a3-11e3-8000-000c29a84b46_en_MTI3LjAuMC4x0AFC0AFB0AFA
MAPNAME:Bratislava_WGS84
GEOMETRY:POINT(1911201.731377 6132057.4546509)
SELECTIONVARIANT:INTERSECTS
MAXFEATURES:-1
LAYERATTRIBUTEFILTER:2
FORMAT:application/json
PERSIST:1
REQUESTDATA:3

But I am getting MgNullReferenceException in response. It says: "Null
reference. No data from renderer." plus stack trace:
- MgRenderingServiceHandler.ProcessOperation() line 83 file
c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\RenderingServiceHandler.cpp
- MgOpRenderDynamicOverlay.Execute() line 162 file
c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\OpRenderDynamicOverlay.cpp
- MgServerRenderingService.RenderDynamicOverlay() line 412 file
c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp
- MgServerRenderingService.CreateImage() line 2041 file
c:\working\build_area\mapguide\2.6.0\x64\mgdev\server\src\services\rendering\ServerRenderingService.cpp

It is working with REQUESTDATA = 1, but it does not output bounds, I need
those.
Do you see obvious mistake I am doing, or what can be the problem.

The source of information about this feature is located here:
http://trac.osgeo.org/mapguide/wiki/MapGuideRfc126

Thanks a lot for your answers.
MJ



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/QUERYMAPFEATURES-and-requestdata-3-throws-NpE-tp5145379.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list