Mantis - Resin
Viewing Issue Advanced Details
2024 minor always 09-24-07 15:22 10-02-07 10:32
emil  
 
normal  
closed 3.1.2  
fixed  
none    
none 3.1.3  
0002024: Hessian/Flash Error Handling
(Reported by Tamas Jung)

I tried "Hessian ActionScript Hello World" on http://hessian.caucho.com/doc/flash.xtp [^] . It works fine except a serious error handling issue. If I modify the fault function to trace the info object, I get this:

[FaultEvent fault=[RPC Fault faultString="Error 0001009: Cannot access a property or method of a null object reference." faultCode="InvokeFailed" faultDetail="null"] messageId=null type="fault" bubbles=false cancelable=true eventPhase=2]

Despite of this error, I get the correct result from the server, so I could ignore it, but if something goes really wrong (ie. the server is down) the message is the same. Because of this there is no way for having correct exception handling.

Notes
(0002321)
emil   
10-02-07 10:32   
Thanks for the bug report. That fault has been eliminated and real fault handling has been implemented.