Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on startup #726

Open
3 tasks done
ElTuna opened this issue Sep 15, 2024 · 2 comments
Open
3 tasks done

Error on startup #726

ElTuna opened this issue Sep 15, 2024 · 2 comments
Labels
enhancement status: accepted Feature request accepted / bug report confirmed status: low priority Feature request accepted / bug report confirmed, however at low priority

Comments

@ElTuna
Copy link

ElTuna commented Sep 15, 2024

Description of Bug

When I start the server... it sends this log seconds before it's on.

[20:30:23 INFO]: [Quests] Successfully hooked into Essentials economy.
[20:30:24 INFO]: [Quests] 48 task types have been registered.
[20:30:24 INFO]: [Quests] 0 quest items have been registered.
[20:30:33 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH  - 1.21.1-77-4ff58c4 (MC: 1.21.1) ---
[20:30:33 ERROR]: The server has not responded for 10 seconds! Creating thread dump
[20:30:33 ERROR]: ------------------------------
[20:30:33 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
[20:30:33 ERROR]: ------------------------------
[20:30:33 ERROR]: Current Thread: Server thread
[20:30:33 ERROR]:       PID: 45 | Suspended: false | Native: true | State: RUNNABLE
[20:30:33 ERROR]:       Stack:
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.UnixFileDispatcherImpl.read0(Native Method)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.UnixFileDispatcherImpl.read(UnixFileDispatcherImpl.java:51)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:340)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.IOUtil.read(IOUtil.java:306)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.IOUtil.read(IOUtil.java:283)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:234)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:74)
[20:30:33 ERROR]:               [email protected]/sun.nio.ch.ChannelInputStream.read(ChannelInputStream.java:103)
[20:30:33 ERROR]:               [email protected]/sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:350)
[20:30:33 ERROR]:               [email protected]/sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:393)
[20:30:33 ERROR]:               [email protected]/sun.nio.cs.StreamDecoder.lockedRead(StreamDecoder.java:217)
[20:30:33 ERROR]:               [email protected]/sun.nio.cs.StreamDecoder.read(StreamDecoder.java:171)
[20:30:33 ERROR]:               [email protected]/java.io.InputStreamReader.read(InputStreamReader.java:188)
[20:30:33 ERROR]:               [email protected]/java.io.BufferedReader.fill(BufferedReader.java:160)
[20:30:33 ERROR]:               [email protected]/java.io.BufferedReader.implReadLine(BufferedReader.java:370)
[20:30:33 ERROR]:               [email protected]/java.io.BufferedReader.readLine(BufferedReader.java:347)
[20:30:33 ERROR]:               [email protected]/java.io.BufferedReader.readLine(BufferedReader.java:436)
[20:30:33 ERROR]:               [email protected]/java.nio.file.Files.readAllLines(Files.java:3395)
[20:30:33 ERROR]:               [email protected]/java.nio.file.Files.readAllLines(Files.java:3433)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.config.BukkitQuestsLoader$1.visitFile(BukkitQuestsLoader.java:147)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.config.BukkitQuestsLoader$1.visitFile(BukkitQuestsLoader.java:135)
[20:30:33 ERROR]:               [email protected]/java.nio.file.Files.walkFileTree(Files.java:2786)
[20:30:33 ERROR]:               [email protected]/java.nio.file.Files.walkFileTree(Files.java:2857)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.config.BukkitQuestsLoader.loadQuests(BukkitQuestsLoader.java:419)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.BukkitQuestsPlugin.reloadQuests(BukkitQuestsPlugin.java:632)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.BukkitQuestsPlugin.lambda$onEnable$81(BukkitQuestsPlugin.java:528)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.BukkitQuestsPlugin$$Lambda/0x00007fa64bb7e830.run(Unknown Source)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.scheduler.folia.FoliaServerScheduler.lambda$runTask$0(FoliaServerScheduler.java:59)
[20:30:33 ERROR]:               Quests-3.15.2-b216e2b.jar//com.leonardobishop.quests.bukkit.scheduler.folia.FoliaServerScheduler$$Lambda/0x00007fa64bb7ea50.accept(Unknown Source)
[20:30:33 ERROR]:               io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler$GlobalScheduledTask.run(FoliaGlobalRegionScheduler.java:179)
[20:30:33 ERROR]:               io.papermc.paper.threadedregions.scheduler.FoliaGlobalRegionScheduler.tick(FoliaGlobalRegionScheduler.java:37)
[20:30:33 ERROR]:               net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1729)
[20:30:33 ERROR]:               net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:473)
[20:30:33 ERROR]:               net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1598)
[20:30:33 ERROR]:               net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1304)
[20:30:33 ERROR]:               net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:330)
[20:30:33 ERROR]:               net.minecraft.server.MinecraftServer$$Lambda/0x00007fa648d13418.run(Unknown Source)
[20:30:33 ERROR]:               [email protected]/java.lang.Thread.runWith(Thread.java:1596)
[20:30:33 ERROR]:               [email protected]/java.lang.Thread.run(Thread.java:1583)
[20:30:33 ERROR]: ------------------------------
[20:30:33 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
[20:30:33 ERROR]: ------------------------------
[20:30:34 INFO]: [Quests] 1448 quests have been registered.

i think it's because of the quantity of quests but im not sure
i'm using this setup https://builtbybit.com/resources/quests-config-premium-quality.16110/

Steps to Reproduce

i just started the server :/

Environment

  • Minecraft version: 1.21.1-77-master@4ff58c4 (Implementing API version 1.21.1-R0.1-SNAPSHOT)
  • Server software: Paper
  • Quests version: 3.15.2-b216e2b

Agreements

  • I am running the latest version of Quests
  • I am certain this issue is unique and a similar issue is not currently open
  • I am using a version of Minecraft which is supported by Quests

Other

No response

@ElTuna ElTuna added bug status: needs investigating Bug report / feature request needs investigating and triage labels Sep 15, 2024
@Krakenied
Copy link
Collaborator

THIS IS NOT A BUG OR A CRASH

It's just your server loading a decent amount of quests. It can be caused by slow disk reads, server overload, not enough memory (with more than 2 GB it should be fine, not sure about your server setup - it is probably not the cause though) or another plugin freezing your server. Technically I can make it async, but I need to implement one more thing first

@ElTuna
Copy link
Author

ElTuna commented Sep 15, 2024

i have more than 15 GB and much more other plugins but ok... It would be cool if you make it async.

@Krakenied Krakenied added enhancement status: low priority Feature request accepted / bug report confirmed, however at low priority status: accepted Feature request accepted / bug report confirmed and removed bug status: needs investigating Bug report / feature request needs investigating and triage labels Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement status: accepted Feature request accepted / bug report confirmed status: low priority Feature request accepted / bug report confirmed, however at low priority
Projects
None yet
Development

No branches or pull requests

2 participants