I am making a space shooter in Java, but when I try to load up the image resources, I get a null pointer exception. Everything works fine except the images. Am I coding the directory wrong? How can I fix it?

Here is my code:

```
BufferedReader highScoreReader;
BufferedWriter highScoreWriter;

try {
    playerImage = ImageIO.read(this.getClass().getResourceAsStream("src/res/player.png"));
    bulletImage = ImageIO.read(this.getClass().getResourceAsStream("src/res/bullet.png"));
    enemyImage = ImageIO.read(this.getClass().getResourceAsStream("src/res/enemy.png"));

    highScoreReader = new BufferedReader(new FileReader("/files/HIGH_SCORE.txt"));
    highScoreWriter = new BufferedWriter(new FileWriter("/files/HIGH_SCORE.txt"));
} catch (Exception e) {
    e.printStackTrace();
}

```

Here is a screenshot of my file directories:

[![enter image description here](https://i.stack.imgur.com/zZ3yK.png)](https://i.stack.imgur.com/zZ3yK.png)