java.lang.ClassCastException: java.lang.String cannot be cast to java.util.UUID

GitHub | clienthax | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Calling same code fails first time.

    GitHub | 2 years ago | clienthax
    java.lang.ClassCastException: java.lang.String cannot be cast to java.util.UUID

    Root Cause Analysis

    1. java.lang.ClassCastException

      java.lang.String cannot be cast to java.util.UUID

      at uk.co.haxyshideout.pixelmon.protection.GoldenShovelStore.saveClaims()
    2. uk.co.haxyshideout
      GoldenShovelHandler.onChestPlacement
      1. uk.co.haxyshideout.pixelmon.protection.GoldenShovelStore.saveClaims(GoldenShovelStore.java:62)
      2. uk.co.haxyshideout.pixelmon.protection.GoldenShovelStore.createClaim(GoldenShovelStore.java:110)
      3. uk.co.haxyshideout.pixelmon.protection.GoldenShovelStore.createClaim(GoldenShovelStore.java:103)
      4. uk.co.haxyshideout.pixelmon.protection.GoldenShovelStore.createChestClaim(GoldenShovelStore.java:97)
      5. uk.co.haxyshideout.pixelmon.eventhandlers.GoldenShovelHandler.onChestPlacement(GoldenShovelHandler.java:25)
      5 frames