Ticket #1040 (closed assessed: unable to duplicate)

Opened 13 years ago

Last modified 12 years ago

Ecospace throws an Exception after maps have been re-sized

Reported by: joeb Owned by: jeroens
Priority: normal Milestone: Ecopath 6: release 6.3 BETA
Component: Ecospace Version:
Severity: crash Keywords:

Description (last modified by jeroens) (diff)

  1. Open an Ecospace scenario with a large number of cells.
  2. Define a migration pattern for one of the groups that uses the outside edge of the map.
  3. Save the scenario.
  4. Resize the map to smaller size so that the migration pattern is outside the map for at least part of the map.
  5. Run Ecospace
  6. Ecospace will assert on an Exception in cEcopace.SetMigGrad() then keep running

The PrefRow() and PrefCol() arrays will/can contain row and col indexes outside the map boundary. This may also happen with Habitats, I haven't checked this. Try assigning a group to the last habitat type, then save delete the habitat and see if Ecospace will run.

Change History

comment:1 Changed 12 years ago by jeroens

  • Owner set to joeb
  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 12 years ago by jeroens

  • Owner changed from joeb to jeroens

comment:3 Changed 12 years ago by jeroens

Does not happen for habitats
Truncated row, col for migration.

comment:4 Changed 12 years ago by jeroens

  • Status changed from assigned to closed
  • Resolution set to unable to duplicate

Can no longer reproduce in EwE 6.3 pre-release

Note: See TracTickets for help on using tickets.