Select to view content in your preferred language

Error in Dynamic Legend for SFV1.3 AGS9.3

711
0
03-02-2011 04:16 AM
NicolaLugeri
Deactivated User
Hello!
last november we added the dynamic legend widget to our viewer, and it's been working with no particular problems, until a few days ago. No changes at all have been performed on any HW/SW configuration since then.
Now, when one clicks on the widget icon, the system returns the following error message in the widget window:
----------------
(mx.messaging.messages::ErrorMessage)#0
  body = "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance of an object.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>"
  clientId = "DirectHTTPChannel0"
  correlationId = "E4258224-CB77-5E1A-D5FE-76C5BAB1D256"
  destination = ""
  extendedData = (null)
  faultCode = "Server.Error.Request"
  faultDetail = "Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://SERVER_ADDRESS/restLegend/restLegend.asmx"
  faultString = "HTTP request error"
  headers = (Object)#1
    DSStatusCode = 500
  messageId = "6E926174-E8DA-8F43-58E9-76C5D5DAF88E"
  rootCause = (flash.events::IOErrorEvent)#2
    bubbles = false
    cancelable = false
    currentTarget = (flash.net::URLLoader)#3
      bytesLoaded = 441
      bytesTotal = 441
      data = "<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Server was unable to process request. ---&gt; Object reference not set to an instance of an object.</faultstring><detail /></soap:Fault></soap:Body></soap:Envelope>"
      dataFormat = "text"
    eventPhase = 2
    target = (flash.net::URLLoader)#3
    text = "Error #2032"
    type = "ioError"
  timestamp = 0
  timeToLive = 0
-------------------------------------------------------
We have checked if the REST service correctly builds the legend tiles, and it seems so (only problem is that it looks that tiles are built for every layer, not only for the visible ones, but we don't remember if this has always been the case).
The problem therefore seems to be in the phase of building the xml legend file or when this xml file is read and displayed in the widget.

Does anybody have advice?

Thanks

Nicola
Tags (2)
0 Kudos
0 Replies