Comments (11)
No, it shouldn't.
from tamablefoxes.
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.
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.
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.
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.
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.
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.
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.
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.
oh ok, but that wouldn´t affect other plugins, right?
from tamablefoxes.
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)
- [Bug] Console Error - Entity threw exception at world HOT 1
- [Feature] Make it possible to change the text in the anvil
- Could you please take a look at this issue HOT 2
- [Feature] Fabric & Forge Compatibility HOT 1
- Error
- I can't tame foxes HOT 2
- [Bug] Plugin deactivation despite compatibility (+error text problems) HOT 1
- Pom.xlm don't work.
- Please update to 1.20.2
- [Version 2.2.11-SNAPSHOT is supposed to support 1.20.1, but doesn't]
- Error start on 1.20.4
- If you kill a fox you will be kicked out HOT 2
- [Feature] Update to 1.19.4 HOT 1
- [Feature] Add a language for this plugin: Chinese
- 1.19.4 support HOT 1
- Error on 1.19.3 HOT 1
- [Feature] Request support for Folia HOT 1
- [Bug] Foxes Disappeared
- [Bug] HOT 1
- [Feature] Update to 1.20.1 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tamablefoxes.