Hello, I am currently getting
"Uncaught error fetching image:
java.lang.NullPointerException
at sun.awt.image.URLImageSource.getConnection(URLImag eSource.java:99)
at sun.awt.image.URLImageSource.getDecoder(URLImageSo urce.java:113)
at sun.awt.image.InputStreamImageSource.doFetch(Input StreamImageSource.java:240)
at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher. java:172)
at sun.awt.image.ImageFetcher.run(ImageFetcher.java:1 36)
"
even though every image is in the proper folder. I have multiple images and for some reason only 1 set wont load. Heres the code:
rammusImage = Toolkit.getDefaultToolkit().getImage(getClass().ge tResource("rr"+animationValue+".png"));
g.drawImage(rammusImage, width/3, height/2, null);