зеркало из https://github.com/mono/mail-archives.git
208 строки
16 KiB
HTML
208 строки
16 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML>
|
||
|
<HEAD>
|
||
|
<TITLE> [mono-android] 4.0 crashing previously working source.
|
||
|
</TITLE>
|
||
|
<LINK REL="Index" HREF="index.html" >
|
||
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%204.0%20crashing%20previously%20working%20source.&In-Reply-To=CAO49F-%2BRxmsAooaVPqEvvM%2B%3DYPhp_q2R5Vbe6yY%2BPPsknvPTVg%40mail.gmail.com">
|
||
|
<META NAME="robots" CONTENT="index,nofollow">
|
||
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
||
|
<LINK REL="Previous" HREF="007506.html">
|
||
|
<LINK REL="Next" HREF="007503.html">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#ffffff">
|
||
|
<H1>[mono-android] 4.0 crashing previously working source.</H1>
|
||
|
<B>Josh Handel</B>
|
||
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%204.0%20crashing%20previously%20working%20source.&In-Reply-To=CAO49F-%2BRxmsAooaVPqEvvM%2B%3DYPhp_q2R5Vbe6yY%2BPPsknvPTVg%40mail.gmail.com"
|
||
|
TITLE="[mono-android] 4.0 crashing previously working source.">Josh.Handel at catapultsystems.com
|
||
|
</A><BR>
|
||
|
<I>Mon Dec 5 15:41:01 EST 2011</I>
|
||
|
<P><UL>
|
||
|
<LI>Previous message: <A HREF="007506.html">[mono-android] 4.0 crashing previously working source.
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="007503.html">[mono-android] MonoDroid4 : Previously working ArrayAdapter<int> not working any more
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#7509">[ date ]</a>
|
||
|
<a href="thread.html#7509">[ thread ]</a>
|
||
|
<a href="subject.html#7509">[ subject ]</a>
|
||
|
<a href="author.html#7509">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
<HR>
|
||
|
<!--beginarticle-->
|
||
|
<PRE>><i>From "cold start" of MonoDevelop (2.8.4.1) to failing to run the app once these are the errors in my Message log.
|
||
|
</I>
|
||
|
Also my breakpoints are throwing erros in MonoDevelop now (it doesn't crash).. to be clean I'll start a new thread for that issue.
|
||
|
|
||
|
(these two from running the app)
|
||
|
Error - 2:38:22 PM - Exception while loading assemblies: {0}
|
||
|
System.NullReferenceException: Object reference not set to an instance of an object
|
||
|
at MonoDevelop.MonoDroid.Utils.ResolveAssemblies.AddAssemblyReferences (System.Collections.Generic.List`1 assemblies, Mono.Cecil.AssemblyDefinition assembly) [0x00000] in <filename unknown>:0
|
||
|
at MonoDevelop.MonoDroid.Utils.ResolveAssemblies.Run () [0x000b4] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Utils/AssemblyHelper.cs:205
|
||
|
|
||
|
|
||
|
Error - 2:38:22 PM - Error in async operation chain
|
||
|
System.ArgumentNullException: Argument cannot be null.
|
||
|
Parameter name: source
|
||
|
at System.Linq.Check.SourceAndPredicate (System.Object source, System.Object predicate) [0x00000] in <filename unknown>:0
|
||
|
at System.Linq.Enumerable.Where[String] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
|
||
|
at MonoDevelop.MonoDroid.Utils.ResolveAssemblies.get_ResolvedUserAssemblies () [0x00000] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Utils/AssemblyHelper.cs:172
|
||
|
at MonoDevelop.MonoDroid.AndroidToolbox.InstallAssemblies (Mono.AndroidTools.AndroidDevice device, Boolean external, System.String tmp, System.String target, System.String packageName, System.IO.TextWriter outputLog, System.IO.TextWriter errorLog) [0x000d8] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/Adb/AndroidToolbox.cs:286
|
||
|
at MonoDevelop.MonoDroid.MonoDroidUploadOperation+<MonoDroidUploadOperation>c__AnonStorey22.<>m__71 () [0x0000b] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidUtility.cs:574
|
||
|
at MonoDevelop.MonoDroid.ChainedAsyncOperationSequence.RunNext () [0x000df] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidUtility.cs:774
|
||
|
at MonoDevelop.MonoDroid.ChainedAsyncOperationSequence.OpCompleted (IAsyncOperation op) [0x00112] in /private/tmp/source/md-addins/MonoDevelop.MonoDroid/MonoDevelop.MonoDroid/MonoDroidUtility.cs:816
|
||
|
|
||
|
(this one from startup of MonoDevelop)
|
||
|
Error - 2:32:22 PM - Error loading policy file 'Default.mdpolicy.xml' file '/Users/jhandel/Library/MonoDevelop-2.8/Policies/Default.mdpolicy.xml':
|
||
|
System.InvalidOperationException: Could not set property 'Text' in type 'StandardHeader' ---> System.InvalidCastException: Cannot cast from source type to destination type.
|
||
|
at MonoDevelop.Core.Serialization.PrimitiveDataType.OnDeserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/PrimitiveDataType.cs:52
|
||
|
at MonoDevelop.Core.Serialization.DataSerializer.OnDeserialize (MonoDevelop.Core.Serialization.DataType dataType, MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataSerializer.cs:101
|
||
|
at MonoDevelop.Core.Serialization.DataType.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataType.cs:106
|
||
|
at MonoDevelop.Core.Serialization.ItemProperty.OnDeserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ItemProperty.cs:290
|
||
|
at MonoDevelop.Core.Serialization.DataSerializer.OnDeserializeProperty (MonoDevelop.Core.Serialization.ItemProperty prop, MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object instance, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataSerializer.cs:121
|
||
|
at MonoDevelop.Core.Serialization.ItemProperty.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object instance, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ItemProperty.cs:285
|
||
|
at MonoDevelop.Core.Serialization.ClassDataType.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object obj, MonoDevelop.Core.Serialization.DataCollection itemData, MonoDevelop.Core.Serialization.DataItem ukwnDataRoot, System.String baseName) [0x001c1] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ClassDataType.cs:523
|
||
|
--- End of inner exception stack trace ---
|
||
|
at MonoDevelop.Core.Serialization.ClassDataType.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object obj, MonoDevelop.Core.Serialization.DataCollection itemData, MonoDevelop.Core.Serialization.DataItem ukwnDataRoot, System.String baseName) [0x00279] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ClassDataType.cs:539
|
||
|
at MonoDevelop.Core.Serialization.ClassDataType.DeserializeNoCustom (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object obj, MonoDevelop.Core.Serialization.DataCollection itemData) [0x0007d] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ClassDataType.cs:465
|
||
|
at MonoDevelop.Core.Serialization.ClassDataType.OnDeserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data, System.Object obj) [0x0003a] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ClassDataType.cs:453
|
||
|
at MonoDevelop.Core.Serialization.DataSerializer.OnDeserialize (MonoDevelop.Core.Serialization.DataType dataType, MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data, System.Object valueInstance) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataSerializer.cs:106
|
||
|
at MonoDevelop.Core.Serialization.DataType.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data, System.Object valueInstance) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataType.cs:111
|
||
|
at MonoDevelop.Core.Serialization.ClassDataType.OnDeserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x0015d] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/ClassDataType.cs:409
|
||
|
at MonoDevelop.Core.Serialization.DataSerializer.OnDeserialize (MonoDevelop.Core.Serialization.DataType dataType, MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataSerializer.cs:101
|
||
|
at MonoDevelop.Core.Serialization.DataType.Deserialize (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Object mapData, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataType.cs:106
|
||
|
at MonoDevelop.Core.Serialization.DataContext.LoadConfigurationData (MonoDevelop.Core.Serialization.SerializationContext serCtx, System.Type type, MonoDevelop.Core.Serialization.DataNode data) [0x00008] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataContext.cs:114
|
||
|
at MonoDevelop.Core.Serialization.DataSerializer.Deserialize (System.Type type, MonoDevelop.Core.Serialization.DataNode data) [0x00000] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Core.Serialization/DataSerializer.cs:76
|
||
|
at MonoDevelop.Projects.Policies.PolicyService.RawDeserialize (MonoDevelop.Core.Serialization.DataNode data) [0x000d4] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:206
|
||
|
at MonoDevelop.Projects.Policies.PolicyService.DiffDeserialize (MonoDevelop.Core.Serialization.DataItem item) [0x00031] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:242
|
||
|
at MonoDevelop.Projects.Policies.PolicyService+<DiffDeserializeXml>c__Iterator70.MoveNext () [0x000cd] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:177
|
||
|
at MonoDevelop.Projects.Policies.PolicySet.LoadFromXml (System.Xml.XmlReader reader) [0x00100] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicySet.cs:187
|
||
|
at MonoDevelop.Projects.Policies.PolicyService.<LoadPolicy>m__75 (System.IO.StreamReader reader) [0x0007b] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:1224
|
||
|
at MonoDevelop.Projects.Policies.PolicyService.ParanoidLoad (System.String fileName, System.String friendlyName, System.Action`1 read) [0x00019] in /private/tmp/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.Policies/PolicyService.cs:1251
|
||
|
|
||
|
Hope this is helpful.
|
||
|
|
||
|
|
||
|
Josh
|
||
|
________________________________
|
||
|
From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A> [<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>] on behalf of Andreia Gaita [<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">shana at xamarin.com</A>]
|
||
|
Sent: Monday, December 05, 2011 2:26 PM
|
||
|
To: Discussions related to Mono for Android
|
||
|
Subject: Re: [mono-android] 4.0 crashing previously working source.
|
||
|
|
||
|
Hi again,
|
||
|
|
||
|
Do any errors show up in the Message Log (accessible via the View / Pads menu), something like "Exception while loading assemblies"?
|
||
|
|
||
|
andreia gaita
|
||
|
|
||
|
On Mon, Dec 5, 2011 at 8:08 PM, Josh Handel <<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Josh.Handel at catapultsystems.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Josh.Handel at catapultsystems.com</A>>> wrote:
|
||
|
Scrubbed squeaky clean, even created a new Emulator for it, even cleaned and rebuilt all the other assemblies the project used and re-referenced them (with cleaning between references to make sure MonoDevelop was really really really using the new stuff).. But sadly no dice :-(
|
||
|
|
||
|
this is my output when I try to debug.
|
||
|
|
||
|
Waiting for packaging processing to complete
|
||
|
|
||
|
Getting package list from device
|
||
|
|
||
|
Installing package
|
||
|
649 KB/s (52666 bytes in 0.079s)
|
||
|
pkg: /data/local/tmp/monodroiddeltaforce.monodroiddeltaforce-Signed.apk
|
||
|
Success
|
||
|
|
||
|
Installing assemblies
|
||
|
|
||
|
Internal error. Argument cannot be null.
|
||
|
Parameter name: source
|
||
|
|
||
|
|
||
|
|
||
|
Josh
|
||
|
|
||
|
|
||
|
________________________________________
|
||
|
From: <A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>> [<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">monodroid-bounces at lists.ximian.com</A>>] on behalf of Jonathan Pryor [<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">jonp at xamarin.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">jonp at xamarin.com</A>>]
|
||
|
Sent: Monday, December 05, 2011 1:45 PM
|
||
|
To: Discussions related to Mono for Android
|
||
|
Subject: Re: [mono-android] 4.0 crashing previously working source.
|
||
|
|
||
|
On Dec 5, 2011, at 2:44 PM, Josh Handel wrote:
|
||
|
><i> I just upgraded to 4.0 and now a previously working project won't startup on the emulator/debugger. The only error I get is
|
||
|
</I>><i>
|
||
|
</I>><i> Internal error. Argument cannot be null.
|
||
|
</I>><i> Parameter name: source
|
||
|
</I>><i>
|
||
|
</I>><i> this happens after "Installing assemblies"
|
||
|
</I>
|
||
|
Please Clean and rebuild your project first.
|
||
|
|
||
|
If you're using MonoDevelop, please try using the recently released MonoDevelop 2.8.4.1.
|
||
|
|
||
|
Thanks,
|
||
|
- Jon
|
||
|
|
||
|
_______________________________________________
|
||
|
Monodroid mailing list
|
||
|
<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>>
|
||
|
|
||
|
UNSUBSCRIBE INFORMATION:
|
||
|
<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
|
||
|
|
||
|
_______________________________________________
|
||
|
Monodroid mailing list
|
||
|
<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A><mailto:<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">Monodroid at lists.ximian.com</A>>
|
||
|
|
||
|
UNSUBSCRIBE INFORMATION:
|
||
|
<A HREF="http://lists.ximian.com/mailman/listinfo/monodroid">http://lists.ximian.com/mailman/listinfo/monodroid</A>
|
||
|
|
||
|
-------------- next part --------------
|
||
|
An HTML attachment was scrubbed...
|
||
|
URL: <A HREF="http://lists.ximian.com/pipermail/monodroid/attachments/20111205/ada54fbc/attachment-0001.html">http://lists.ximian.com/pipermail/monodroid/attachments/20111205/ada54fbc/attachment-0001.html</A>
|
||
|
</PRE>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<!--endarticle-->
|
||
|
<HR>
|
||
|
<P><UL>
|
||
|
<!--threads-->
|
||
|
<LI>Previous message: <A HREF="007506.html">[mono-android] 4.0 crashing previously working source.
|
||
|
</A></li>
|
||
|
<LI>Next message: <A HREF="007503.html">[mono-android] MonoDroid4 : Previously working ArrayAdapter<int> not working any more
|
||
|
</A></li>
|
||
|
<LI> <B>Messages sorted by:</B>
|
||
|
<a href="date.html#7509">[ date ]</a>
|
||
|
<a href="thread.html#7509">[ thread ]</a>
|
||
|
<a href="subject.html#7509">[ subject ]</a>
|
||
|
<a href="author.html#7509">[ author ]</a>
|
||
|
</LI>
|
||
|
</UL>
|
||
|
|
||
|
<hr>
|
||
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
||
|
mailing list</a><br>
|
||
|
</body></html>
|