powertac/powertac-server — Issue #411: Household customer model instability
Author: jecollins
Created: 2011-11-03 02:06:09+00:00
State: open

I am occasionally getting server crashes, with error messages like this:

Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 96
at java.util.Vector.get(Vector.java:694)
at org.powertac.householdcustomer.customers.Household.isEmpty(Household.java:429)
at org.powertac.householdcustomer.appliances.Stove.fillDailyFunction(Stove.java:98)
at org.powertac.householdcustomer.appliances.SemiShiftingAppliance.fillWeeklyFunction(SemiShiftingAppliance.java:72)
at org.powertac.householdcustomer.appliances.Stove.refresh(Stove.java:191)
at org.powertac.householdcustomer.customers.Household.refresh(Household.java:641)
at org.powertac.householdcustomer.customers.Household.initialize(Household.java:179)
at org.powertac.householdcustomer.customers.Village.initialize(Village.java:181)
at org.powertac.householdcustomer.HouseholdCustomerService.init(HouseholdCustomerService.java:121)
at org.powertac.householdcustomer.HouseholdCustomerInitializationService.initialize(HouseholdCustomerInitializationService.java:77)
at org.powertac.server.CompetitionControlService.configurePlugins(CompetitionControlService.java:747)