Stacktrace Error probably due to LuckPerms on Pterodactyl?
Hi.
So, I'm having these stacktrace errors on my console on my Pterodactyl Panel (provided by my host when buying the server).:
This ONLY appears on server shutdown and restarts (ofc in the shutdown process).
I'm pretty sure the issue is caused by LuckPerms.
It doesn't happen on my local server (hosted on my local Windows PC with same exact setup and plugins setup the same exact way).
It only happens in the Pterodactyl environment (it seems).
I'm also having some other inconsistencies regarding Pl-Hide-Pro and CMI command handling on the Pterodactyl hosted server vs. my local server.
On the Pterodactyl one, it seems Pl-Hide-Pro has a lower priority than CMI or other plugins when the users perform them, since it shows the CMI "No permission" message when performing a blocked command, instead of the Pl-Hide "Unknown command" message.
Is it environment related? Why am I facing these inconsistencies and (at this point) bugs and errors with this plugins?
So, I'm having these stacktrace errors on my console on my Pterodactyl Panel (provided by my host when buying the server).:
[01:09:06 WARN]: Exception in thread "Thread-5" java.lang.NoClassDefFoundError: org/h2/api/ErrorCode
[01:09:06 WARN]: at org.h2.message.DbException.getJdbcSQLException(DbException.java:475)
[01:09:06 WARN]: at org.h2.message.DbException.get(DbException.java:212)
[01:09:06 WARN]: at org.h2.mvstore.db.Store.close(Store.java:402)
[01:09:06 WARN]: at org.h2.engine.Database.closeOpenFilesAndUnlock(Database.java:1261)
[01:09:06 WARN]: at org.h2.engine.Database.closeImpl(Database.java:1225)
[01:09:06 WARN]: at org.h2.engine.Database.close(Database.java:1144)
[01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.onShutdown(OnExitDatabaseCloser.java:85)
[01:09:06 WARN]: at org.h2.engine.OnExitDatabaseCloser.run(OnExitDatabaseCloser.java:114)
[01:09:06 WARN]: Caused by: java.lang.ClassNotFoundException: org.h2.api.ErrorCode
[01:09:06 WARN]: at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445)
[01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592)
[01:09:06 WARN]: at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
[01:09:06 WARN]: ... 8 moreThis ONLY appears on server shutdown and restarts (ofc in the shutdown process).
I'm pretty sure the issue is caused by LuckPerms.
It doesn't happen on my local server (hosted on my local Windows PC with same exact setup and plugins setup the same exact way).
It only happens in the Pterodactyl environment (it seems).
I'm also having some other inconsistencies regarding Pl-Hide-Pro and CMI command handling on the Pterodactyl hosted server vs. my local server.
On the Pterodactyl one, it seems Pl-Hide-Pro has a lower priority than CMI or other plugins when the users perform them, since it shows the CMI "No permission" message when performing a blocked command, instead of the Pl-Hide "Unknown command" message.
Is it environment related? Why am I facing these inconsistencies and (at this point) bugs and errors with this plugins?
latest.log10.35KB
Solution
Tanks everyone.
About the original issue, being LuckPerms giving errors, it was the h2 database. I didn’t actually fix that with h2, but using MySQL did the job and I no longer have errors.
About the original issue, being LuckPerms giving errors, it was the h2 database. I didn’t actually fix that with h2, but using MySQL did the job and I no longer have errors.