java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Avinash G A
, 1 year ago
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
via Stack Overflow by chikku
, 6 months ago
java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
via Stack Overflow by Moiz Arsiwala
, 7 months ago
java.util.concurrent.ExecutionException: java.util.NoSuchElementException
via grokbase.com by Unknown author, 1 year ago
via Stack Overflow by Franko
, 9 months ago
java.util.concurrent.ExecutionException: FSWriteError in
via GitHub by dejwsz
, 1 year ago
java.util.concurrent.ExecutionException: FSWriteError in /var/lib/cassandra/lucene
java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
at org.apache.cassandra.utils.memory.MemoryUtil.allocate(MemoryUtil.java:98)
at org.apache.cassandra.io.util.Memory.(Memory.java:74)
at org.apache.cassandra.io.util.SafeMemory.(SafeMemory.java:32)
at org.apache.cassandra.io.compress.CompressionMetadata$Writer.(CompressionMetadata.java:316)
at org.apache.cassandra.io.compress.CompressionMetadata$Writer.open(CompressionMetadata.java:330)
at org.apache.cassandra.io.compress.CompressedSequentialWriter.(CompressedSequentialWriter.java:94)
at org.apache.cassandra.io.sstable.format.big.BigTableWriter.(BigTableWriter.java:84)
at org.apache.cassandra.io.sstable.format.big.BigFormat$WriterFactory.open(BigFormat.java:92)
at org.apache.cassandra.io.sstable.format.SSTableWriter.create(SSTableWriter.java:101)
at org.apache.cassandra.io.sstable.SimpleSSTableMultiWriter.create(SimpleSSTableMultiWriter.java:119)
at org.apache.cassandra.db.compaction.AbstractCompactionStrategy.createSSTableMultiWriter(AbstractCompactionStrategy.java:553)
at org.apache.cassandra.db.compaction.CompactionStrategyManager.createSSTableMultiWriter(CompactionStrategyManager.java:905)
at org.apache.cassandra.db.ColumnFamilyStore.createSSTableMultiWriter(ColumnFamilyStore.java:506)
at org.apache.cassandra.db.Memtable$FlushRunnable.createFlushWriter(Memtable.java:483)
at org.apache.cassandra.db.Memtable$FlushRunnable.(Memtable.java:422)
at org.apache.cassandra.db.Memtable$FlushRunnable.(Memtable.java:399)
at org.apache.cassandra.db.Memtable.flushRunnables(Memtable.java:277)
at org.apache.cassandra.db.ColumnFamilyStore$Flush.flushMemtable(ColumnFamilyStore.java:1117)
at org.apache.cassandra.db.ColumnFamilyStore$Flush.run(ColumnFamilyStore.java:1084)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.