You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Mukul Ranjan <mr...@egain.com> on 2016/06/15 13:31:02 UTC

Getting exception while initializing FSDirectory

Hi,

I'm getting below exception while initializing FSDirectory-

Caused by: java.lang.IllegalAccessError: tried to access method org.apache.lucene.store.MMapDirectory.unmapHackImpl()Ljava/lang/Object; from class org.apache.lucene.store.MMapDirectory$$dtt <@>
at java.lang.invoke.MethodHandleNatives.resolve(Native Method) <@>
at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:962) <@>
at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:987) <@>
at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1390) <@>
at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1746) <@>
at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:477) <@>


can anybody help to resolve this issue?

Thanks,
Mukul Ranjan

Visit eGain on YouTube<https://www.youtube.com/user/egainchannel> and LinkedIn<https://www.linkedin.com/company/egain-corporation>