Describe the bug
version 2.4.1
code path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/PositionImpl.java
init function
public static PositionImpl get(PositionImpl other) {
return new PositionImpl(other);
}
public PositionImpl(PositionImpl other) {
this.ledgerId = other.ledgerId;
this.entryId = other.entryId;
}
when the param "other" be Null Object, the process will throw NullPointerException.