Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wrldwzrd89

macrumors G5
Original poster
Jun 6, 2003
12,110
77
Solon, OH
For some odd reason, trying to load any of the images in the attached zip file using this code:
Code:
final URL url = GraphicsManager.class.getResource("/net/worldwizard/fantastle/resources/graphics/objects/" + normalName + ".png");
final BufferedImage image = ImageIO.read(url);
Where normalName is the name of the image file (without the extension), causes an EOFException, on the second line. Other images work just fine, and resaving the offending images doesn't seem to help.

I'm using the latest Java 5 on Mac OS X 10.5.6.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.