JAR library (Android binding library): "generator.exe" exited with code -1073741819

MarMarIVMarMarIV Member ✭✭
edited November 2018 in Xamarin.Android

Hi everyone,
i'm trying to use Parceler library (https://github.com/johncarl81/parceler), because another binding library is using it. I have in project abou 5 binding libraries and all of them works fine.

But with this, i have a problem when building binding library project:

1>  Unhandled exception: System.NullReferenceException:
1>     v Xamarin.Android.Tools.ApiXmlAdjuster.JavaApiXmlGeneratorExtensions.Save(JavaTypeParameters typeParameters, XmlWriter writer, String indent)
1>     v Xamarin.Android.Tools.ApiXmlAdjuster.JavaApiXmlGeneratorExtensions.SaveTypeCommon(JavaType cls, XmlWriter writer, String elementName, String abs, String ext, String extgen, String jniExt)
1>     v Xamarin.Android.Tools.ApiXmlAdjuster.JavaApiXmlGeneratorExtensions.Save(JavaApi api, XmlWriter writer)
1>     v Xamarin.Android.Tools.ApiXmlAdjuster.JavaApiXmlGeneratorExtensions.Save(JavaApi api, String xmlfile)
1>     v Xamarin.Android.Tools.ApiXmlAdjuster.Adjuster.Process(String inputXmlFile, CodeGenerationOptions opt, GenBase[] gens, String outputXmlFile, Int32 reportVerbosity)
1>     v Xamarin.Android.Binder.CodeGenerator.Run(CodeGeneratorOptions options, DirectoryAssemblyResolver resolver)
1>     v Xamarin.Android.Binder.CodeGenerator.Run(CodeGeneratorOptions options)
1>     v Xamarin.Android.Binder.CodeGenerator.Main(String[] args)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.targets(431,5): error MSB6006: "generator.exe" exited with code -1073741819.

Project settings:

File properties:

Have anybody solution for this? I cannot find anything about it

Thanks a lot

Answers

  • jezhjezh Member, Xamarin Team Xamurai

    Did you follow this steps?

  • zerokewl88zerokewl88 Member ✭✭

    Late reply, but ...was there anything in your Metadata.xml that could cause this issue ? I sometimes found that invalid markup will still compile / work, but then this error is caused without much more indication of where / why.

Sign In or Register to comment.