<--! 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: 1.7.1
I'm using a minecraft server 1.19.3
I'm using skript version 2.6.2
I'm using SkEmail version 1.7.1
About the issue:
I got a [java|skript] error:
When sending mail:
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! [Skript] Severe Error:
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! You're running outdated version of Skript! Please try updating it NOW; it might fix this.
24.01 12:37:37 [Server] ERROR #!#! Run /sk update check to get a download link to latest Skript!
24.01 12:37:37 [Server] ERROR #!#! You will be given instructions how to report this error if it persists after update.
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Stack trace:
24.01 12:37:37 [Server] ERROR #!#! java.util.concurrent.CompletionException: java.lang.NullPointerException: Cannot read the array length because "addresses" is null
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1770)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
24.01 12:37:37 [Server] ERROR #!#! Caused by: java.lang.NullPointerException: Cannot read the array length because "addresses" is null
24.01 12:37:37 [Server] ERROR #!#! at SkEmail-1.7.1-all.jar//com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1265)
24.01 12:37:37 [Server] ERROR #!#! at SkEmail-1.7.1-all.jar//com.olyno.skemail.effects.EffSendEmail.lambda$execute$0(EffSendEmail.java:104)
24.01 12:37:37 [Server] ERROR #!#! at SkEmail-1.7.1-all.jar//com.olyno.skemail.util.AsyncEffect.lambda$executeCode$1(AsyncEffect.java:44)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
24.01 12:37:37 [Server] ERROR #!#! at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Version Information:
24.01 12:37:37 [Server] ERROR #!#! Skript: 2.6.2 (OUTDATED)
24.01 12:37:37 [Server] ERROR #!#! Flavor: skriptlang-github
24.01 12:37:37 [Server] ERROR #!#! Date: 19:12:53.596652600
24.01 12:37:37 [Server] ERROR #!#! Bukkit: 1.19.3-R0.1-SNAPSHOT
24.01 12:37:37 [Server] ERROR #!#! Minecraft: 1.19.3
24.01 12:37:37 [Server] ERROR #!#! Java: 17.0.1 (OpenJDK 64-Bit Server VM 17.0.1+12-39)
24.01 12:37:37 [Server] ERROR #!#! OS: Linux amd64 4.19.0-13-amd64
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Server platform: Paper
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Current node: null
24.01 12:37:37 [Server] ERROR #!#! Current item: null
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Thread: Server thread
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! Language: english
24.01 12:37:37 [Server] ERROR #!#! Link parse mode: DISABLED
24.01 12:37:37 [Server] ERROR #!#!
24.01 12:37:37 [Server] ERROR #!#! End of Error.
24.01 12:37:37 [Server] ERROR #!#!
Also this on startup:
24.01 12:34:38 [Server] WARN java.lang.NoSuchFieldException: handlers
24.01 12:34:38 [Server] WARN at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
24.01 12:34:38 [Server] WARN at SkEmail-1.7.1-all.jar//com.olyno.skemail.util.ReflectionUtils.getField(ReflectionUtils.java:174)
24.01 12:34:38 [Server] WARN at SkEmail-1.7.1-all.jar//com.olyno.skemail.util.EffectSection.stopLog(EffectSection.java:79)
24.01 12:34:38 [Server] WARN at SkEmail-1.7.1-all.jar//com.olyno.skemail.util.EffectSection.loadSection(EffectSection.java:141)
24.01 12:34:38 [Server] WARN at SkEmail-1.7.1-all.jar//com.olyno.skemail.scopes.ScopeEmailCreation.init(ScopeEmailCreation.java:54)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Condition.parse(Condition.java:77)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:83)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.init(Section.java:69)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.parse(Section.java:156)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.loadCode(Section.java:90)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.init(Section.java:69)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.parse(Section.java:156)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.loadCode(Section.java:90)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.init(Section.java:69)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.parse(Section.java:156)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.loadCode(Section.java:90)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.init(Section.java:69)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.parse(Section.java:156)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.loadCode(Section.java:90)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.sections.SecConditional.init(SecConditional.java:118)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.init(Section.java:69)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:254)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.SkriptParser.parse(SkriptParser.java:176)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.lambda$parse$0(Section.java:157)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section$SectionContext.modify(Section.java:190)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.lang.Section.parse(Section.java:156)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadItems(ScriptLoader.java:1128)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadScript(ScriptLoader.java:753)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.lambda$loadScripts$4(ScriptLoader.java:526)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.lambda$makeFuture$2(ScriptLoader.java:418)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.makeFuture(ScriptLoader.java:434)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:525)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.ScriptLoader.loadScripts(ScriptLoader.java:469)
24.01 12:34:38 [Server] WARN at Skript (16).jar//ch.njol.skript.Skript$1.run(Skript.java:786)
My code is:
make new email:
set object of email to "Mp3-Bot PREMIUM instructions"
set body of email to "Thank you for purchasing mp3-bot premium! We really appreciate the support, to activate premium on your server, respond to this with @mp3-BOT activate `server ID goes here`%nl%So it should look something like `@mp3-BOT activate 975745764355612732` but with different numbers.%nl%If you're un-sure on how to get your server ID, enable `developer mode` in the advanced tab in discord settings, then right click on your server icon and click `copy ID`." to user with id {_txts::2} with "mp3bot"
set received of mail to "%{_txts::3}%"
send last email created
I think the problem comes from: I don't know, but it says loaded without errors on startup
<--! 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: 1.7.1
I'm using a minecraft server 1.19.3 I'm using skript version 2.6.2 I'm using SkEmail version 1.7.1
About the issue:
I got a [java|skript] error:
My code is:
I think the problem comes from: I don't know, but it says loaded without errors on startup