[ 
https://issues.apache.org/jira/browse/THRIFT-550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12880606#action_12880606
 ] 

Jordan edited comment on THRIFT-550 at 6/20/10 5:32 AM:
--------------------------------------------------------

UPDATE:
I just tried throwing a CHECKED exception (that was declared in the .thrift 
file) from a sync client (which I though was working) and it seems like the 
exception that was caught is not at all related to the one that was thrown.
Instead the caught exception is related to "this.robj is undefined."
I do understand that the test cases are working fine, and those exceptions are 
being caught properly in the js, but mine are not. I can't find what is 
different. I practically copied the code and just renamed the Exception and the 
service operation, yet it won't catch mine. :(
What can I do, if anything, to help get this problem fixed. I don't understand 
much about this project, but it's important that exceptions get translated into 
javascript correctly.

      was (Author: jordo):
    UPDATE:
I just tried throwing a CHECKED exception (that was declared in the .thrift 
file) from a sync client (which I though was working) and it seems like the 
exception that was caught is not at all related to the one that was thrown.
Instead the caught exception is related to "this.robj is undefined."

What can I do, if anything, to help get this problem fixed. I don't understand 
much about this project, but it's important that exceptions get translated into 
javascript correctly.
  
> JavaScript language target
> --------------------------
>
>                 Key: THRIFT-550
>                 URL: https://issues.apache.org/jira/browse/THRIFT-550
>             Project: Thrift
>          Issue Type: New Feature
>            Reporter: T Jake Luciani
>            Assignee: T Jake Luciani
>             Fix For: 0.3
>
>         Attachments: THRIFT-550_initialize_with_null.patch, thrift_js.patch, 
> thrift_js_v2.patch, thrift_js_v3.patch
>
>
> This allows javascript clients to be built for browser based access to thrift 
> services.
> The supported transport is XHTTPRequest and the supported Protocol is 
> compatible with TJSONProtocol
> I've added a test in lib/js that is a java based HTTP server which implements 
> ThriftTest service.
> I've put a version of this test service here 
> http://3.rdrail.net:8080/test/test.html if you'd like to see it in action.
> It's been tested in ie 6,7,8, FF, and Safari.
> Let me know if you hit any issues.  The protocol and transport code aren't 
> very error tolerant, but overall it seems to work quite well.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to