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

[BUG] Nullpointer exception on disable #23

Open
illyrius666 opened this issue Feb 13, 2025 · 2 comments
Open

[BUG] Nullpointer exception on disable #23

illyrius666 opened this issue Feb 13, 2025 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@illyrius666
Copy link

illyrius666 commented Feb 13, 2025

Describe the bug
A null pointer exception when disabling the plugin

Cannot invoke "org.bukkit.scheduler.BukkitTask.cancel()" because "task" is null

To Reproduce
Steps to reproduce the behavior:

  1. Run server
  2. Check logs

Expected behavior
For it not to happen

Screenshots
https://pastebin.com/uJqckK8v

System (please complete the following information):

  • OS: Linux
  • Server: paper
  • Java version: 21
  • Plugin version: 6.1.4

Additional context
N.a.

@H7KZ
Copy link
Owner

H7KZ commented Feb 13, 2025

Yup, see it. It is only when disabling (aka. shutting down or reloading) server/plugins right? Just to make sure it does not happen on load otherwise it would be much bigger problem. Thanks!

@H7KZ H7KZ self-assigned this Feb 13, 2025
@H7KZ H7KZ added the bug Something isn't working label Feb 13, 2025
@H7KZ H7KZ changed the title [BUG] Nullpointer exception [BUG] Nullpointer exception on disable Feb 13, 2025
@illyrius666
Copy link
Author

Yup, see it. It is only when disabling (aka. shutting down or reloading) server/plugins right? Just to make sure it does not happen on load otherwise it would be much bigger problem. Thanks!

yeah, dont know about reload, since i never use it. but basically on /stop & /restart it gives that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants