Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

java.lang.NullPointerException: source	at java.util.Objects.requireNonNull(Objects.java:228)	at java.util.Scanner.(Scanner.java:578)	at moe.banana.jsonapi2.TestResources.readResource(TestResources.java:8)	at moe.banana.jsonapi2.TestResources.getPrivateSampleSerialized(TestResources.java:17)	at moe.banana.jsonapi2.PrivateAndProtectedTest.serializePrivate(PrivateAndProtectedTest.java:58)