]
Gustavo Fernandes updated ISPN-7519:
------------------------------------
Fix Version/s: 8.2.7.Final
NPE and Deadlock during server start
------------------------------------
Key: ISPN-7519
URL:
https://issues.jboss.org/browse/ISPN-7519
Project: Infinispan
Issue Type: Bug
Components: Server, Test Suite - Server
Affects Versions: 9.0.0.CR1
Reporter: Gustavo Fernandes
Assignee: Gustavo Fernandes
Fix For: 9.0.0.CR2, 8.2.7.Final
Attachments: server-trace.txt, surefire-trace.txt
When running the full test suite, it deadlocked when running the test
{{StateTransferSuppressIT.testRebalanceWithFirstNodeStop}}.
The server startup printed
{noformat}
12:13:07,787 INFO [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread
1-4) ISPN000128: Infinispan version: Infinispan 'Ruppaner' 9.0.0-SNAPSHOT
12:13:08,159 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-4)
DGISPN0001: Started memcachedCache cache from clustered container
12:13:08,159 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2)
DGISPN0001: Started default cache from clustered container
12:13:08,181 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4)
DGENDPT10000: MemcachedServer starting
12:13:08,181 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3)
DGENDPT10000: HotRodServer starting
12:13:08,182 INFO [org.infinispan.server.endpoint] (MSC service thread 1-4)
DGENDPT10001: MemcachedServer listening on 127.0.0.1:11211
12:13:08,182 INFO [org.infinispan.server.endpoint] (MSC service thread 1-3)
DGENDPT10001: HotRodServer listening on 127.0.0.1:11222
12:13:08,188 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1)
DGENDPT10000: REST starting
12:13:08,259 WARNING [io.netty.channel.epoll.EpollEventLoop] (MemcachedServerMaster-1-1)
Unexpected exception in the selector loop.: java.lang.NullPointerException
at
io.netty.util.internal.shaded.org.jctools.queues.MpscChunkedArrayQueue.poll(MpscChunkedArrayQueue.java:264)
at
io.netty.util.concurrent.SingleThreadEventExecutor.pollTaskFrom(SingleThreadEventExecutor.java:223)
at
io.netty.util.concurrent.SingleThreadEventExecutor.pollTask(SingleThreadEventExecutor.java:218)
at
io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:408)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:306)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:873)
at
io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:745)
12:13:08,338 INFO [org.infinispan.rest.NettyRestServer] (MSC service thread 1-1)
ISPN012003: REST server starting, listening on 127.0.0.1:8080
12:13:08,338 INFO [org.infinispan.server.endpoint] (MSC service thread 1-1)
DGENDPT10002: REST mapped to /rest
{noformat}
and then hanged. Attached is the stack trace of the server, and the forked test process.