Java 15
Null Pointer
List<String> elements = new ArrayList<>();
elements.add(null);
System.out.println(elements.get(0).toLowerCase());
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.toLowerCase()" because the return value of "java.util.List.get(int)" is null
at org.acme.Api.main(Api.java:88)