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

Error when stopping server #17

@TheDGOfficial

Description

@TheDGOfficial

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

Metadata

Metadata

Assignees

Labels

priority: highA high priority issue or pull requeststate: completedSomething will be available on next releasetype: bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions