Filter
Exclude
Time range
-
Near
fuck c and cpp fans. and java. NullPointerExceptions.
2
7
465
πŸ”— Kotlin treats null-safety as a first-class feature: types are non-nullable by default, so you catch potential `NullPointerExceptions` at compile time, without the verbosity of `Optional`. See how this works in a Spring Boot backend πŸ‘‡ kotl.in/b74l38
1
3
61
4,748
If we properly use Spring's awesome features, we might be able to say goodbye to NullPointerExceptions -The β€œbillion-dollar mistake” is finally getting a real fix in the Spring ecosystem Spring Boot 4 Spring Framework 7 take a huge leap toward compile-time null-safety with JSpecify. @NullMarked and @Nullable, two annotations by Spring finally giving Java developers what we’ve needed for years: - Catch NPEs at compile time (with tools like NullAway) - Cleaner, explicit APIs - Smarter IDE guidance from the first line of code - More reliable production systems
3
9
84
3,996
A proposed enhancement, targeted for @ApacheGroovy version 6, adds an optional compile-time null checking mechanism. π‘ͺπ’‚π’•π’„π’‰π’Šπ’π’ˆ π‘΅π’–π’π’π‘·π’π’Šπ’π’•π’†π’“π‘¬π’™π’„π’†π’‘π’•π’Šπ’π’π’” 𝒂𝒕 π’„π’π’Žπ’‘π’Šπ’π’† π’•π’Šπ’Žπ’†. Read more about it and provide your feedback: groovy.apache.org/blog/groov…

3
7
409
Mar 16
The jSpecify specification helps you to avoid NullPointerExceptions. You can easily configure jSpecify support in Java projects using the freshly brewed jSpecify Agent Skill ♨️ github.com/sivaprasadreddy/s…
3
9
45
3,568
Replying to @SumitM_X
Backend lead is wrong. It should return 400 Bad Request with detail. The server shouldn't expose exceptions to the front end. NullpointerExceptions shouldn't happen in prod.
1
2
275
70β€―% aller Fehler in Java-Produktionscode sind #NullPointerExceptions. Mit #NullAway & #JSpecify lassen sie sich statisch verhindern – ohne große Umbauten. Richard Gross zeigt, wie Teams sicher & schrittweise migrieren. Details: javapro.io/de/wie-man-den-mi… @SpringCentral @UberEng
2
61
26 Dec 2025
Did You Know! πŸ’‘ The most expensive error in coding history is the "Null Reference". In 1965, computer scientist Tony Hoare introduced null into the ALGOL language. His reason? "It was just so easy to implement." He later apologized, calling it his "Billion Dollar Mistake." Why? Because NullPointerExceptions (and undefined errors) have caused countless system crashes, security vulnerabilities, and billions of dollars in lost time over the last 60 years. The Lesson: A crash happens not when code is complex, but when data is missing. β€’ In Java: Use Optional<T> instead of returning null. β€’ In JS: Use Optional Chaining (user?.name). Defensive coding saves weekends. πŸ›‘οΈ #Java #Programming #HistoryOfTech #SoftwareEngineering #DidYouKnow
2
2
49
2 Dec 2025
🚨 Say Goodbye to NullPointerExceptions 🚨 New video on what is jSpecify and how it helps to avoid NullPointerExceptions. youtube.com/watch?v=p3v8wJG3… πŸ‘‰ How @intellijidea Dataflow analysis catch some NPE issues πŸ‘‰ How IntelliJ IDEA show jSpecify Nullability issues as warnings πŸ‘‰ How to configure Maven to fail the build if there are Nullability Issues πŸ‘‰ How to customize IntelliJ IDEA settings to show Nullability issues as errors πŸ‘‰ How jSpecify helps in Spring Boot applications #Java #SpringBoot #IntelliJIDEA
3
19
134
14,284
29 Nov 2025
"that has NullPointerExceptions" ...and?
5
1,056
29 Nov 2025
well it is because it did not deliver on any of it's initial promises. There is literally better solutions for any field it operates in. Jack of all trades, master of none. As I said: Who builds in the overhead of a virtual machine and garbage collector and then has NullPointerExceptions. This is so braindead I cannot even...
1
2
441
29 Nov 2025
Replying to @vikasrajputin
A bloated memory managed language that has NullPointerExceptions. The greatest fail in programming history, except for JavaScript. That's even worse.
13
33
71,033
15 Nov 2025
NullPointerExceptions are still the #1 reason Java apps crash in production. Here’s a better way: catch them at compile time using #JSpecify and #NullAway in Quarkus. Simple setup, zero runtime cost. Read the full tutorial β†’ buff.ly/GtIsnAT #Java #Quarkus
1
6
25
1,984
I'm never leaving this app, says @__Piyushrathore People with sticks look like students not devs & one of them is likely rowdy, says @PachhaVenkatesh As a fellow dev Those 'Java devs' are just interns stress-testing their NullPointerExceptions IRL. Python stays chill. πŸπŸ˜‚πŸ€£
I'm never leaving this appπŸ˜‚πŸ˜‚
1
2
142
4 Nov 2025
Replying to @Alpharetta911
yeah yeah exception handled next time try not to throw nullpointerexceptions at me
1
20
31 Oct 2025
πŸ§Ÿβ€β™‚οΈ Night of the Undying NullPointerExceptions: A Scary Story from Kodee It was a quiet October evening like any other when Alex sat down to deploy an update. But what began as a simple deployment was quickly met with blood-curdling screams from the logs... One NullPointerException thrown after another, with no end in sight. The app crashed, users vanished, and darkness consumed the server room. AAAAHHH! Luckily, @kotlin's null safety provides the counter-curse needed to fend off these NullPointerException spirits. The compiler catches them before they can ever begin haunting you in production. ☠️ NullPointer nightmares, begone!
2
5
41
15,888
Spring Boot 4 tip: Collections with nullable elements (List<Nullable String>) help catch NullPointerExceptions at compile-time instead of runtime. No more surprises when processing API responses that might contain null values! πŸ›‘οΈ #SpringBoot #javabh
5
19
190
8,076
Java Interview Scenario based question: You're using @Autowired for field injection in your Spring project. It's simple and it works. @Component public class UserService { @Autowired private UserRepository userRepository; } Your team lead asks you to refactor this as field is injection often discouraged. Think of below drawbacks of field injection: β†’Visibility: Hides a class's required dependencies. β†’Testability: Makes unit testing harder, often requiring reflection. β†’Runtime Issues: Can lead to NullPointerExceptions if a dependency is missing. β†’Design: Encourages classes with too many responsibilities (violating SRP). So what's the recommended alternative? β†’ Constructor Injection. Dependencies are passed explicitly when the object is created, making them non-negotiable requirements. @Component public class UserService { private final UserRepository userRepo; // Final! public UserService(UserRepository userRepo) { this.userRepo = userRepo; } Why is Constructor Injection better? β†’ Explicit: Clearly defines what a class needs to function. β†’ Guaranteed: The application won't start if a dependency is missing. β†’ Immutable: final fields are safer and thread-friendly. β†’ Testable: Easily mock and pass dependencies in tests. Leads to more robust and maintainable code
4
23
191
8,426
How do you avoid NullPointerExceptions in Java without endless if (x != null) checks? Let’s find out πŸ‘‡
1
6
154
26 Aug 2025
Calling all Java devs! Head to the Discovery Theater in one hour to catch @dashaun 's session: "Null Safety in Spring with JSpecify and NullAway." Discover how to make NullPointerExceptions a thing of the past! #SpringOne #VMwareExplore brcm.tech/45TjWvo
4
12
1,341