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

NPE in PerChannelBookieClient

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.0, 4.2.1
    • 4.3.0
    • bookkeeper-client
    • 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.0 kB
          Jiannan Wang
        2. BOOKKEEPER-599.patch
          1 kB
          Jiannan Wang

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: