Chronicle-Queue icon indicating copy to clipboard operation
Chronicle-Queue copied to clipboard

Queue fails to initialize with OpenJDK 14

Open amavashev opened this issue 6 years ago • 5 comments

Caused by: java.lang.AssertionError: java.lang.NoSuchMethodException: sun.nio.ch.FileChannelImpl.map0(int,long,long) at net.openhft.chronicle.core.Jvm.getMethod0(Jvm.java:395) at net.openhft.chronicle.core.Jvm.getMethod(Jvm.java:374) at net.openhft.chronicle.core.OS.lambda$static$0(OS.java:51) at net.openhft.chronicle.core.ClassLocal.computeValue(ClassLocal.java:53) at java.base/java.lang.ClassValue.getFromHashMap(ClassValue.java:226) at java.base/java.lang.ClassValue.getFromBackup(ClassValue.java:208) at java.base/java.lang.ClassValue.get(ClassValue.java:114) at net.openhft.chronicle.core.OS.map0(OS.java:354) at net.openhft.chronicle.core.OS.map(OS.java:333) at net.openhft.chronicle.bytes.MappedFile.acquireByteStore(MappedFile.java:348) at net.openhft.chronicle.bytes.MappedFile.acquireByteStore(MappedFile.java:296) at net.openhft.chronicle.bytes.MappedBytes.acquireNextByteStore0(MappedBytes.java:374) at net.openhft.chronicle.bytes.MappedBytes.readVolatileInt(MappedBytes.java:694) at net.openhft.chronicle.queue.impl.table.SingleTableBuilder.build(SingleTableBuilder.java:100) at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.initializeMetadata(SingleChronicleQueueBuilder.java:431) at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.preBuild(SingleChronicleQueueBuilder.java:996) at net.openhft.chronicle.queue.impl.single.SingleChronicleQueueBuilder.build(SingleChronicleQueueBuilder.java:329)

amavashev avatar May 18 '20 20:05 amavashev

Seems like solved: https://github.com/OpenHFT/Chronicle-Queue/issues/652. Probably could be closed.

amavashev avatar May 18 '20 22:05 amavashev

@amavashev which version are you using?

dpisklov avatar May 19 '20 11:05 dpisklov

@amavashev which version are you using?

5.17.43. We updated now to the latest 5.19.16 to test with.

amavashev avatar May 19 '20 12:05 amavashev

@amavashev ok, once tested please update/close this issue

dpisklov avatar May 19 '20 13:05 dpisklov

Assuming this can be closed

JerryShea avatar Jul 02 '20 23:07 JerryShea