[mono-android] Java Bindings Library - error MSB6006: "generator.exe" exited with code -532462766

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Mon Jun 4 03:20:36 UTC 2012


This issue should be fixed in the next release. Thanks for your feedback.

Atsushi Eno

Narayan Sainaney wrote:
>
> I am trying to create a MonoDroid wrapper for the TouchDB-Android code 
> available here:
>
> https://github.com/couchbaselabs/TouchDB-Android.git
>
> I was able to successfully build the project in Eclipse.
>
> I created a TouchDBMono Java Bindings Library project and added the 
> following Jars:
>
> jackson-core-asl-1.9.2.jar
>
> jackson-mapper-asl-1.9.2.jar
>
> touchdb-android.jar
>
> I thought I’d start with touchdb-android and then work on 
> touchdb-android-ektorp, touchdb-android-javascript and 
> touchdb-android-listener.
>
> I get the following error when building the bindings library:
>
> Unhandled Exception: System.ArgumentOutOfRangeException: Length cannot 
> be less than zero.
>
> Parameter name: length
>
> at System.String.InternalSubStringWithChecks(Int32 startIndex, Int32 
> length, Boolean fAlwaysCopy)
>
> at MonoDroid.Generation.CodeGenerationOptions.GetOutputName(String s)
>
> at System.Linq.Enumerable.WhereSelectArrayIterator`2.MoveNext()
>
> at System.String.Join(String separator, IEnumerable`1 values)
>
> at MonoDroid.Generation.CodeGenerationOptions.GetOutputName(String s)
>
> at 
> MonoDroid.Generation.CollectionSymbol.ToNative(CodeGenerationOptions 
> opt, String varname)
>
> at MonoDroid.Generation.Method.GenerateCallback(StreamWriter sw, 
> String indent, CodeGenerationOptions opt, GenBase type, String 
> property_name, Boolean as_formatted)
>
> at MonoDroid.Generation.Method.Generate(StreamWriter sw, String 
> indent, CodeGenerationOptions opt, GenBase type, Boolean 
> generate_callbacks, Boolean force_override)
>
> at MonoDroid.Generation.ClassGen.GenMethods(StreamWriter sw, String 
> indent, CodeGenerationOptions opt)
>
> at MonoDroid.Generation.ClassGen.Generate(StreamWriter sw, String 
> indent, CodeGenerationOptions opt, GenerationInfo gen_info)
>
> at MonoDroid.Generation.ClassGen.Generate(CodeGenerationOptions opt, 
> GenerationInfo gen_info)
>
> at Xamarin.Android.Binder.CodeGenerator.Run(CodeGeneratorOptions options)
>
> at Xamarin.Android.Binder.CodeGenerator.Main(String[] args)
>
> C:\Program Files 
> (x86)\MSBuild\Novell\Xamarin.Android.Bindings.targets(197,5): error 
> MSB6006: "generator.exe" exited with code -532462766.
>
> Done executing task "BindingsGenerator" -- FAILED.
>
> Done building target "GenerateBindings" in project 
> "TouchDBMono.csproj" -- FAILED.
>
> Would appreciate any info on what might be wrong.
>
>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid



More information about the Monodroid mailing list