java.lang.IllegalArgumentException

n <= 0: 0

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3329

  • n <= 0: 0
  • via Stack Overflow by Unknown author, 1 year ago
    n <= 0: 0
  • n <= 0: 0
  • Stack trace

    • java.lang.IllegalArgumentException: n <= 0: 0 at java.util.Random.nextInt(Random.java:175) at org.osmdroid.tileprovider.tilesource.OnlineTileSourceBase.getBaseUrl(OnlineTileSourceBase.java:33) at org.osmdroid.tileprovider.tilesource.XYTileSource.getTileURLString(XYTileSource.java:19) at org.osmdroid.tileprovider.modules.MapTileDownloader$TileLoader.loadTile(MapTileDownloader.java:171) at org.osmdroid.tileprovider.modules.MapTileModuleProviderBase$TileLoader.run(MapTileModuleProviderBase.java:291) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    3 times, 1 month ago
    Unknown user
    Once, 1 month ago
    31 times, 6 months ago
    12 times, 8 months ago
    Unknown user
    Once, 1 year ago
    3 more bugmates