{"action":"created","issue":{"url":"https://api.github.com/repos/MegaMek/megamek/issues/101","repository_url":"https://api.github.com/repos/MegaMek/megamek","labels_url":"https://api.github.com/repos/MegaMek/megamek/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/MegaMek/megamek/issues/101/comments","events_url":"https://api.github.com/repos/MegaMek/megamek/issues/101/events","html_url":"https://github.com/MegaMek/megamek/issues/101","id":143309571,"number":101,"title":"NPE while using Princess for AtB","user":{"login":"Menzius","id":17795357,"avatar_url":"https://avatars.githubusercontent.com/u/17795357?v=3","gravatar_id":"","url":"https://api.github.com/users/Menzius","html_url":"https://github.com/Menzius","followers_url":"https://api.github.com/users/Menzius/followers","following_url":"https://api.github.com/users/Menzius/following{/other_user}","gists_url":"https://api.github.com/users/Menzius/gists{/gist_id}","starred_url":"https://api.github.com/users/Menzius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Menzius/subscriptions","organizations_url":"https://api.github.com/users/Menzius/orgs","repos_url":"https://api.github.com/users/Menzius/repos","events_url":"https://api.github.com/users/Menzius/events{/privacy}","received_events_url":"https://api.github.com/users/Menzius/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MegaMek/megamek/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"arlith","id":13815237,"avatar_url":"https://avatars.githubusercontent.com/u/13815237?v=3","gravatar_id":"","url":"https://api.github.com/users/arlith","html_url":"https://github.com/arlith","followers_url":"https://api.github.com/users/arlith/followers","following_url":"https://api.github.com/users/arlith/following{/other_user}","gists_url":"https://api.github.com/users/arlith/gists{/gist_id}","starred_url":"https://api.github.com/users/arlith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlith/subscriptions","organizations_url":"https://api.github.com/users/arlith/orgs","repos_url":"https://api.github.com/users/arlith/repos","events_url":"https://api.github.com/users/arlith/events{/privacy}","received_events_url":"https://api.github.com/users/arlith/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/MegaMek/megamek/milestones/1","html_url":"https://github.com/MegaMek/megamek/milestones/stable%200.42","labels_url":"https://api.github.com/repos/MegaMek/megamek/milestones/1/labels","id":1535103,"number":1,"title":"stable 0.42","description":"All issues that are fixed or will be fixed for the 0.42 stable release","creator":{"login":"arlith","id":13815237,"avatar_url":"https://avatars.githubusercontent.com/u/13815237?v=3","gravatar_id":"","url":"https://api.github.com/users/arlith","html_url":"https://github.com/arlith","followers_url":"https://api.github.com/users/arlith/followers","following_url":"https://api.github.com/users/arlith/following{/other_user}","gists_url":"https://api.github.com/users/arlith/gists{/gist_id}","starred_url":"https://api.github.com/users/arlith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arlith/subscriptions","organizations_url":"https://api.github.com/users/arlith/orgs","repos_url":"https://api.github.com/users/arlith/repos","events_url":"https://api.github.com/users/arlith/events{/privacy}","received_events_url":"https://api.github.com/users/arlith/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":72,"state":"open","created_at":"2016-01-22T17:35:40Z","updated_at":"2016-05-15T13:33:32Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-24T17:27:57Z","updated_at":"2016-05-16T13:57:43Z","closed_at":"2016-05-15T13:30:33Z","body":"Hi,\r\nthis is the first time for me that Princess did not manage to move at all during my AtB time hence I looked into the mekhqlog.txt and saw the following error:\r\n\r\nException in thread \"Princess-precognition (Clan Jade Falcon)\" java.lang.NullPointerException\r\n\tat megamek.client.bot.princess.PathEnumerator.adjustPathForBidge(PathEnumerator.java:308)\r\n\tat megamek.client.bot.princess.PathEnumerator.adjustPathsForBridges(PathEnumerator.java:300)\r\n\tat megamek.client.bot.princess.PathEnumerator.recalculateMovesFor(PathEnumerator.java:264)\r\n\tat megamek.client.bot.princess.Precognition.run(Precognition.java:424)\r\n\tat java.lang.Thread.run(Unknown Source)\r\n\r\nThis is repeated for all of the four bots in the current game.\r\nAt first I started the game the usual way, without changing anything concerning the bots, via the briefing room in MekHQ. The Bots deployed fine but did not move in the first round. I saved the game and restarted both programms and added bots with different personalities - no change. /skiping the first bot controlled unit brings no changes as well. I'm fairly sure that the bot is completely inactive since the CPU load is at 0%.\r\n\r\nMekHQ 0.3.25, MegaMek 0.41.15\r\nattached are the campaign savegame, megamek savegame and mekhqlog.txt\r\n\r\nI'd guess that simply starting a new instance of the scenario would fix the problem by generating a new map but for the time being I won't continue in case further information is needed. Please let me know if you require further files. \r\n[24032016 NPEBugReportPrincess.gz](https://github.com/MegaMek/megamek/files/188316/24032016.NPEBugReportPrincess.gz)\r\n"},"comment":{"url":"https://api.github.com/repos/MegaMek/megamek/issues/comments/219431266","html_url":"https://github.com/MegaMek/megamek/issues/101#issuecomment-219431266","issue_url":"https://api.github.com/repos/MegaMek/megamek/issues/101","id":219431266,"user":{"login":"dericpage","id":18219527,"avatar_url":"https://avatars.githubusercontent.com/u/18219527?v=3","gravatar_id":"","url":"https://api.github.com/users/dericpage","html_url":"https://github.com/dericpage","followers_url":"https://api.github.com/users/dericpage/followers","following_url":"https://api.github.com/users/dericpage/following{/other_user}","gists_url":"https://api.github.com/users/dericpage/gists{/gist_id}","starred_url":"https://api.github.com/users/dericpage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dericpage/subscriptions","organizations_url":"https://api.github.com/users/dericpage/orgs","repos_url":"https://api.github.com/users/dericpage/repos","events_url":"https://api.github.com/users/dericpage/events{/privacy}","received_events_url":"https://api.github.com/users/dericpage/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T13:57:43Z","updated_at":"2016-05-16T13:57:43Z","body":"Huh.  Princess shouldn't be trying to move off-board units at all.  If you check the Precognition.insureUpToDate() method, you'll find the following code:\r\n`                if (!entity.isDeployed() || entity.isOffBoard()) {\r\n                    continue;\r\n                }\r\n`\r\n\r\nSo, she should be completely skipping off-board units.  I wonder if Entity.isOffBoard() is failing or of something else is going on."}}