GithubHelp home page GithubHelp logo

WARNs at boot on 1.16.5 about tamablefoxes HOT 11 CLOSED

joex92 avatar joex92 commented on September 26, 2024
WARNs at boot on 1.16.5

from tamablefoxes.

Comments (11)

SeanOMik avatar SeanOMik commented on September 26, 2024 1

No, it shouldn't.

from tamablefoxes.

SeanOMik avatar SeanOMik commented on September 26, 2024

Thats weird that its showing as a warning since it reads as a error's stacktrace. Could you try the previous version 1.9.1?

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

Thats weird that its showing as a warning since it reads as a error's stacktrace. Could you try the previous version 1.9.1?

[17:03:02] [Server thread/INFO]: [Tamablefoxes] Loading Tamablefoxes v1.9.1-SNAPSHOT
[17:03:02] [Server thread/WARN]: [Tamablefoxes] Could not save language.yml to plugins/Tamablefoxes/language.yml because language.yml already exists.
[17:03:02] [Server thread/WARN]: [Tamablefoxes] Could not save language.yml to plugins/Tamablefoxes/language.yml because language.yml already exists.
[17:03:02] [Server thread/INFO]: [Tamable Foxes] Registering entity for MC Version v1_16_R3...
[17:03:02] [Server thread/ERROR]: [org.bukkit.craftbukkit.v1_16_R3.CraftServer] null initializing Tamablefoxes v1.9.1-SNAPSHOT (Is it up to date?)
java.lang.ExceptionInInitializerError: null
at net.seanomik.tamablefoxes.versions.version_1_16_R3.NMSInterface_1_16_R3.registerCustomFoxEntity(NMSInterface_1_16_R3.java:23) ~[?:?]
at net.seanomik.tamablefoxes.TamableFoxes.onLoad(TamableFoxes.java:62) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:394) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-115]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:274) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-115]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1074) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-115]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:291) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-115]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.RuntimeException: java.lang.IllegalAccessException: module java.base does not open java.lang.reflect to unnamed module @7e49911
at net.seanomik.tamablefoxes.versions.FieldHelper.<clinit>(FieldHelper.java:25) ~[?:?]
... 7 more
Caused by: java.lang.IllegalAccessException: module java.base does not open java.lang.reflect to unnamed module @7e49911
at java.lang.invoke.MethodHandles.privateLookupIn(MethodHandles.java:260) ~[?:?]
at net.seanomik.tamablefoxes.versions.FieldHelper.<clinit>(FieldHelper.java:22) ~[?:?]
... 7 more

from tamablefoxes.

SeanOMik avatar SeanOMik commented on September 26, 2024

Try to add

--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED```
to your program arguments in your start script.

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

Try to add

--add-exports=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED```
to your program arguments in your start script.

can't... the host doesn't allow me to add more arguments, only to use the ones that it gives me...

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

I can't access the load script, tried loading it but it didn´t work... so I´m going back to the prev build...

15.06 22:12:39 [Server] ERROR Could not load 'plugins/TamableFoxes_v1.9.2.1-SNAPSHOT.jar' in folder 'plugins'
15.06 22:12:39 [Server] INFO org.bukkit.plugin.InvalidDescriptionException: Invalid plugin.yml
15.06 22:12:39 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:186) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:160) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:393) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:291) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1078) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:293) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO at java.lang.Thread.run(Thread.java:831) [?:?]
15.06 22:12:39 [Server] INFO Caused by: java.util.zip.ZipException: zip END header not found
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$Source.zerror(ZipFile.java:1587) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$Source.findEND(ZipFile.java:1441) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1450) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$Source.<init>(ZipFile.java:1263) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$Source.get(ZipFile.java:1225) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile$CleanableResource.<init>(ZipFile.java:706) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:240) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.zip.ZipFile.<init>(ZipFile.java:171) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:348) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:319) ~[?:?]
15.06 22:12:39 [Server] INFO at java.util.jar.JarFile.<init>(JarFile.java:285) ~[?:?]
15.06 22:12:39 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader.getPluginDescription(JavaPluginLoader.java:174) ~[patched_1.16.5.jar:git-Yatopia-ver/1.16.5-120]
15.06 22:12:39 [Server] INFO ... 6 more

from tamablefoxes.

SeanOMik avatar SeanOMik commented on September 26, 2024

If you can't edit the start script then you need to use an older Java version or contact your host to see if they'll be willing to change it for you.

Also in that error, you seem to be using the newest version

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

hmm... ok... I´ll try asking on my hosting support if they can add those parameters... would those parameters will be useful for other plugins?
Also isn´t there a way for the plugin to work properly without those parameters?

from tamablefoxes.

SeanOMik avatar SeanOMik commented on September 26, 2024

Also isn´t there a way for the plugin to work properly without those parameters?

Unless you use a Java version older than Java 16, no. The reason you have to add those is due to updates in Java 16 that cause anything outside of the standard library to not be allowed to use reflection on classes from the standard library. The plugin uses reflection on a standard library class so it can set a private final field (by first making it non-final).

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

oh ok, but that wouldn´t affect other plugins, right?

from tamablefoxes.

joex92 avatar joex92 commented on September 26, 2024

well... I fixed it... kinda... I went back to Java11 because my hosting won't allow me to add arguments for security reasons...
anyways thanks...

I´ll close this by saying to whoever comes here: "go back to Java11 if your server is not 1.17+"

from tamablefoxes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.