java.lang.NullPointerException

This exception has no message.

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 web123903

  • via Terracotta by unnutz, 11 months ago
    This exception has no message.
  • This exception has no message.
  • This exception has no message.
  • Stack trace

    • java.lang.NullPointerException at megamek.common.pathfinder.ShortestPathFinder.getLevelDiff(ShortestPathFinder.java:392) at megamek.common.pathfinder.ShortestPathFinder$MovePathAStarComparator.compare(ShortestPathFinder.java:212) at megamek.common.pathfinder.ShortestPathFinder$MovePathAStarComparator.compare(ShortestPathFinder.java:167) at java.util.PriorityQueue.siftUpUsingComparator(Unknown Source) at java.util.PriorityQueue.siftUp(Unknown Source) at java.util.PriorityQueue.offer(Unknown Source) at java.util.PriorityQueue.add(Unknown Source) at java.util.AbstractQueue.addAll(Unknown Source) at megamek.common.pathfinder.AbstractPathFinder.run(AbstractPathFinder.java:298) at megamek.common.pathfinder.AbstractPathFinder.run(AbstractPathFinder.java:325) at megamek.client.bot.BotClient.hasPathToCenter(BotClient.java:820) at megamek.client.bot.BotClient.getStartingCoordsArray(BotClient.java:766) at megamek.client.bot.princess.Princess.calculateDeployment(Princess.java:247) at megamek.client.bot.BotClient.calculateMyTurn(BotClient.java:398) at megamek.client.bot.BotClient$CalculateBotTurn.run(BotClient.java:100) at java.lang.Thread.run(Unknown Source)

    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

    You’re the first here who have seen this exception.