I'm tracking down a few problems at present on building old projects now I've moved up to 4.2
This project seems to build but then fails at the java stubs generation with a stack trace as below. Any idea how I can work out what I need to fix here? Thanks Stuart P.S. 80% of projects are building OK - it's just a few that aren't C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: The "GenerateJavaStubs" task failed unexpectedly. C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: System.NullReferenceException: Object reference not set to an instance of an object. C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at CustomAttributeProviderRocks.<GetCustomAttributes>c__Iterator2.MoveNext() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source) C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Xamarin.Android.Tasks.JavaTypeInfo.<JavaTypeInfo>m__3(TypeDefinition d) C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Xamarin.Android.Tasks.JavaTypeInfo..ctor(TypeDefinition type, String outerType) C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Xamarin.Android.Tasks.Generator.CreateJavaSources(List`1 javaTypes, String outputPath, Boolean useSharedRuntime, Boolean hasExportReference) C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Xamarin.Android.Tasks.GenerateJavaStubs.Execute() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute() C:\Program Files (x86)\MSBuild\Novell\Novell.MonoDroid.Common.targets(680,3): error MSB4018: at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__1c.MoveNext() Done executing task "GenerateJavaStubs" -- FAILED. (TaskId:3428)
_______________________________________________ Monodroid mailing list [email protected] UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid
