[Avrora] (no subject)

Ben L. Titzer titzer at cs.ucla.edu
Tue Aug 16 14:00:30 PDT 2005


Marco,

There is a slight bug in 1.6.0 that is already fixed in 1.7.x and  
will be fixed in 1.6.1 (along with some other problems).

You can fix this in src/avrora/sim/Simulation.java at line 312:

Should be:

         if ( id >= nodes.length ) grow();


On Aug 16, 2005, at 12:55 PM, marco.lopez at dibemail.dibe.unige.it wrote:

>
>
> Dear Members of the List,
>
> have you experimented this problem in the new release of Avrora  
> Beta 1.6.0?
>
>
> -------------------------------------------------------------------
>
> Avrora [Beta 1.6.0] - (c) 2003-2005 UCLA Compilers Group
>
> This simulator and analysis tool is provided with absolutely no  
> warranty,
> either expressed or implied. It is provided to you with the hope  
> that it be
> useful for evaluation of and experimentation with microcontroller  
> and sensor
> network programs. For more information about the license that this  
> software is
> provided to you under, specify the "license" option.
>
> Loading TOSBase.od...[OK: 0.975 seconds]
> Loading CntToLedsAndRfm.od...[OK: 0.401 seconds]
> java.lang.ArrayIndexOutOfBoundsException: 16
>         at avrora.sim.Simulation.createNode(Simulation.java:313)
>         at avrora.sim.types.SensorSimulation.createNodes 
> (SensorSimulation.java:294)
>         at avrora.sim.types.SensorSimulation.process 
> (SensorSimulation.java:259)
>         at avrora.actions.SimulateAction.run(SimulateAction.java:77)
>         at avrora.Main.runAction(Main.java:143)
>         at avrora.Main.main(Main.java:123)
> ---------------------------------------------------------------------- 
> -----
>
> all works fine until getting to the 16th node.
>
> regards,
> --marco.
>
> _______________________________________________
> Avrora mailing list
> Avrora at lists.ucla.edu
> http://lists.ucla.edu/cgi-bin/mailman/listinfo/avrora
>

========================================================
I was born not knowing and have had only a little time to change that  
here and there.
--Richard Feynman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucla.edu/pipermail/avrora/attachments/20050816/766e0523/attachment.htm


More information about the Avrora mailing list