From 6575d07d143bf98ec5071ce84f4a36e740ced482 Mon Sep 17 00:00:00 2001 From: "H@di" Date: Tue, 17 Sep 2024 11:36:32 +0330 Subject: [PATCH] FE: fix a null pointer exception due to test fixtures (#550) --- api/src/test/java/io/kafbat/ui/emitter/CursorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/test/java/io/kafbat/ui/emitter/CursorTest.java b/api/src/test/java/io/kafbat/ui/emitter/CursorTest.java index 0a472ecd8..99f2a65d1 100644 --- a/api/src/test/java/io/kafbat/ui/emitter/CursorTest.java +++ b/api/src/test/java/io/kafbat/ui/emitter/CursorTest.java @@ -164,7 +164,7 @@ private ForwardEmitter createForwardEmitter(ConsumerPosition position) { } private Cursor.Tracking createCursor(ConsumerPosition position) { - return cursorsStorage.createNewCursor(createRecordsDeserializer(), position, m -> true, PAGE_SIZE, null); + return cursorsStorage.createNewCursor(createRecordsDeserializer(), position, m -> true, PAGE_SIZE, "CursorId"); } private EnhancedConsumer createConsumer() {