Anti-VPN
Anti-VPN copied to clipboard
Error after updating server to Java 16
[02:14:31 ERROR]: Error occurred while enabling AntiVPN v6.4.13 (Is it up to date?) java.lang.NullPointerException: Cannot invoke "me.egg82.antivpn.AntiVPN.onEnable()" because "this.concrete" is null at me.egg82.antivpn.BukkitBootstrap.onEnable(BukkitBootstrap.java:93) ~[?:?] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:581) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:283) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1057) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Airplane-"f5fb024"] at java.lang.Thread.run(Thread.java:831) [?:?] [02:14:31 INFO]: [AntiVPN] Disabling AntiVPN v6.4.13
Requesting PR for fixing this - can still use the same library and go the LuckPerms route of having the API and an injector in the plugin jar.
Note, this is a slightly old version of the plugin - can you please reproduce with this https://jenkins.egg82.me/job/egg82/job/Anti-VPN/job/master/54/
and re-send the error log?
the same for me with the latest dev build...
[13:45:07] [Server thread/INFO]: [Anti-VPN] Loading Anti-VPN v7.0.0
[13:45:09] [ForkJoinPool-2-worker-7/INFO]: Downloading IP Address
[13:45:09] [ForkJoinPool-2-worker-5/INFO]: Downloading Caffeine
[13:45:09] [ForkJoinPool-2-worker-1/INFO]: Downloading H2
[13:45:09] [ForkJoinPool-2-worker-3/INFO]: Downloading Zstd
[13:45:13] [ForkJoinPool-2-worker-7/INFO]: Downloading RabbitMQ
[13:45:14] [ForkJoinPool-2-worker-1/INFO]: Downloading FastUtil
[13:45:15] [ForkJoinPool-2-worker-5/INFO]: Downloading Ebean Core
[13:45:16] [ForkJoinPool-2-worker-3/INFO]: Downloading Javassist
[13:45:17] [ForkJoinPool-2-worker-7/INFO]: Downloading PostgreSQL
[13:45:20] [ForkJoinPool-2-worker-3/INFO]: Downloading Jedis
[13:45:27] [Server thread/ERROR]: [me.egg82.antivpn.BukkitBootstrap] java.lang.NoClassDefFoundError: me/egg82/antivpn/external/it/unimi/dsi/fastutil/ints/IntList
java.lang.NoClassDefFoundError: me/egg82/antivpn/external/it/unimi/dsi/fastutil/ints/IntList
at me.egg82.antivpn.BukkitBootstrap.onLoad(BukkitBootstrap.java:95) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:397) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:252) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1066) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Paper-691]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: me.egg82.antivpn.external.it.unimi.dsi.fastutil.ints.IntList
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[patched_1.16.5.jar:git-Paper-691]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-691]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 6 more
[13:45:27] [Server thread/ERROR]: [org.bukkit.craftbukkit.v1_16_R3.CraftServer] me/egg82/antivpn/external/redis/clients/jedis/exceptions/JedisException initializing Anti-VPN v7.0.0 (Is it up to date?)
java.lang.NoClassDefFoundError: me/egg82/antivpn/external/redis/clients/jedis/exceptions/JedisException
at me.egg82.antivpn.BukkitBootstrap.getAllowErrorStats(BukkitBootstrap.java:549) ~[?:?]
at me.egg82.antivpn.BukkitBootstrap.onLoad(BukkitBootstrap.java:99) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:397) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:252) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1066) ~[patched_1.16.5.jar:git-Paper-691]
at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Paper-691]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: me.egg82.antivpn.external.redis.clients.jedis.exceptions.JedisException
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:153) ~[patched_1.16.5.jar:git-Paper-691]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-691]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
... 7 more
Yep same here!
It will work if you add --illegal-access=permit to your startup flags However this is just a temporary fix: Java HotSpot(TM) 64-Bit Server VM warning: Option --illegal-access is deprecated and will be removed in a future release.
@strahil211 I added --illegal-access=permit to my run.bat startup flag and it still isn't working, I'm thinking of downgrading to java 11 or 8 until this is fixed or until 1.17 releases
@egg82 @Laarryy any news on when we will get a 1.16 version? Mojang is dropping 1.17 in 2 days. As well when will the plugin finally compile once more for bungee... https://gist.githubusercontent.com/andrewkm/29ffdb77effd01aec4a533965616ea35/raw/d5cc10fcbcca2dfa392e99f20caa23f68bd305fb/gistfile1.txt
I'll be working on making this J16 and MC1.17 compatible as soon as I am able - it should be soon, but life, as usual, is hectic. Don't worry though, it's not nearly abandoned. As for the compiling on bungee... another item on the list!
Any updates on this? Highly anticipating an update
"Laarryy commented 23 days ago" "it should be soon" Come on Larry you're a pro! It can't be That hard to fix it 😭
@strahil211 Our development team will be forking AntiVPN and fixing it privately on our end. Feel free to get in touch for more info.
@Laarryy have you more information or a Dev-Build?
@andrewkm Where can I get in touch with you for the fork?
Still waiting for this, is it the end of this plugin? There's gotta be a way to fix it
Plugins been dead for a while dude. Just get your own devs to update it like we have.
Hi @andrewkm - if you have working improvements and refuse to PR them, why? Additionally, why continue to pester me about putting aside my actual life to do something you don't need done? I don't appreciate the consistent negativity, please stop and appreciate my perspective, where I currently have the choice of working in real life towards things that will affect my future permanently, or spending a very long time updating and mostly simply writing from scratch a plugin that mostly works already. I need to prioritize right now, but as I have said a number of times, I have not condemned this project and still plan on working on it once I can reasonably do so.
Bro, shut up with your explanations. Either kill the project or work on it. Your explanations mean nothing. Fuck charge for the damn thing and people will pay you, otherwise kill it. Dancing in the middle like a bitch is useless, and is exactly what you're doing. Reality sucks doesn't it lol xD
We love you Larry!
Hi @andrewkm - if you have working improvements and refuse to PR them, why? Additionally, why continue to pester me about putting aside my actual life to do something you don't need done? I don't appreciate the consistent negativity, please stop and appreciate my perspective, where I currently have the choice of working in real life towards things that will affect my future permanently, or spending a very long time updating and mostly simply writing from scratch a plugin that mostly works already. I need to prioritize right now, but as I have said a number of times, I have not condemned this project and still plan on working on it once I can reasonably do so.
Larry, I want to add that we support you. I'm sure the majority of the community support whatever you choose to do and prioritise. If I could help, I would!
To put it simply andrew (and for someone who has likely profited in multiple ways off this project) his attitude towards you and this project is downright appalling.
Hey @Laarryy ! Any update on adding java 16 support? We are about to move our infrastructure over to java 16 and would love to keep using this plugin.