Java14 Helpful NullPointer exception feature with Demo

Veröffentlicht am: 01 Oktober 2020
auf dem Kanal: Balaji K Ravindran
245
66

Understand #Java 14 Helpful NullPointerException feature (JEP 358) in just 4 minutes with Demo

This video will explain you “What are the enhancements done to #NullPointerException in Java 14” and “How to enable this feature".

After watching this video you will be able to enable this feature and identify exactly what attribute caused NullPointerException when it occurs.

Also you will be be able to enable this in Docker containers after watching this video.

In Java 14 there is a new feature/enhancement introduced to the way NullPointerException is being displayed. NullPointerException occurs whenever null reference being referred. Though we will get NullPointerException, but there is no useful clues as such which particular attribute was the root cause. Java 14 enhanced this and with this feature enabled it will exactly point out what attribute/object was the real root cause for the NullPointerException.

The sample code (which is used in this video) can be downloaded from my git repository.

GitHub:
https://github.com/balajikrb/tutorials

Reference:
https://www.baeldung.com/java-14-null...


Auf dieser Seite können Sie das Online-Video Java14 Helpful NullPointer exception feature with Demo mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Balaji K Ravindran 01 Oktober 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 245 Mal angesehen und es wurde von 66 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!