Skript

Skript

743k Downloads

[Skript] Task #76624 for Skript v2.8.7 generated an exception java.lang.NoClassDefFoundError: Could not initialize class com.destroystokyo.paper.event.server.ServerExceptionEvent

palkane opened this issue · 7 comments

commented

Skript/Server Version

[21:26:57 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[21:26:57 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[21:26:57 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[21:26:57 INFO]: [Skript] Server Version: git-Leaf-"b80c8b1" (MC: 1.20.4)
[21:26:57 INFO]: [Skript] Skript Version: 2.8.7 (skriptlang-github)
[21:26:57 INFO]: [Skript] Installed Skript Addons:
[21:26:57 INFO]: [Skript]  - skript-gui v1.3 (https://github.com/APickledWalrus/skript-gui)
[21:26:57 INFO]: [Skript]  - skript-yaml v1.5
[21:26:57 INFO]: [Skript]  - MorkazSk v1.4
[21:26:57 INFO]: [Skript]  - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)
[21:26:57 INFO]: [Skript]  - BentoboxProtection-Skript v1.0.0
[21:26:57 INFO]: [Skript]  - SkBee v3.4.1 (https://github.com/ShaneBeee/SkBee)
[21:26:57 INFO]: [Skript] Installed dependencies:
[21:26:57 INFO]: [Skript]  - Vault v1.7.3-b131
[21:26:57 INFO]: [Skript]  - WorldGuard v7.0.9+5934e49
[21:26:57 INFO]: [Skript]  - Residence v5.1.5.0

Bug Description

This will generate a large number of error reports and may cause the server to lag.
Uploading QQ图片20240704213238.png…

Expected Behavior

No error reports occur.

Steps to Reproduce

It will occur at irregular intervals.

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

I'll see if I can reproduce it in any way. Do you have any functions that might be trigger themselves?

commented

haven't tested but this should replicate if I recall my old function enough

on block break of any log:
    # cancel event # this should prevent error iirc
    quickFunction(event-block, player)

function quickFunction(block:block, p:player):
    broadcast {_block}
    loop blocks in radius 1 around {_block}:
        loop-block is any log
        quickFunction({_block}, {_p})
        break loop-block using {_p}'s tool

If not I can do some testing later if nothing is proceeded sadly I have to head to work shortly

commented

Can you post the error you're getting?

commented

Can you post the error you're getting?

I put it in the picture. It's a long repeat error.

commented

It might just be me, but the picture you included is not loading, can you try editing the post with it again?

commented

It might just be me, but the picture you included is not loading, can you try editing the post with it again?It might just be me, but the picture you included is not loading, can you try editing the post with it again?可能只有我,但您包含的图片没有加载,您可以尝试再次使用它编辑帖子吗?
error.txt
sorry,here is this log

commented

ahh it's this issue, I'm honestly not sure if it is a skript issue in all fairness, the requirements for causing this error is very weird and have only been able to do it a handful of times sometimes.

Previously I caused this issue when passing an event-block into a function from a block break event and broadcasting the block but that's all I really found for it and still don't think I could reliably replicate it

for people who don't wanna download the file https://gist.github.com/Fusezion/4c6366966b931773fec0bcaf855d8731