Tagged articles
10 articles
Page 1 of 1
Java Backend Technology
Java Backend Technology
Jul 18, 2025 · Backend Development

Why Did My New Java Developer Trigger NPE? Lessons & Fixes

A new Java developer caused a production NullPointerException while matching third‑party data, and the article walks through reproducing the bug, analyzing each faulty line, and applying defensive programming techniques such as early returns, Optional, Objects.equals, and collection checks to prevent similar crashes.

Objects.equalscode qualitydefensive programming
0 likes · 6 min read
Why Did My New Java Developer Trigger NPE? Lessons & Fixes
Java High-Performance Architecture
Java High-Performance Architecture
Feb 20, 2023 · Backend Development

Why Objects.equals Beats a.equals in Java: Null Safety and Source Code Explained

This article explains how Java's Objects.equals differs from the traditional a.equals(b) method, covering null and empty‑string scenarios, demonstrating safe comparisons without NullPointerExceptions, and includes a concise analysis of the underlying source code and the distinction between a==b and a.equals(b).

JavaObjects.equalsequality
0 likes · 5 min read
Why Objects.equals Beats a.equals in Java: Null Safety and Source Code Explained