Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by scJazz2
, 1 year ago
This exception has no message.
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)