MineWeb / ServerBridge

A bungee/spigot hybrid plugin that inject and expose a http server within the game instance
http://mineweb.org
9 stars 11 forks source link

Problème avec bungee #6

Closed Lethgir closed 5 years ago

Lethgir commented 5 years ago

Quand Mineweb est utilisé sur un serveur Bungee, une erreur est générée dès qu'un joueur recharge sa liste de serveur.

Avec via version :

java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at us.myles.ViaVersion.bungee.handlers.BungeeChannelInitializer.initChannel(BungeeChannelInitializer.java:33)
    at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
    at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112)
    at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:953)
    at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:610)
    at io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46)
    at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1461)
    at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1126)
    at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:651)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:515)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:428)
    at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:487)
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:333)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: net.md_5.bungee.connection.InitialHandler.<init>(Lnet/md_5/bungee/api/ProxyServer;Lnet/md_5/bungee/api/config/ListenerInfo;)V
    at fr.vmarchaud.mineweb.bungee.BungeeNettyInjector$1.initChannel(BungeeNettyInjector.java:82)
    ... 21 more

Sans ViaVersion :

java.lang.NoSuchMethodError: net.md_5.bungee.connection.InitialHandler.<init>(Lnet/md_5/bungee/api/ProxyServer;Lnet/md_5/bungee/api/config/ListenerInfo;)V
    at fr.vmarchaud.mineweb.bungee.BungeeNettyInjector$1.initChannel(BungeeNettyInjector.java:82)
    at io.netty.channel.ChannelInitializer.initChannel(ChannelInitializer.java:129)
    at io.netty.channel.ChannelInitializer.handlerAdded(ChannelInitializer.java:112)
    at io.netty.channel.AbstractChannelHandlerContext.callHandlerAdded(AbstractChannelHandlerContext.java:953)
    at io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:610)
    at io.netty.channel.DefaultChannelPipeline.access$100(DefaultChannelPipeline.java:46)
    at io.netty.channel.DefaultChannelPipeline$PendingHandlerAddedTask.execute(DefaultChannelPipeline.java:1461)
    at io.netty.channel.DefaultChannelPipeline.callHandlerAddedForAllHandlers(DefaultChannelPipeline.java:1126)
    at io.netty.channel.DefaultChannelPipeline.invokeHandlerAddedIfNeeded(DefaultChannelPipeline.java:651)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.register0(AbstractChannel.java:515)
    at io.netty.channel.AbstractChannel$AbstractUnsafe.access$200(AbstractChannel.java:428)
    at io.netty.channel.AbstractChannel$AbstractUnsafe$1.run(AbstractChannel.java:487)
    at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:163)
    at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:404)
    at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:333)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:905)
    at java.lang.Thread.run(Thread.java:748)
Lethgir commented 5 years ago

Duplication de https://github.com/MineWeb/ServerBridge/issues/5

MaximeMichaud commented 4 years ago

En effet, problème avec Bungee. Une mise à jour pour régler le problème serait intéressante.