ECJ-INTEREST-L Archives

January 2008

ECJ-INTEREST-L@LISTSERV.GMU.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
David vun Kannon <[log in to unmask]>
Reply To:
ECJ Evolutionary Computation Toolkit <[log in to unmask]>
Date:
Thu, 24 Jan 2008 18:52:17 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Thanks, Sean!

I rebuilt the project under Eclipse, this time choosing to put the .class
files in the same directory as the .java files and it came up fine.

Cheers,
David


>From: Sean Luke <[log in to unmask]>
>Reply-To: ECJ Evolutionary Computation Toolkit
><[log in to unmask]>
>To: [log in to unmask]
>Subject: Re: running the Console (from within Eclipse)
>Date: Thu, 24 Jan 2008 17:47:09 -0500
>
>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

ATOM RSS1 RSS2