<font size=2 face="sans-serif">Thanks for a fast reply.</font>
<br>
<br><font size=2 face="sans-serif">I found what triggered the error!!</font>
<br>
<br><font size=2 face="sans-serif">In the GetCapabilities111.xml (on our
ArcGIS server) i found that the extent for my WMS-service was defined as
follows:</font>
<br><font size=2 face="sans-serif"><BoundingBox SRS="EPSG:3008"
minx="128335.406600" miny="6572414.416700" maxx="179357.267900"
maxy="6627935.900400"/></font>
<br>
<br><font size=2 face="sans-serif">The "." (dot) made Maestro
throwing the error.</font>
<br>
<br><font size=2 face="sans-serif">I edited the .xml-file:</font>
<br><font size=2 face="sans-serif"><BoundingBox SRS="EPSG:3008"
minx="128335" miny="6572414" maxx="179357"
maxy="6627935"/></font>
<br>
<br><font size=2 face="sans-serif">Now i won't get the error and the preview
launches! =) Great!</font>
<br>
<br><font size=2 face="sans-serif">//Johan</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Från:</font>
<td><font size=1 face="sans-serif">Jackie Ng <jumpinjackie@gmail.com></font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Till:</font>
<td><font size=1 face="sans-serif">mapguide-users@lists.osgeo.org</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Datum:</font>
<td><font size=1 face="sans-serif">2011-07-28 14:40</font>
<tr valign=top>
<td><font size=1 color=#5f5f5f face="sans-serif">Ärende:</font>
<td><font size=1 face="sans-serif">[mapguide-users] Re: View WMS in Maestro
- "Object reference not set to an instance of an object"</font></table>
<br>
<hr noshade>
<br>
<br>
<br><tt><font size=2>I personally experienced this strange error today.
The problem in my case was<br>
that the WKT for the geometry representing the extents of the Feature Source<br>
was being returned like this:<br>
<br>
POLYGON ((-1.#INF -1.#INF, 1.#INF -1.#INF, 1.#INF 1.#INF, -1.#INF 1.#INF,<br>
-1.#INF -1.#INF))<br>
<br>
We need the extents to generate a suitable bounding box for a temporary
Map<br>
Definition that contains the layer we want to preview. The above WKT does<br>
not parse to a valid bounding box, hence null is returned, triggering this<br>
nasty chain of events.<br>
<br>
You may be experiencing the same problem. Right click your Feature Source<br>
and choose "Show Spatial Contexts" and look at the extent column.
Do you see<br>
similar values? If so, then it's a problem in either the FDO provider,<br>
MapGuide's handling of these values, or the WMS configuraiton document.<br>
<br>
Long story short: Something's messed up with the Spatial Context extent<br>
values in the Feature Source<br>
<br>
- Jackie<br>
<br>
--<br>
View this message in context: </font></tt><a href="http://osgeo-org.1803224.n2.nabble.com/View-WMS-in-Maestro-Object-reference-not-set-to-an-instance-of-an-object-tp6629437p6629706.html"><tt><font size=2>http://osgeo-org.1803224.n2.nabble.com/View-WMS-in-Maestro-Object-reference-not-set-to-an-instance-of-an-object-tp6629437p6629706.html</font></tt></a><tt><font size=2><br>
Sent from the MapGuide Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapguide-users mailing list<br>
mapguide-users@lists.osgeo.org<br>
</font></tt><a href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"><tt><font size=2>http://lists.osgeo.org/mailman/listinfo/mapguide-users</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
<br>