Help with System.NotImplementedException
Brought to you by:
jfrijters
Hello everyone, I am trying to run a library (FlexLucene) on Mono.
FlexLucene is compiled version of the Java Lucene using IKVM.
my test app run fine on Windows but it fails on Mono/Linux with the below exception.
it seems there is something not impelemnted for Linux , what is that ?
could it be the Java NIO ?
any help is greatly appreciate it.
Thanks
System.TypeInitializationException: The type initializer for 'FlexLucene.Store.MMapDirectory' threw an exception. ---> java.lang.InternalError: uncaught exception ---> System.NotImplementedException: The method or operation is not implemented. at System.Reflection.MemberInfo.get_Module () [0x00017] in <filename unknown>:0 at System.Reflection.Emit.FieldBuilder.get_Module () [0x00000] in <filename unknown>:0 at IKVM.Internal.FieldWrapper.ResolveField () [0x0000f] in <filename unknown>:0 at NativeInvokerBytecodeGenerator.emitStaticInvoke (java.lang.invoke.MemberName member, java.lang.invoke.Name name) [0x00194] in <filename unknown>:0 at NativeInvokerBytecodeGenerator.generateCustomizedCodeBytes () [0x00161] in <filename unknown>:0 at NativeInvokerBytecodeGenerator.generateCustomizedCode (java.lang.invoke.LambdaForm form, java.lang.invoke.MethodType invokerType) [0x00037] in <filename unknown>:0 at java.lang.invoke.LambdaForm.compileToBytecode () [0x00020] in <filename unknown>:0 --- End of inner exception stack trace --- at java.lang.invoke.MethodHandleStatics.uncaughtException (System.Exception ) [0x00038] in <filename unknown>:0 at java.lang.invoke.MethodHandleImpl.makeGuardWithTest (java.lang.invoke.MethodHandle , java.lang.invoke.MethodHandle , java.lang.invoke.MethodHandle ) [0x00075] in <filename unknown>:0 at java.lang.invoke.MethodHandles.guardWithTest (java.lang.invoke.MethodHandle test, java.lang.invoke.MethodHandle target, java.lang.invoke.MethodHandle fallback) [0x000d4] in <filename unknown>:0 at FlexLucene.Store.MMapDirectory.UnmapHackImpl () [0x00124] in <filename unknown>:0 at FlexLucene.Store.MMapDirectory+__<>Anon3.run () [0x00000] in <filename unknown>:0 at java.security.AccessController.doPrivileged (System.Object , java.security.AccessControlContext , ikvm.internal.CallerID ) [0x00029] in <filename unknown>:0 --- End of inner exception stack trace --- at FlexLucene.Store.FSDirectory.Open (Path p, FlexLucene.Store.LockFactory lf) [0x00007] in <filename unknown>:0 at FlexLucene.Store.FSDirectory.Open (Path p) [0x00006] in <filename unknown>:0 at FlexLuceneApp.LuceneTest.TestFlexLuceneFS (System.String[] args) [0x00017] in /home/master/workspace/mono/FlexLuceneApp/FlexLuceneApp/LuceneTest.cs:30 at FlexLuceneApp.MainClass.Main (System.String[] args) [0x0000c] in /home/master/workspace/mono/FlexLuceneApp/FlexLuceneApp/Program.cs:13