Print

Print


> On Mar 19, 2018, at 3:14 PM, Peter Gacs <[log in to unmask]> wrote:
> 
>> What were the errors you got from Eclipse?
> 
> Little red x next to many components.
> 
> Also, when I try to run the Console I get a warning about errors.  I am bringing it up anyway, and try to run, say, Ant Foraging.  I get the following trace:
> 
> java.lang.reflect.InvocationTargetException
> 	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1307)
> 	at java.awt.EventQueue.invokeAndWait(EventQueue.java:1282)
> 	at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
> 	at sim.display.Console.launchClass(Console.java:1958)
> 	at sim.display.Console.doNew(Console.java:2090)
> 	at sim.display.Console.main(Console.java:1726)
> Caused by: java.lang.ClassFormatError: Duplicate method name&signature in class file sim/util/media/chart/XYChartGenerator

Wow, that is nuts.  MASON should have no problems whatsoever in this regard -- it's quite bog-standard Java code.  Some googling suggests that this may be an Eclipse compiler bug, but honestly, I have no idea what Eclipse is doing here.

Sean