ECJ expects certain image files to be located next to the class file which is loading them. Most likely you've set up Eclipse to move the class files to a separate build directory, leaving the image files behind. You can fix this by either: - getting Eclipse to leave the class files right next to the java files (and image files) - modifying the GUI code to look for the images somewhere else - deleting the GUI code (just delete the 'display' directory) Sean On Jan 24, 2008, at 5:28 PM, David vun Kannon wrote: > Hi, > > I've just started with ECJ, and I'm trying work through the > tutorials. Working within the Eclipse framework, I can get the > tutorials to run fine, but trying the Console I got this: > > Exception in thread "main" java.lang.NullPointerException > at javax.swing.ImageIcon.<init>(Unknown Source) > at ec.display.Console.getPlayButton(Console.java:181) > at ec.display.Console.getJToolBar(Console.java:163) > at ec.display.Console.getJContentPane(Console.java:525) > at ec.display.Console.initialize(Console.java:508) > at ec.display.Console.<init>(Console.java:96) > at ec.display.Console.main(Console.java:494) > > Did I not grab everything I was supposed to when I downloaded ECJ 16? > > Thanks, > David vun Kannon