Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Null Pointer Exception On Record Viewer #249

Open
gabistoenescu opened this issue May 18, 2022 · 0 comments
Open

Null Pointer Exception On Record Viewer #249

gabistoenescu opened this issue May 18, 2022 · 0 comments

Comments

@gabistoenescu
Copy link

Describe the bug
When double clicking on an record with null key (and an Avro value) I'm gettting a pop-up window with a NullPointerException stack trace.

To Reproduce
Steps to reproduce the behavior:

  1. Consume messages with null keys and Avro values
  2. Click to select one of the returned messages
  3. Double click on it to get the record viewer pop-up window
  4. See error in pop-up window

Expected behavior
See the message with the null key

Screenshots
For some reason I am unable to attach a screenshot so, I'll include a detailed description
Pop-up window name: viewModel.keyProperty.value must not be null
Pop-up window message: Error in classpath/insulator.views.main.topic.RecordView$root$1.invoke(RecordView.kt:22)
Pop-up window content:

java.lang.NullPointerException: viewModel.keyProperty.value must not be null at classpath//insulator.views.main.topic.RecordView$root$1.invoke(RecordView.kt:22) at classpath//insulator.views.main.topic.RecordView$root$1.invoke(RecordView.kt:12) at classpath//tornadofx.LayoutsKt.vbox(Layouts.kt:433) at classpath//tornadofx.LayoutsKt.vbox$default(Layouts.kt:144) at classpath//insulator.views.main.topic.RecordView.<init>(RecordView.kt:17) at classpath//insulator.viewmodel.main.topic.TopicViewModel$showRecordInfoView$1.invoke(TopicViewModel.kt:77) at classpath//insulator.viewmodel.main.topic.TopicViewModel$showRecordInfoView$1.invoke(TopicViewModel.kt:25) at classpath//insulator.ui.WindowsManager.openWindow(WindowsManager.kt:21) at classpath//insulator.viewmodel.main.topic.TopicViewModel.showRecordInfoView(TopicViewModel.kt:77) at classpath//insulator.views.main.topic.TopicView$recordsTable$1$3.invoke(TopicView.kt:142) at classpath//insulator.views.main.topic.TopicView$recordsTable$1$3.invoke(TopicView.kt:30) at classpath//tornadofx.NodesKt$onDoubleClick$1.handle(Nodes.kt:415) at classpath//tornadofx.NodesKt$onDoubleClick$1.handle(Nodes.kt) at classpath//com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86) at classpath//com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:234) at classpath//com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191) at classpath//com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59) at classpath//com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58) at classpath//com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at classpath//com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at classpath//com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at classpath//com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at classpath//com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at classpath//com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at classpath//com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at classpath//com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56) at classpath//com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114) at classpath//com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74) at classpath//com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54) at classpath//javafx.event.Event.fireEvent(Event.java:198) at classpath//javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3563) at classpath//javafx.scene.Scene$MouseHandler.process(Scene.java:3865) at classpath//javafx.scene.Scene.processMouseEvent(Scene.java:1851) at classpath//javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2584) at classpath//com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:409) at classpath//com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:299) at java.base/java.security.AccessController.doPrivileged(Unknown Source) at classpath//com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$2(GlassViewEventHandler.java:447) at classpath//com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:412) at classpath//com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:446) at classpath//com.sun.glass.ui.View.handleMouseEvent(View.java:556) at classpath//com.sun.glass.ui.View.notifyMouse(View.java:942) at classpath//com.sun.glass.ui.mac.MacView.notifyMouse(MacView.java:127)

Desktop (please complete the following information):

  • OS: macOS Monterey
  • Insulator version 0.8.0(100)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant