Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-2431

Fix NPE when debugging Message::readHeader

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Optional
    • 4.1.9
    • None
    • None

    Description

      When debugging the following method a NPE will throw if you try to evaluate the "hdr" expression.

          protected static Header readHeader(DataInput in) throws IOException, ClassNotFoundException {
              short magic_number=in.readShort();
              Header hdr=ClassConfigurator.create(magic_number);
              hdr.readFrom(in);
              return hdr;
          }
      

      Attachments

        Activity

          People

            dlovison@redhat.com Diego Lovison
            dlovison@redhat.com Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: