mobac.exceptions.MapCreationException: java.lang.ClassCastException: mobac.program.tiledatawriter.TileImagePngDataWriter cannot be cast to mobac.program.tiledatawriter.TileImageJpegDataWriter

mobac | tre-da | 3 years 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

    Atlas creating error

    mobac | 3 years ago | tre-da
    mobac.exceptions.MapCreationException: java.lang.ClassCastException: mobac.program.tiledatawriter.TileImagePngDataWriter cannot be cast to mobac.program.tiledatawriter.TileImageJpegDataWriter

    Root Cause Analysis

    1. java.lang.ClassCastException

      mobac.program.tiledatawriter.TileImagePngDataWriter cannot be cast to mobac.program.tiledatawriter.TileImageJpegDataWriter

      at mobac.program.atlascreators.GarminCustom.writeTileImage()
    2. mobac.program.atlascreators
      GoogleEarthOverlay.createMap
      1. mobac.program.atlascreators.GarminCustom.writeTileImage(GarminCustom.java:53)
      2. mobac.program.atlascreators.GoogleEarthOverlay.createImage(GoogleEarthOverlay.java:225)
      3. mobac.program.atlascreators.GoogleEarthOverlay.createMap(GoogleEarthOverlay.java:153)
      3 frames
    3. mobac.program
      AtlasThread.run
      1. mobac.program.AtlasThread.createMap(AtlasThread.java:347)
      2. mobac.program.AtlasThread.createAtlas(AtlasThread.java:202)
      3. mobac.program.AtlasThread.run(AtlasThread.java:127)
      3 frames