There appears to be a bug in the bear class:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at bear.act(bear.java:38)
at greenfoot.core.Simulation.runOneLoop(Simulation.java:200)
at greenfoot.core.Simulation.run(Simulation.java:129)
This basically means you're trying to access the first element in an arraylist that contains no elements on line 38 of your bear class.
2009/1/28
2009/1/29