lizhanhui / moquette-mqtt

Automatically exported from code.google.com/p/moquette-mqtt
Apache License 2.0
0 stars 0 forks source link

Exception during tests #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Due to the asynchronous nature of server shutdown (poison pill into the 
disruptor queue) sometimes in integration tests, due to rapid stop/start 
sequence of the server instance happens that:

SEVERE: Exception processing: 0 
org.dna.mqtt.moquette.messaging.spi.impl.ValueEvent@69ed8c20
java.lang.NullPointerException
    at org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging.processInit(SimpleMessaging.java:172)
    at org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging.onEvent(SimpleMessaging.java:161)
    at org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging.onEvent(SimpleMessaging.java:28)
    at com.lmax.disruptor.BatchEventProcessor.run(BatchEventProcessor.java:113)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)

Original issue reported on code.google.com by selva.an...@gmail.com on 26 Dec 2013 at 5:43

GoogleCodeExporter commented 9 years ago

Original comment by selva.an...@gmail.com on 6 Dec 2014 at 3:37