Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-599

NPE in PerChannelBookieClient

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.0, 4.2.1
    • Fix Version/s: 4.3.0
    • Component/s: bookkeeper-client
    • Labels:
      None

      Description

      When log level is DEBUG, a failure read will cause NPE in PerChannelBookieClient (rr.getData() is null):

      void handleReadResponse(BookieProtocol.ReadResponse rr) {
          if (LOG.isDebugEnabled()) {
              LOG.debug("Got response for read request {} entry length: {}",
                        rr, rr.getData().readableBytes());
          }
          ...
      }
      

        Attachments

        1. BOOKKEEPER-599.patch
          1 kB
          Jiannan Wang
        2. BOOKKEEPER-599.patch
          1.0 kB
          Jiannan Wang

          Activity

            People

            • Assignee:
              jiannan Jiannan Wang
              Reporter:
              jiannan Jiannan Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: