English English Spanish EspañolKorea한국어
Straker»Company»Blog»2007» Server-side Debugging in ZoomFlex

Server-side Debugging in ZoomFlex

Arnold from Nicetouch recently asked a question on the mailing list regarding debugging a server-side error message in ZoomFlex. Here are a few pointers that may help when you have these types of issues.

Here is Arnold's question:

Is anyone getting this error?  It pops up when I click on Login
Anonymously in the zoomflexblog app.

RemoteObject Error:
 faultCode:Remote Object Error Caught faultString:'Element user is
undefined in a CFML structure referenced as part of an expression.'
faultDetail:'none'

When you look at the error it actually says it is a remote object error which indicates it is a server side problem, not a Flex error. The Flex client has executed a command, sent a request to the server, the server has encounter an error and sent a high level explanation of the error back to the Flex client.

The detail of the error is not enough to be useful so we need to get more detail to successfully debug the issue. When developing ZoomFlex we deliberately built debugging (both server and client) into the framework for this purpose. Under the "Package" tab when you are compiling your ZoomFlex application is a "Debugging Settings" section. To debug server side errors you should enable the "Enable debugging(Exernal)" checkbox and set the path to an html file you can dump the debug information too, e.g. "c:\\mydumpfile.html" . 

 

Now, when you try your flex client action again (in Arnolds case trying to login) then any server side errors will be dumped to the dump file named above.

 

As the file is dumped as HTML you should use a browser to view the error information.

 

 


Comments

Add a comment

Add Comment