{"action":"created","issue":{"url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/486","labels_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/486/labels{/name}","comments_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/486/comments","events_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/486/events","html_url":"https://github.com/CitizensDev/Citizens2/issues/486","id":101234027,"number":486,"title":"Lookclose gives error: java.lang.NullPointerException: null","user":{"login":"StratDigital","id":13816056,"avatar_url":"https://avatars.githubusercontent.com/u/13816056?v=3","gravatar_id":"","url":"https://api.github.com/users/StratDigital","html_url":"https://github.com/StratDigital","followers_url":"https://api.github.com/users/StratDigital/followers","following_url":"https://api.github.com/users/StratDigital/following{/other_user}","gists_url":"https://api.github.com/users/StratDigital/gists{/gist_id}","starred_url":"https://api.github.com/users/StratDigital/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StratDigital/subscriptions","organizations_url":"https://api.github.com/users/StratDigital/orgs","repos_url":"https://api.github.com/users/StratDigital/repos","events_url":"https://api.github.com/users/StratDigital/events{/privacy}","received_events_url":"https://api.github.com/users/StratDigital/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CitizensDev/Citizens2/labels/Help%20Request","name":"Help Request","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-16T04:48:34Z","updated_at":"2015-08-16T05:36:58Z","closed_at":null,"body":"Says please report this error, whenever I have an npc selected and type /npc lookclose this error pops up(In title).\r\n\r\nSaid see console, so I looked and this is what it said\r\n\r\n16.08 00:48:05 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:1)\r\n16.08 00:48:05 [Server] WARN at net.minecraft.server.v1_8_R3.PacketPlayInChat.a(PacketPlayInChat.java:45)\r\n16.08 00:48:05 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:997)\r\n16.08 00:48:05 [Server] WARN at net.minecraft.server.v1_8_R3.PlayerConnection.handleCommand(PlayerConnection.java:1162)\r\n16.08 00:48:05 [Server] WARN at org.bukkit.craftbukkit.v1_8_R3.CraftServer.dispatchCommand(CraftServer.java:641)\r\n16.08 00:48:05 [Server] WARN at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:141)\r\n16.08 00:48:05 [Server] WARN at org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.Citizens.onCommand(Citizens.java:236)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeSafe(CommandManager.java:178)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.command.CommandManager.execute(CommandManager.java:90)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.command.CommandManager.executeMethod(CommandManager.java:154)\r\n16.08 00:48:05 [Server] WARN at java.lang.reflect.Method.invoke(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.commands.NPCCommands.lookClose(NPCCommands.java:728)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.getTrait(AbstractNPC.java:224)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.npc.AbstractNPC.getTraitFor(AbstractNPC.java:231)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.npc.CitizensTraitFactory.getTrait(CitizensTraitFactory.java:119)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.npc.CitizensTraitFactory.create(CitizensTraitFactory.java:112)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.api.trait.TraitInfo.tryCreateInstance(TraitInfo.java:41)\r\n16.08 00:48:05 [Server] WARN at java.lang.Class.newInstance(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at java.lang.reflect.Constructor.newInstance(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)\r\n16.08 00:48:05 [Server] WARN at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.trait.LookClose.<init>(LookClose.java:23)\r\n16.08 00:48:05 [Server] WARN at net.citizensnpcs.Settings$Setting.asBoolean(Settings.java:124)\r\n16.08 00:48:05 [Server] WARN java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean"},"comment":{"url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/comments/131491960","html_url":"https://github.com/CitizensDev/Citizens2/issues/486#issuecomment-131491960","issue_url":"https://api.github.com/repos/CitizensDev/Citizens2/issues/486","id":131491960,"user":{"login":"mcmonkey4eva","id":4000772,"avatar_url":"https://avatars.githubusercontent.com/u/4000772?v=3","gravatar_id":"","url":"https://api.github.com/users/mcmonkey4eva","html_url":"https://github.com/mcmonkey4eva","followers_url":"https://api.github.com/users/mcmonkey4eva/followers","following_url":"https://api.github.com/users/mcmonkey4eva/following{/other_user}","gists_url":"https://api.github.com/users/mcmonkey4eva/gists{/gist_id}","starred_url":"https://api.github.com/users/mcmonkey4eva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcmonkey4eva/subscriptions","organizations_url":"https://api.github.com/users/mcmonkey4eva/orgs","repos_url":"https://api.github.com/users/mcmonkey4eva/repos","events_url":"https://api.github.com/users/mcmonkey4eva/events{/privacy}","received_events_url":"https://api.github.com/users/mcmonkey4eva/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T05:36:58Z","updated_at":"2015-08-16T05:36:58Z","body":"`       enabled: enable`\r\n\r\n.... that... you ... what. That is definitely not how configuration files work.\r\n\r\nFix that line in your config to fix the error :)"}}