Closed Sunekaer closed 2 years ago
This looks like a faulty java installation to me. It mentions that it's missing a method on Random
which is shipped natively inside the java.utils
package. There is no way this can be missing if it's a correct java installation.
I'd need the full log. I can't reproduce this and I know plenty of SB3 players that summoned successfully.
User just updated to say it happened on server, idk if that changes anything for you?
Not really. The issue remains that they are missing an internal java package. I need the full log.
Hi, server owner here xD This is the full crash report: https://gist.github.com/Neolyum/c56085652a8453b7011d21c8c8227196
The server is running in a docker container, using openjdk:17-jdk-alpine as image.
GistMinecraft Crash Report. GitHub Gist: instantly share code, notes, and snippets.
bash-5.1# java -version
openjdk version "17-ea" 2021-09-14
OpenJDK Runtime Environment (build 17-ea+14)
OpenJDK 64-Bit Server VM (build 17-ea+14, mixed mode, sharing)
All issues I found that are related to that topic are from around the time Java 8 was released when people still used older versions.
The Random.nextDouble(double, double)
method comes from the RandomGenerator
interface that was introduced in Java 17 so your Java installation is maybe missing that.
Would it be possible for you to try it with another image that runs on a different java 17 version? The project was compiled against the Jetbrains runtime but I previously used Zulu Java 17 which also worked fine.
Edit because I forgot: I am assuming your client uses another java version since it is working there.
Tested now on openjdk:17-jdk-slim-buster
root@3c774100625a:/server# java -version
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)
and it worked! Probably the problem was indeed the old version in 17-jdk-alpine. Sorry for the fuzz and thank you for the solution! :)
No worries, glad it is solved :)
Version
summoningrituals-1.18.2-1.1.6
Describe the bug!
Player was trying summon
Crash Report
No response
Log
No response
Additional Context
Yes
Modifications
SB3 modpack
Did the issue happen in singleplayer or on a server?
Singleplayer