Test.java 12 Method invocation <code>provider.getResource()</code> may produce <code>java.lang.NullPointerException</code>