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

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

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

    Stack Overflow | 8 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