repast.simphony.space.SpatialException: Target location -1 is outside of grid's dimensions.

Stack Overflow | Tannay | 3 months ago
  1. 0

    How to resolve SpatialException error.

    Stack Overflow | 3 months ago | Tannay
    repast.simphony.space.SpatialException: Target location -1 is outside of grid's dimensions.

    Root Cause Analysis

    1. repast.simphony.space.SpatialException

      Target location -1 is outside of grid's dimensions.

      at repast.simphony.space.grid.AbstractGridPointTranslator.boundsCheck()
    2. repast.simphony.space
      AbstractGridPointTranslator.transform
      1. repast.simphony.space.grid.AbstractGridPointTranslator.boundsCheck(AbstractGridPointTranslator.java:48)
      2. repast.simphony.space.grid.AbstractGridPointTranslator.transform(AbstractGridPointTranslator.java:38)
      2 frames
    3. repast.simphony.valueLayer
      BufferedGridValueLayer.get
      1. repast.simphony.valueLayer.GridValueLayer.getTransformedLocation(GridValueLayer.java:288)
      2. repast.simphony.valueLayer.GridValueLayer.get(GridValueLayer.java:235)
      3. repast.simphony.valueLayer.BufferedGridValueLayer.get(BufferedGridValueLayer.java:129)
      3 frames
    4. tester
      Insulation.step
      1. tester.Insulation.Move(Insulation.java:138)
      2. tester.Insulation.step(Insulation.java:101)
      2 frames