Menu

#322 Critical Failure when calling a IKVM generated DLL from LabView

v1.0 (example)
open
nobody
None
5
2017-11-14
2017-11-13
No

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).

Critical Error

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.

Discussion

  • alvinjayreyes

    alvinjayreyes - 2017-11-14

    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

     

Log in to post a comment.