Replies: 1 comment
-
This sounds like another case of not passing -reference to all of the reference assemblies of the target framework. Something IkvmReference does automatically. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
In a v 8.7.5 environment, using IKVM net472 runtime tools, I'm not always able to build a dll from a jar with ikvmc. For example I could build a dll from commons-lang-2.4.jar, just by running "ikvmc commons-lang-2.4.jar". But with commons-lang3-3.12.0.jar I'm getting this error:
IKVM.Tools.Importer, Version=8.7.5.0, Culture=neutral, PublicKeyToken=13235d27fcbfff58
C:\Windows\Microsoft.NET\Framework64\v4.0.30319
4.0.30319.42000 64-bit
System.NullReferenceException: Object reference not set to an instance of an object.
at IKVM.Runtime.AttributeHelper.GetEditorBrowsableNever()
at IKVM.Runtime.RuntimeByteCodeJavaType.JavaTypeImpl.LinkMethod(RuntimeJavaMethod mw)
at IKVM.Runtime.RuntimeJavaMethod.DoLinkMethod()
at IKVM.Runtime.RuntimeJavaMethod.Link(LoadMode mode)
at IKVM.Runtime.RuntimeByteCodeJavaType.JavaTypeImpl.Finish()
at IKVM.Tools.Importer.RuntimeImportByteCodeJavaType.Finish()
at IKVM.Runtime.RuntimeByteCodeJavaType.JavaTypeImpl.Finish()
at IKVM.Tools.Importer.RuntimeImportByteCodeJavaType.Finish()
at IKVM.Runtime.DynamicClassLoader.FinishAll()
at IKVM.Tools.Importer.CompilerClassLoader.Compile(RuntimeContext context, StaticCompiler compiler, String runtimeAssembly, List`1 optionsList)
at IKVM.Tools.Importer.IkvmImporterInternal.Compile(String[] args)
at IKVM.Tools.Importer.IkvmImporterInternal.Execute(String[] args)
Beta Was this translation helpful? Give feedback.
All reactions