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)


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(
> 	at ec.display.Console.getJToolBar(
> 	at ec.display.Console.getJContentPane(
> 	at ec.display.Console.initialize(
> 	at ec.display.Console.<init>(
> 	at ec.display.Console.main(
> Did I not grab everything I was supposed to when I downloaded ECJ 16?
> Thanks,
> David vun Kannon