-
-
Notifications
You must be signed in to change notification settings - Fork 380
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
[SOLVED] Error occurred while enabling Skript (paper) #2770
Comments
That's a random bug in the Skript parser, re-starting your server should fix it, either you're unlucky, or this error become more common after some change. This actually a Java bug, not a bug but an implementation thing in the Java-side, Java's regex engine is implemented using recursion instead of looping, so it fails at very long lines, etc., but I expect you have no scripts since in re-produce section you only list downloading, but aliases and config are also loaded as script files and parsed by Skript, so it maybe caused because of them. There are actually multiple bug reports about this error on the Oracle Java Bug Database: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6882582 And on the OpenJDK: https://bugs.openjdk.java.net/browse/JDK-6882582 So, try re-starting first, and if it's not resolved, you can update your Java version to a more recent one. The latest Java release is Java 13.0.2 at the moment, but in MC Java 8 was more popular (and compatible) so people use Java 8. Warning: Plugin or server version incompatibilities may occur when you upgrade your Java version, but you can freely report them to authors GitHub issue tracker since newer software should always be supported, regardless of it's Java or MC. Note: Java versions after 8 are not available on the end-user java.com site, you can either download JDK version from Oracle, or use AdoptOpenJDK from the below link: https://adoptopenjdk.net/releases.html (Download JRE if you are not planning to write something using Java programming language and will use it for only running Java applications/plugins/programs, download JDK otherwise) |
@TheDGOfficial I updated my Java to the latest version (1.8.0_241) |
@RXJpaw That is not the latest version. |
@bluelhf the latest Java 8 version* sorry |
@RXJpaw Try OpenJDK 13 like @TheDGOfficial said. |
@bluelhf Hm... i just ignored it because i couldnt start minecraft servers at all with newer versions of java (>8) 1 year ago... but i'll try |
Thank you @TheDGOfficial and @bluelhf for helping me. Fix
|
Description
Starting my server with only(!) Skript, cause:
Steps to Reproduce
Expected Behavior
Errors / Screenshots
Error log
Server Information
Additional Context
Important! Edit
The text was updated successfully, but these errors were encountered: