Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-758

incorrect deference in exception handling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2, 0.3
    • Fix Version/s: 0.5
    • Component/s: Perl - Compiler
    • Labels:
      None
    • Environment:

      thrift from github mirror. Mac OS 10.6.3

    • Patch Info:
      Patch Available

      Description

      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

        Attachments

        1. yann.patch
          1 kB
          Yann Kerherve

          Activity

            People

            • Assignee:
              yannk Yann Kerherve
              Reporter:
              yannk Yann Kerherve
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: