java.lang.IllegalAccessError: tried to access method org.apache.lucene.store.RAMFile.__tc_getlength()J from class org.apache.lucene.store.RAMOutputStream

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Terracotta by fuzy, 1 year ago
tried to access method org.apache.lucene.store.RAMFile.__tc_getlength()J from class org.apache.lucene.store.RAMOutputStream
java.lang.IllegalAccessError: tried to access method org.apache.lucene.store.RAMFile.__tc_getlength()J from class org.apache.lucene.store.RAMOutputStream
at org.apache.lucene.store.RAMOutputStream.setFileLength(RAMOutputStream.java:139)
at org.apache.lucene.store.RAMOutputStream.flush(RAMOutputStream.java:146)
at org.apache.lucene.store.RAMOutputStream.close(RAMOutputStream.java:83)
at org.apache.lucene.index.FieldInfos.write(FieldInfos.java:285)
at org.apache.lucene.index.DocumentWriter.addDocument(DocumentWriter.java:101)
at org.apache.lucene.index.IndexWriter.buildSingleDocSegment(IndexWriter.java:1013)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1001)
at org.hibernate.search.backend.impl.lucene.LuceneWorker.add(LuceneWorker.java:70)
at org.hibernate.search.backend.impl.lucene.LuceneWorker.performWork(LuceneWorker.java:62)
at org.hibernate.search.backend.impl.lucene.LuceneWorker.performWork(LuceneWorker.java:43)
at org.hibernate.search.backend.impl.lucene.LuceneBackendQueueProcessor.run(LuceneBackendQueueProcessor.java:98)
at org.hibernate.search.backend.impl.BatchedQueueingProcessor.performWorks(BatchedQueueingProcessor.java:132)
at org.hibernate.transaction.JDBCTransaction.notifyLocalSynchsAfterTransactionCompletion(JDBCTransaction.java:243)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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