getResourceAsStream retornando nulo

Não consegui descobiri pq meu getResourceAsStream só retorna nulo…

alguem tem uma dica o metodo é o seguinte

public static void retorna() throws IOException {
Image image = new Image(Thread.currentThread().getContextClassLoader().getResourceAsStream(“temp.jpg”));
tfFoto.setGraphic(new ImageView(image));
System.out.println(“imprimiu a foto na tela”);

}