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

Yann Kerherve commented on THRIFT-758:
--------------------------------------

Jake,

I unfortunately have no clue how to generate a TApplicationException with the 
provided ThriftTest.

I didn't find a way to run the tests automatically either. I manually executed:
perl -Iblib/lib -Ilib -Itest/gen-perl test/processor.t

Thanks,

Yann

> incorrect deference in exception handling
> -----------------------------------------
>
>                 Key: THRIFT-758
>                 URL: https://issues.apache.org/jira/browse/THRIFT-758
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Perl)
>    Affects Versions: 0.2, 0.3
>         Environment: thrift from github mirror. Mac OS 10.6.3 
>            Reporter: Yann Kerherve
>         Attachments: yann.patch
>
>
> This is a nasty error that is triggered during exception, leaving
> the user clueless about the error since she gets a Perl error
> instead:
>     
>     "Can't use string ("0") as a SCALAR ref while "strict refs" in use"
>     
> For instance:
> http://stackoverflow.com/questions/2488783/why-do-i-get-an-error-when-insert

-- 
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