{"action":"created","issue":{"url":"https://api.github.com/repos/ldtteam/minecolonies/issues/3159","repository_url":"https://api.github.com/repos/ldtteam/minecolonies","labels_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/3159/labels{/name}","comments_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/3159/comments","events_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/3159/events","html_url":"https://github.com/ldtteam/minecolonies/issues/3159","id":390384757,"node_id":"MDU6SXNzdWUzOTAzODQ3NTc=","number":3159,"title":"Immersive Engineering Scaffolding Blocks cause Pathfinding NPEs","user":{"login":"NachtRaveVL","id":483807,"node_id":"MDQ6VXNlcjQ4MzgwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/483807?v=4","gravatar_id":"","url":"https://api.github.com/users/NachtRaveVL","html_url":"https://github.com/NachtRaveVL","followers_url":"https://api.github.com/users/NachtRaveVL/followers","following_url":"https://api.github.com/users/NachtRaveVL/following{/other_user}","gists_url":"https://api.github.com/users/NachtRaveVL/gists{/gist_id}","starred_url":"https://api.github.com/users/NachtRaveVL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NachtRaveVL/subscriptions","organizations_url":"https://api.github.com/users/NachtRaveVL/orgs","repos_url":"https://api.github.com/users/NachtRaveVL/repos","events_url":"https://api.github.com/users/NachtRaveVL/events{/privacy}","received_events_url":"https://api.github.com/users/NachtRaveVL/received_events","type":"User","site_admin":false},"labels":[{"id":457441438,"node_id":"MDU6TGFiZWw0NTc0NDE0Mzg=","url":"https://api.github.com/repos/ldtteam/minecolonies/labels/path%20finding","name":"path finding","color":"bfd4f2","default":false}],"state":"closed","locked":false,"assignee":{"login":"Raycoms","id":6438347,"node_id":"MDQ6VXNlcjY0MzgzNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6438347?v=4","gravatar_id":"","url":"https://api.github.com/users/Raycoms","html_url":"https://github.com/Raycoms","followers_url":"https://api.github.com/users/Raycoms/followers","following_url":"https://api.github.com/users/Raycoms/following{/other_user}","gists_url":"https://api.github.com/users/Raycoms/gists{/gist_id}","starred_url":"https://api.github.com/users/Raycoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raycoms/subscriptions","organizations_url":"https://api.github.com/users/Raycoms/orgs","repos_url":"https://api.github.com/users/Raycoms/repos","events_url":"https://api.github.com/users/Raycoms/events{/privacy}","received_events_url":"https://api.github.com/users/Raycoms/received_events","type":"User","site_admin":false},"assignees":[{"login":"Raycoms","id":6438347,"node_id":"MDQ6VXNlcjY0MzgzNDc=","avatar_url":"https://avatars1.githubusercontent.com/u/6438347?v=4","gravatar_id":"","url":"https://api.github.com/users/Raycoms","html_url":"https://github.com/Raycoms","followers_url":"https://api.github.com/users/Raycoms/followers","following_url":"https://api.github.com/users/Raycoms/following{/other_user}","gists_url":"https://api.github.com/users/Raycoms/gists{/gist_id}","starred_url":"https://api.github.com/users/Raycoms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raycoms/subscriptions","organizations_url":"https://api.github.com/users/Raycoms/orgs","repos_url":"https://api.github.com/users/Raycoms/repos","events_url":"https://api.github.com/users/Raycoms/events{/privacy}","received_events_url":"https://api.github.com/users/Raycoms/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-12-12T19:56:29Z","updated_at":"2018-12-27T13:05:26Z","closed_at":"2018-12-27T12:05:39Z","author_association":"NONE","body":"### Minecolonies version\r\n\r\nVersion: minecolonies-1.12.2-0.10.68-RELEASE-universal.jar\r\n\r\n### Expected behavior\r\n\r\nWhen pathfinding is performed, if an Immersive Engineering (IE) scaffolding block (which acts like a ladder) is encountered, the system correctly treats it as a ladder (and a block).\r\n\r\n### Actual behaviour\r\n\r\nWhen pathfinding is performed, if an IE scaffolding block (which acts like a ladder) is encountered, the following error message is produced:\r\n\r\n```\r\n[11:50:44] [pool-7-thread-1/WARN] [minecolonies]: Pathfinding Exception\r\njava.lang.NullPointerException: null\r\n        at blusunrize.immersiveengineering.common.blocks.BlockIEScaffoldSlab.isLadder(BlockIEScaffoldSlab.java:106) ~[BlockIEScaffoldSlab.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1015) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1020) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.onLadderGoingDown(AbstractPathJob.java:510) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.walkCurrentNode(AbstractPathJob.java:478) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.search(AbstractPathJob.java:424) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.PathJobMoveToLocation.search(PathJobMoveToLocation.java:61) ~[PathJobMoveToLocation.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:364) [AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:33) [AbstractPathJob.class:?]\r\n        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_191]\r\n        at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]\r\n[11:52:15] [pool-7-thread-1/WARN] [minecolonies]: Pathfinding Exception\r\njava.lang.NullPointerException: null\r\n        at blusunrize.immersiveengineering.common.blocks.BlockIEScaffoldSlab.isLadder(BlockIEScaffoldSlab.java:106) ~[BlockIEScaffoldSlab.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1015) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1020) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.onLadderGoingDown(AbstractPathJob.java:510) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.walkCurrentNode(AbstractPathJob.java:478) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.search(AbstractPathJob.java:424) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.PathJobMoveToLocation.search(PathJobMoveToLocation.java:61) ~[PathJobMoveToLocation.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:364) [AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:33) [AbstractPathJob.class:?]\r\n        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_191]\r\n        at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]\r\n[11:52:22] [pool-7-thread-1/WARN] [minecolonies]: Pathfinding Exception\r\njava.lang.NullPointerException: null\r\n        at blusunrize.immersiveengineering.common.blocks.BlockIEScaffoldSlab.isLadder(BlockIEScaffoldSlab.java:106) ~[BlockIEScaffoldSlab.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1015) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.isLadder(AbstractPathJob.java:1020) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.onLadderGoingDown(AbstractPathJob.java:510) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.walkCurrentNode(AbstractPathJob.java:478) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.search(AbstractPathJob.java:424) ~[AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.PathJobMoveToLocation.search(PathJobMoveToLocation.java:61) ~[PathJobMoveToLocation.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:364) [AbstractPathJob.class:?]\r\n        at com.minecolonies.coremod.entity.pathfinding.AbstractPathJob.call(AbstractPathJob.java:33) [AbstractPathJob.class:?]\r\n        at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_191]\r\n        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_191]\r\n        at java.lang.Thread.run(Unknown Source) [?:1.8.0_191]\r\n```\r\n\r\n### Steps to reproduce the problem\r\n\r\n1. Place down a series of IE scaffolding blocks along common pathfinding routes.\r\n\r\n2. Notice server console output.\r\n\r\n### Notes\r\n\r\n1. Also note that IE scaffolding blocks come in various forms (steel, treated wood, etc) and also in slab form (as the error message above reports). All of these blocks work the same (act as ladders)."},"comment":{"url":"https://api.github.com/repos/ldtteam/minecolonies/issues/comments/450147166","html_url":"https://github.com/ldtteam/minecolonies/issues/3159#issuecomment-450147166","issue_url":"https://api.github.com/repos/ldtteam/minecolonies/issues/3159","id":450147166,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDE0NzE2Ng==","user":{"login":"NachtRaveVL","id":483807,"node_id":"MDQ6VXNlcjQ4MzgwNw==","avatar_url":"https://avatars1.githubusercontent.com/u/483807?v=4","gravatar_id":"","url":"https://api.github.com/users/NachtRaveVL","html_url":"https://github.com/NachtRaveVL","followers_url":"https://api.github.com/users/NachtRaveVL/followers","following_url":"https://api.github.com/users/NachtRaveVL/following{/other_user}","gists_url":"https://api.github.com/users/NachtRaveVL/gists{/gist_id}","starred_url":"https://api.github.com/users/NachtRaveVL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NachtRaveVL/subscriptions","organizations_url":"https://api.github.com/users/NachtRaveVL/orgs","repos_url":"https://api.github.com/users/NachtRaveVL/repos","events_url":"https://api.github.com/users/NachtRaveVL/events{/privacy}","received_events_url":"https://api.github.com/users/NachtRaveVL/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T13:05:26Z","updated_at":"2018-12-27T13:05:26Z","author_association":"NONE","body":"Thank you @Raycoms for your hard work on this. =)"}}
{"actor":{"display_login":"NachtRaveVL"}}