java.lang.NegativeArraySizeException: -4

GitHub | Lineflyer | 4 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

    Negative Array Size Exception

    GitHub | 4 months ago | Lineflyer
    java.lang.NegativeArraySizeException: -4
  2. 0

    NPE in DistanceDrawer

    GitHub | 2 years ago | Bananeweizen
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    "Index out of bounds" on Mapsforge map

    GitHub | 4 years ago | Lineflyer
    java.lang.IndexOutOfBoundsException: Invalid index 971, size is 961

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NegativeArraySizeException

      -4

      at cgeo.geocaching.utils.CanvasUtils.drawPath()
    2. cgeo.geocaching.utils
      CanvasUtils.drawPath
      1. cgeo.geocaching.utils.CanvasUtils.drawPath(CanvasUtils.java:25)
      1 frame
    3. cgeo.geocaching.maps
      MapsforgeOverlay.drawOverlayBitmap
      1. cgeo.geocaching.maps.DirectionDrawer.drawDirection(DirectionDrawer.java:69)
      2. cgeo.geocaching.maps.PositionAndScaleOverlay.drawInternal(PositionAndScaleOverlay.java:78)
      3. cgeo.geocaching.maps.PositionAndScaleOverlay.drawOverlayBitmap(PositionAndScaleOverlay.java:67)
      4. cgeo.geocaching.maps.mapsforge.MapsforgeOverlay.drawOverlayBitmap(MapsforgeOverlay.java:32)
      4 frames
    4. org.mapsforge.v3
      Overlay.run
      1. org.mapsforge.v3.android.maps.overlay.Overlay.redrawOverlay(Overlay.java:313)
      2. org.mapsforge.v3.android.maps.overlay.Overlay.run(Overlay.java:250)
      2 frames