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

Stack Overflow | Tannay | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    How to resolve SpatialException error.

    Stack Overflow | 8 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