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

Generated Union structs don't skip unknown fields properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.2
    • 0.3
    • Java - Compiler
    • None

    Description

      The generated readValue method assumes it can use the default clause to catch null field ids, which is incorrect. When a field can't be found, it causes an NPE.

      Attachments

        Activity

          People

            bryanduxbury Bryan Duxbury
            bryanduxbury Bryan Duxbury
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: