Exception in thread "main" java.lang.BootstrapMethodError: Exception from call site #0 bootstrap method at Main.main(Main.java:25) Caused by: java.lang.ClassCastException: Bootstrap method returned null ... 1 more exit status: 1