#NullPointerException

Java User Group Switzerlandjugch@ijug.social
2026-02-04

Heute geht es in #Luzern den #NullPointerException an den Kragen: @SimonMartinelli erklärt uns Null Safety mit #JSpecify in der Praxis!
#Java #null #NPE

JAVAPROjavapro
2025-12-15

A helpful , a trigger point & a working set—three features that can turn a week-long bug hunt into a half-hour fix. @manojnp shows how uses them in real-world .

Find out more: javapro.io/2025/08/12/breakpoi

@EclipseFdn @EclipseJavaIDE

JAVAPROjavapro
2025-12-04

The #1 production error in ? Still the . NullAway and bring static null-safety to Java codebases—gradually and without breaking everything.

Richard Gross explains how to migrate the smart way: javapro.io/2025/08/07/fixing-t

@UberEng @SpringCentral

2025-12-01

Wenn du mit Java arbeitest, wirst du früher oder später auf das Thema Optional stoßen. Gerade für Einsteiger ist das anfangs oft verwirrend. Warum braucht man das überhaupt? Wieso kann man nicht einfach null verwenden? Und wie geht man richtig damit um? In diesem Beitrag möchte ich dir zeigen,

magicmarcy.de/optionals-in-java

#Optionals #null #Null-Problem #NullPointerException #Java8 #orElse #Java #Programming

JAVAPROjavapro
2025-08-25

Die häufigste Ursache für Fehler in -Produktionssystemen? Immer noch: die . Richard Gross zeigt, wie Tools wie NullAway & schon zur Compile-Zeit absichern & welche Entscheidungen Teams treffen müssen.

Lese: javapro.io/de/wie-man-den-mill

@UberEng @SpringCentral

2025-08-05

For over two hours, #Fennec 141.0.0 has managed not to crash. This is because I didn't attempt to use it during that time.

#Firefox #Mozilla #NullPointerException #FDroid

Paul McO'Smith IIIpavsmith@theblower.au
2025-07-26

@Binder it being saturday and i am retired, i just got a #nullPointerException

2025-07-09

This website just actually threw a #Java #NullPointerException at me lol

A (very) plain HTML web page of the EU Clinical Trial Register telling me that an unexpected error has occurred.

In a text box, it shows a typical Java NullPointerException:

javax.ejb.EJBException: EJB Exception: : java.lang.NullPointerException

	at weblogic.ejb.container.internal.EJBRuntimeUtils.asEJBException(EJBRuntimeUtils.java:86)
	at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:461)
	at weblogic.ejb.container.internal.BaseLocalObject.handleSystemException(BaseLocalObject.java:410)
	at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:239)
	at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:195)
	at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:46)
	at eu.emea.eudract.registry.search.CtrIndexSearchService_hykyfk_CtrIndexSearchServiceImpl.fetchCtrResults(Unknown Source)
        ...
	at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
	at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
	at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:655)
	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
	at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused by: java.lang.NullPointerException
Cause:
java.lang.NullPointerException
Pixelcode Apps :verified:​pixelcodeapps@mstdn.social
2025-06-17

#Optionals are so tedious to deal with 😮‍💨”

You know what's more tedious? #NullPointerException‎s

Replay Jonesy 🚀ReplayJonesy
2025-03-20

🐾 Replay Java: Fight NullPointerException

"In code space, no one hears the 'NullPointerException' scream..." 🛸
How to avoid them? 🛠

1️⃣ Validate inputs
2️⃣ Prefer primitives
3️⃣ Use "equals" wisely
4️⃣ Leverage @NonNull
5️⃣ Embrace Optional
6️⃣ Analyze with SonarQube

👉 Share your NPE-fighting tips! 💬

2025-03-02

[Перевод] 3200% нагрузки на процессор

Совсем недавно моя машина была в таком запущенном состоянии, что я едва мог подключиться к ней через ssh. 3200% нагрузки на CPU — полностью использовались все 32 ядра хоста! Сравните это с моим последним багом, когда использовалось всего одно ядро, то есть 100% К счастью, я использовал среду выполнения Java 17, у которой были дампы потоков с указанием времени CPU!

habr.com/ru/articles/887040/

#nullpointerexception #многопоточность #concurrency #исключения #баги

2024-08-23

[Перевод] JSpecify 1.0.0 и nullability в Java

Рады сообщить, что JSpecify 1.0.0 теперь доступен в Maven Central: четыре аннотации, связанные с nullability — @Nullable, @NonNull, @NullMarked и @NullUnmarked — стали официальными, и, что немаловажно, обратная совместимость с ними будет гарантирована. В новом переводе от команды Spring АйО мы подробнее рассмотрим, какие преимущества и новшества предлагает JSpecify 1.0.0, как это может повлиять на ваш проект и что нам предлагается для борьбы с NPEs.

habr.com/ru/companies/spring_a

#jspecify #nullpointerexception #nullability #java

GripNewsGripNews
2024-07-05

🌗 Linux - 將`kill -11`發送到java進程會引發NullPointerException嗎?- Stack Overflow
➤ HotSpot JVM是如何檢測空指針異常並引發SIGSEGV信號的?
stackoverflow.com/questions/77
在一些邊緣情況下,外部殺死命令可能會導致Java應用程序中的虛假NullPointerException。 但這種行為取決於平臺且難以再現,我成功地在實踐中觸發了此行為。
+ 我從來沒有想過可以通過發送信號來模擬Java應用程序中的NullPointerException。
+ 這種對JVM行爲的探索真是太有趣了!
JVM

Coding Chicacodingchica
2023-08-08

Java protects application performance by using pointers to other memory locations when Objects are stored within an application. However, that means we have to check to see if an address is available before use.

codingchica.com/2023/08/07/its

satiresatire
2023-01-23

@themodestokid C/C++ has been asking that for years.

Null if I know.

2022-12-13

Is there an #IDE that plays that dramatic DA DA DAAAA fanfare whenever you have a #NullPointerException in the #debugger?

Steinar Bangsteinarb
2022-01-06

How I learnt to like Optional steinar.bang.priv.no/?p=450 I used to see Optional<Something> as a completely useless addition to Java, adding to the bloat of Java without being any clearer than checking if a reference is null. I have changed my mind, and now think Optional<> can be useful in making code simpler, easier to under

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst