Java14 Helpful NullPointer exception feature with Demo

Published: 01 October 2020
on channel: 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...


On this page of the site you can watch the video online Java14 Helpful NullPointer exception feature with Demo with a duration of hours minute second in good quality, which was uploaded by the user Balaji K Ravindran 01 October 2020, share the link with friends and acquaintances, this video has already been watched 245 times on youtube and it was liked by 66 viewers. Enjoy your viewing!