Critical Failure when calling a IKVM generated DLL from LabView
Brought to you by:
jfrijters
We're trying to call a method from a IKVM generated DLL from LabView and in doing so, we ran into a Critical Error (screenshot attached).
I'm asking for the integrator to give me a text copy of this error, but since I don't have a copy at hand on me right now, I figured to post it here since this is certainly a show stopper for us.
Once I got the text message stacktrace, I'll update this bug.
https://www.dropbox.com/s/j21vw37wlriygky/595c9ae5-f0c2-4d38-94ee-56dffcfc7cc0.jpg?dl=0
IKVM.NET 8.1.5717.0 Critical Failure
Critical Failure: Failed to find core classes in core library
PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE
(on Windows you can use Ctrl+C to copy the contents of this message to the clipboard)
NeutoSpfsLibrary, Version=8.1.5717.0, Culture=neutral, PublicKeyToken=null
C:\Windows\Microsoft.NET\Framework\v2.0.50727\
2.0.50727.8762 32-bit
at IKVM.Internal.JVM.CriticalFailure(String message, Exception x)
at IKVM.Internal.ClassLoaderWrapper.LoadRemappedTypes()
at IKVM.Internal.ClassLoaderWrapper..cctor()
at IKVM.Internal.ClassLoaderWrapper.IsRemappedType(Type type)
at IKVM.NativeCode.ikvm.runtime.Util.GetTypeWrapperFromObject(Object o)
at java.util.Arrays.copyOf(Object[] original, Int32 newLength)
at java.util.ArrayList.grow(Int32 )
at java.util.ArrayList.ensureExplicitCapacity(Int32 )
at java.util.ArrayList.ensureCapacityInternal(Int32 )
at java.util.ArrayList.add(Object e)
at io.neuto.client.main.PublishApiTest1.generateDataHashAndSign(String messageType, String senderPrivateKey, String receiverPublicKey, File file)
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at NationalInstruments.LabVIEW.DNRuntime.InvokeMethod(Int32 invokeType, Type type, ObjectId objectId, String methodName, Type[] parameterTypes, Int32[] parameterFlags, ObjectId[]& parameterIds)
at NationalInstruments.LabVIEW.CrossDomainServer.DNInvokeMethod(Int32 invokeType, LVAssembly lvAssembly, Char typeName, Int32 objectId, Char methodName, Int32 numParams, LVAssembly paramTypeAssemblies, Char paramTypeNames, Int32 paramFlagArray, Int32 paramDataArray, LStr** errStrOut)
OK