Npe.java 6 Method invocation <code>((SomeInterfaceImpl)x).bar()</code> may produce <code>java.lang.NullPointerException</code>