maydemirx / moquette-mqtt

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

Running ServerIntegrationPahoTest throw IOPagingException:java.io.EOFException #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Running ServerIntegrationPahoTest file will throw Exception like:
org.fusesource.hawtdb.api.IOPagingException: java.io.EOFException
    at org.fusesource.hawtdb.api.PageFileFactory.open(PageFileFactory.java:121)
    at org.dna.mqtt.moquette.messaging.spi.impl.HawtDBStorageService.<init>(HawtDBStorageService.java:82)
    at org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging.processInit(SimpleMessaging.java:168)
    at org.dna.mqtt.moquette.messaging.spi.impl.SimpleMessaging.onEvent(SimpleMessaging.java:160)
    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:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.io.EOFException
    at java.io.DataInputStream.readInt(DataInputStream.java:375)
    at org.fusesource.hawtdb.internal.util.Ranges.readExternal(Ranges.java:396)
    at org.fusesource.hawtdb.api.PageFileFactory.open(PageFileFactory.java:111)
    ... 11 more

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
moquette-broker-0.4-SNAPSHOT-jar-with-dependencies.jar, windows7 64位

Please provide any additional information below.

Original issue reported on code.google.com by 575762...@qq.com on 13 Dec 2013 at 12:17

GoogleCodeExporter commented 8 years ago
Not more applicable, switched to MapDB

Original comment by selva.an...@gmail.com on 29 Nov 2014 at 2:44