{"action":"closed","issue":{"url":"https://api.github.com/repos/bensku/Skript/issues/233","repository_url":"https://api.github.com/repos/bensku/Skript","labels_url":"https://api.github.com/repos/bensku/Skript/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/bensku/Skript/issues/233/comments","events_url":"https://api.github.com/repos/bensku/Skript/issues/233/events","html_url":"https://github.com/bensku/Skript/issues/233","id":187561128,"number":233,"title":"Error when getting player's IP in \"on connect\" event","user":{"login":"TrademarkTM","id":20507094,"avatar_url":"https://avatars.githubusercontent.com/u/20507094?v=3","gravatar_id":"","url":"https://api.github.com/users/TrademarkTM","html_url":"https://github.com/TrademarkTM","followers_url":"https://api.github.com/users/TrademarkTM/followers","following_url":"https://api.github.com/users/TrademarkTM/following{/other_user}","gists_url":"https://api.github.com/users/TrademarkTM/gists{/gist_id}","starred_url":"https://api.github.com/users/TrademarkTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrademarkTM/subscriptions","organizations_url":"https://api.github.com/users/TrademarkTM/orgs","repos_url":"https://api.github.com/users/TrademarkTM/repos","events_url":"https://api.github.com/users/TrademarkTM/events{/privacy}","received_events_url":"https://api.github.com/users/TrademarkTM/received_events","type":"User","site_admin":false},"labels":[{"id":338177285,"url":"https://api.github.com/repos/bensku/Skript/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-06T13:19:47Z","updated_at":"2016-11-17T12:30:57Z","closed_at":"2016-11-17T12:30:57Z","body":"Hey!\r\nI get the following error with this code:\r\n\r\n``\r\non connect:\r\n    broadcast \"%ip of player%\"\r\n``\r\n\r\n``\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! [Skript] Severe Error:\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! If you're developing an add-on for Skript this likely means that you have done something wrong.\r\n[11:14:44 ERROR]: #!#! If you're a server admin however please go to https://github.com/bensku/Skript/issues/\r\n[11:14:44 ERROR]: #!#! and check whether this error has already been reported.\r\n[11:14:44 ERROR]: #!#! If not please create a new ticket with a meaningful title, copy & paste this whole error into it (or use paste service),\r\n[11:14:44 ERROR]: #!#! and describe what you did before it happened and/or what you think caused the error.\r\n[11:14:44 ERROR]: #!#! If you think that it's a trigger that's causing the error please post the trigger as well.\r\n[11:14:44 ERROR]: #!#! By following this guide fixing the error should be easy and done fast.\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! Stack trace:\r\n[11:14:44 ERROR]: #!#! java.lang.NullPointerException\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.expressions.ExprIP.convert(ExprIP.java:52)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.expressions.ExprIP.convert(ExprIP.java:1)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convert(Converters.java:305)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.registrations.Converters.convertUnsafe(Converters.java:296)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:105)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.expressions.base.SimplePropertyExpression.get(SimplePropertyExpression.java:56)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.expressions.base.PropertyExpression.get(PropertyExpression.java:76)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.util.SimpleExpression.getArray(SimpleExpression.java:103)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.toString(VariableString.java:383)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getArray(VariableString.java:488)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.VariableString.getArray(VariableString.java:1)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.effects.EffBroadcast.execute(EffBroadcast.java:69)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:54)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:65)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:93)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:53)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler.check(SkriptEventHandler.java:152)\r\n[11:14:44 ERROR]: #!#!     at ch.njol.skript.SkriptEventHandler$1.execute(SkriptEventHandler.java:112)\r\n[11:14:44 ERROR]: #!#!     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)\r\n[11:14:44 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502)\r\n[11:14:44 ERROR]: #!#!     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.PlayerList.attemptLogin(PlayerList.java:456)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.LoginListener.b(LoginListener.java:118)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.LoginListener.c(LoginListener.java:54)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.NetworkManager.a(NetworkManager.java:231)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.ServerConnection.c(ServerConnection.java:148)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:814)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:374)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:654)\r\n[11:14:44 ERROR]: #!#!     at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:557)\r\n[11:14:44 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! Version Information:\r\n[11:14:44 ERROR]: #!#!   Skript: 2.2-dev20\r\n[11:14:44 ERROR]: #!#!   Bukkit: 1.8.8-R0.1-SNAPSHOT\r\n[11:14:44 ERROR]: #!#!   Minecraft: 1.8.8\r\n[11:14:44 ERROR]: #!#!   Java: 1.8.0_111 (Java HotSpot(TM) 64-Bit Server VM 25.111-b14)\r\n[11:14:44 ERROR]: #!#!   OS: Windows 10 amd64 10.0\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! Running CraftBukkit: false\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! Current node: null\r\n[11:14:44 ERROR]: #!#! Current item: broadcast \"%the IP address of the player%\"\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! Thread: Server thread\r\n[11:14:44 ERROR]: #!#!\r\n[11:14:44 ERROR]: #!#! End of Error.\r\n[11:14:44 ERROR]: #!#!\r\n``\r\n\r\nThat's the error I get."}}
{"actor":{"display_login":"bensku"}}