Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10655

RemoteRpcInvocation not overwriting ObjectInputStream's ClassNotFoundException

    XMLWordPrintableJSON

Details

    Description

      RemoteRpcInvocation tries to give a more detailed ClassNotFoundException if the method type/argument deserialization fails. However, it turns out, once ObjectInputStream has received a ClassNotFoundException, it will not overwrite this anymore and we can therefore not provide a more detailed ClassNotFoundException.

      Instead, the least invasive solution would be to add a suppressed ClassNotFoundException to the existing one. While at it, we could also add more details, i.e. the successfully deserialized types and arguments.

      Attachments

        Activity

          People

            nkruber Nico Kruber
            nkruber Nico Kruber
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: