Skip to content
This repository has been archived by the owner on Jan 13, 2023. It is now read-only.

Error when stopping server #17

Closed
TheDGOfficial opened this issue Feb 24, 2019 · 1 comment
Closed

Error when stopping server #17

TheDGOfficial opened this issue Feb 24, 2019 · 1 comment
Assignees
Labels
priority: high A high priority issue or pull request state: completed Something will be available on next release type: bug Something isn't working
Milestone

Comments

@TheDGOfficial
Copy link
Member

Describe the bug
If you instantly stop the server after it opens, the Skript will give this error.

[15:28:53 WARN]: Exception in thread "Craft Scheduler Thread - 0" 
[15:28:53 WARN]: org.apache.commons.lang.UnhandledException: Plugin Skript v2.2-Fixes-V11 generated an exception while executing task 4
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register task while disabled
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.validate(CraftScheduler.java:398)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.runTaskTimer(CraftScheduler.java:123)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.runTaskLater(CraftScheduler.java:106)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftScheduler.runTask(CraftScheduler.java:89)
    at ch.njol.skript.Skript$4.run(Skript.java:545)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftTask.run(CraftTask.java:59)
    at org.bukkit.craftbukkit.v1_8_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)
    ... 3 more

To Reproduce

  1. Create a clean server.
  2. Put Skript.jar to plugins directory.
  3. Start the server and send the "stop" command.

Expected behavior
Expected no errors, just a clean boot.

Screenshots
N/A

Version information:

  • Minecraft Version: 1.8.8 (Error occurs in all versions)
  • Skript Version: 2.2-Fixes-V11

Additional information
N/A

@TheDGOfficial TheDGOfficial added type: bug Something isn't working priority: high A high priority issue or pull request labels Feb 24, 2019
@TheDGOfficial TheDGOfficial added this to the V12 milestone Feb 24, 2019
@TheDGOfficial TheDGOfficial self-assigned this Feb 24, 2019
@TheDGOfficial
Copy link
Member Author

TheDGOfficial commented Mar 4, 2019

Fixed with 116d48c

@TheDGOfficial TheDGOfficial pinned this issue Mar 4, 2019
@TheDGOfficial TheDGOfficial added the state: completed Something will be available on next release label Sep 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
priority: high A high priority issue or pull request state: completed Something will be available on next release type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant