java.lang.ClassCastException: AStar.Node cannot be cast to java.util.Map

Stack Overflow | Alex Lp Z | 10 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

    Node cannot be cast to java.util.Map. AStart implementation

    Stack Overflow | 10 months ago | Alex Lp Z
    java.lang.ClassCastException: AStar.Node cannot be cast to java.util.Map

    Root Cause Analysis

    1. java.lang.ClassCastException

      AStar.Node cannot be cast to java.util.Map

      at AStar.GraphAStar.addNode()
    2. AStar
      AStar.main
      1. AStar.GraphAStar.addNode(GraphAStar.java:51)
      2. AStar.AStar.main(AStar.java:283)
      2 frames