Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1184

Provide more meaningful messages for EOFException

    XMLWordPrintable

Details

    Description

      During state transfer and any other streaming functionality, the sender could prematurely die without sending all the bytes. This generally results on the receiver side throwing:

      2011-06-09 15:32:18,092 ERROR [JGroupsTransport]
      (Incoming-1,Infinispan-Cluster,NodeB-32230) ISPN00096: Caught while
      requesting or applying state
      org.infinispan.statetransfer.StateTransferException:
      java.io.EOFException: Read past end of file
      	at org.infinispan.statetransfer.StateTransferManagerImpl.applyState(StateTransferManagerImpl.java:333)

      This can be a bit misleading for users, so the exception should be laundered into something that's more meaningful.

      Attachments

        Activity

          People

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: