Olyno / SkEmail

Skript addon to send emails
8 stars 3 forks source link

NullPointerException EffConnection.smtp_address #4

Closed Jyoooo closed 5 years ago

Jyoooo commented 5 years ago

<--! To make sure you have all the keys in hand to be able to help you, I invite you to fill out the form as proposed below, including information about your server. Are you ready to go? Let's do it! (just delete wrong informations) -->

Versions:

I'm using a minecraft server [1.12.2-R0.1-SNAPSHOT] (do /ver in your console) I'm using skript version [2.2-dev37c] (do /ver skript in your console) I'm using SkEmail version [1.2] (do /ver skemail in your console)

About the issue:

I got a [java|skript] error. My code is:

discord command mailtest [<text>]:
    trigger:
        make new email:
            set object of email to "test"

            set body of email to "~"

            set receiver of email to "%arg-1%"
        send last email 

and my error is:

[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! [Skript] Severe Error:
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Something went horribly wrong with Skript.
[10:24:57 ERROR]: #!#! This issue is NOT your fault! You probably can't fix it yourself, either.
[10:24:57 ERROR]: #!#! It looks like you are using some plugin(s) that alter how Skript works (addons).
[10:24:57 ERROR]: #!#! Following plugins are probably related to this error in some way:
[10:24:57 ERROR]: #!#! Vixio (http://vixio.space)
[10:24:57 ERROR]: #!#! You should try disabling those plugins one by one, trying to find which one causes it.
[10:24:57 ERROR]: #!#! If the error doesn't disappear even after disabling all listed plugins, it is probably Skript issue.
[10:24:57 ERROR]: #!#! In that case, you will be given instruction on how should you report it.
[10:24:57 ERROR]: #!#! On the other hand, if the error disappears when disabling some plugin, report it to author of that plugin.
[10:24:57 ERROR]: #!#! Only if the author tells you to do so, report it as Skript issue (url below)
[10:24:57 ERROR]: #!#! Issue tracker: https://github.com/SkriptLang/Skript/issues (only if you know what you're doing!)
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Stack trace:
[10:24:57 ERROR]: #!#! java.lang.NullPointerException
[10:24:57 ERROR]: #!#!     at java.util.Hashtable.put(Unknown Source)
[10:24:57 ERROR]: #!#!     at com.alexlew.skemail.effects.EffSendLastEmail.execute(EffSendLastEmail.java:69)
[10:24:57 ERROR]: #!#!     at ch.njol.skript.lang.Effect.run(Effect.java:52)
[10:24:57 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
[10:24:57 ERROR]: #!#!     at ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
[10:24:57 ERROR]: #!#!     at ch.njol.skript.lang.Trigger.execute(Trigger.java:55)
[10:24:57 ERROR]: #!#!     at me.iblitzkriegi.vixio.commands.DiscordCommand.lambda$execute$2(DiscordCommand.java:77)
[10:24:57 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:76)
[10:24:57 ERROR]: #!#!     at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:361)
[10:24:57 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:739)
[10:24:57 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:406)
[10:24:57 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:679)
[10:24:57 ERROR]: #!#!     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:577)
[10:24:57 ERROR]: #!#!     at java.lang.Thread.run(Unknown Source)
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Version Information:
[10:24:57 ERROR]: #!#!   Skript: 2.2-dev37c
[10:24:57 ERROR]: #!#!   Bukkit: 1.12.2-R0.1-SNAPSHOT
[10:24:57 ERROR]: #!#!   Minecraft: 1.12.2
[10:24:57 ERROR]: #!#!   Java: 1.8.0_191 (Java HotSpot(TM) 64-Bit Server VM 25.191-b12)
[10:24:57 ERROR]: #!#!   OS: Windows 10 amd64 10.0
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Server platform: Spigot
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Current node: null
[10:24:57 ERROR]: #!#! Current item: send the last made email
[10:24:57 ERROR]: #!#! Current trigger: discord command ailtest (simple event) (login.sk, line -1)
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Thread: Server thread
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! Language: english
[10:24:57 ERROR]: #!#! Link parse mode: STRICT
[10:24:57 ERROR]: #!#!
[10:24:57 ERROR]: #!#! End of Error.
[10:24:57 ERROR]: #!#!

I think the problem comes from [your idea about the question]

Olyno commented 5 years ago

Issue solved on discord