thunder-app/thunder

"Null check operator used on null value" when commenting on a post

sukhmel opened this issue · 3 comments

Bug Description

There are two reply buttons in the post, one just under the post works correctly, other is down at the bottom of the screen and it seems to lose context causing "Null check operator used on null value" error. Using it for commenting doesn't work anymore

Expected Behaviour

When I click on the bottom reply button I can then post a comment.

Steps to Reproduce

  1. Open a post
  2. Press bottom reply button
  3. Observe no post preview above the comment text area
  4. Try to publish the comment

Additional Context

This seems to be a rare issue, but it consistently reproduces for me in this post:
https://programming.dev/post/16349241

App Version

0.5.0-2

Device

Pixel 8 Pro

OS

Android 14

Observe no post preview above the comment text area

Hmm, I'm unable to reproduce this issue here. In both cases, I can still see the post preview. Does this happen on a specific user/instance? I can try to reproduce it using a different instance (tested this on lemmy.world instance)

comment-reply.mp4

Doesn't reproduce for me anymore, either. Maybe some rare bug or a cache issue ¯\_(ツ)_/¯

I will post again if that happens again, and will maybe try with different instances that time

Sounds good! I'll just close this issue but feel free to let me know if you encounter this again.