Skip to content

Conversation

@seer-by-sentry
Copy link

Fixes HACKERNEWS-ANDROID-1E. The issue was that: The fetchPage function uses item.by!! which throws a NullPointerException when processing job items lacking an author.

  • Replaced non-null assertion operator (!!) with null-coalescing operator (?: "") for the item.by (author) field when mapping to StoryItem.Content.
  • Ensures that the author field defaults to an empty string if it is null, preventing potential crashes.

This fix was generated by Seer in Sentry, triggered by Nelson Osacky. 👁️ Run ID: 8028103

Not quite right? Click here to continue debugging with Seer.

@seer-by-sentry seer-by-sentry bot requested a review from runningcode December 30, 2025 12:52
@runningcode runningcode marked this pull request as ready for review December 30, 2025 12:53
@emerge-tools
Copy link

emerge-tools bot commented Dec 30, 2025

🛰️ Build Distribution

Build available for installation

App Name App ID Platform Version Tag Install Page
Hacker News com.emergetools.hackernews android 1.0.6 release 🔗 Install Build

🛸 Powered by Emerge Tools

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants