Download [#SPIGOT-2994] Netty spews errors when using

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
[SPIGOT-2994] Netty spews errors when using Java 9 (JDK9) Created: 08/Jan/17
Updated:
08/Jan/17 Resolved: 08/Jan/17
Status:
Project:
Component/s:
Affects
Version/s:
Fix Version/s:
Resolved
Spigot
None
None
Type:
Reporter:
Resolution:
Labels:
Environment:
Bug
Sergiu Niculae
Won't Fix
java9
Spigot 1.11.2
Centos 7 64 bit
Version:
CraftBukkit version git-Spigot-7d78b81-d5e7885 (MC: 1.11.2)
(Implementing API version 1.11.2-R0.1-SNAPSHOT)
None
Priority:
Assignee:
Votes:
Minor
Unassigned
0
Description
This error is spammed in the logs over and over again when trying to start a spigot 1.11 server using Java 9
[15:05:47] Netty Epoll Server IO #1/WARN: An exceptionCaught() event was fired, and it reached at the
tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.lang.RuntimeException: Unable to access address of buffer
at io.netty.channel.epoll.Native.read(Native Method) ~[spigot-1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at
io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.doReadBytes(EpollSocketChannel.java:678)
[spigot-1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at
io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe.epollInReady(EpollSocketChannel.java:714)
[spigot-1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at io.netty.channel.epoll.EpollSocketChannel$EpollSocketUnsafe$3.run(EpollSocketChannel.java:755)
[spigot-1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:380)
[spigot-1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:268) [spigot-1.11.2.jar:git-Spigot7d78b81-d5e7885]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) [spigot1.11.2.jar:git-Spigot-7d78b81-d5e7885]
at java.base/java.lang.Thread.run(Thread.java:844) [?:?]
Comments
Comment by Jan Hof [ 08/Jan/17 ]
1. Java 9 is only in beta
2. Netty is not updated on java 9
3. As written in the spigot wiki, its recommended to use java 8
"Keep in mind that Java 8 is the recommended Java version for all Minecraft applications."
https://www.spigotmc.org/wiki/spigot-installation/
Comment by md_5 [ 08/Jan/17 ]
You can report this to Mojang - bugs.mojang.com
Comment by md_5 [ 08/Jan/17 ]
This is assuming there even exists a Java 9 compatible version of Netty which I am unsure of.
That should be checked first.
Comment by md_5 [ 08/Jan/17 ]
No netty version supports java 9, but you can set use-native-transport=false in server.properties
to make it work.
Note that Java 9 is completely unsupported and will likely cause heaps more bugs.
Generated at Thu Jun 08 12:53:51 UTC 2017 using JIRA 7.3.0#73011sha1:3c73d0e0b5ea20e2128531b9adf9b0585752b90a.