[IronPython] XAML attribute edit = Unhandled Exception

Hank Fay hank at prosysplus.com
Tue May 4 19:08:34 PDT 2010


Maybe this is already known?

In IPyTools CTP2:

Create new WPF IPY app; add a button; in Button XAML, add MouseEnter=""

Result: a good chance at this point the unhandled exception will have
occurred.  If not, this is a 100% occurrence at the next step: enter text
between the empty double-quotes after MouseEnter=

Pressing the Click here to reload the designer link refreshes the designer
OK

Here's the stack trace:

Server stack trace:
   at
MS.Internal.Providers.VSAssemblyReferenceProvider.AddReference(AssemblyName
newReference)
   at
MS.Internal.Host.Isolation.Adapters.ContextToProtocolAdapter.MS.Internal.Host.Isolation.Protocols.IAssemblyReferenceProtocol.AddReference(AssemblyName
name)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr
md, Object[] args, Object server, Int32 methodPtr, Boolean
fExecuteInContext, Object[]& outArgs)
   at
System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage
msg, Int32 methodPtr, Boolean fExecuteInContext)

Exception rethrown at [0]:
   at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
   at
MS.Internal.Host.Isolation.Protocols.IAssemblyReferenceProtocol.AddReference(AssemblyName
name)
   at
MS.Internal.Host.Isolation.Adapters.ToAssemblyReferenceAdapter.AddReference(AssemblyName
newReference)
   at
MS.Internal.Host.PersistenceSubsystem.ReconcileReferences(AssemblyReferences
references)
   at MS.Internal.Host.PersistenceSubsystem.<Load>b__8(AssemblyReferences
newReferences)
   at
Microsoft.Windows.Design.ContextItemManager.SubscribeProxy`1.SubscribeContext(ContextItem
item)
   at Microsoft.Windows.Design.SubscribeContextCallback.Invoke(ContextItem
item)
   at
Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.OnItemChanged(ContextItem
item)
   at
Microsoft.Windows.Design.EditingContext.DefaultContextItemManager.SetValue(ContextItem
value)
   at
Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.EnsureAssemblyReference(IAssemblyMetadata
assembly)
   at
Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.EnsureReferences(IEnumerable`1
types)
   at
Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.ReferenceUpdater.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator
sender, MessageKey key, MessageArguments args)
   at
Microsoft.Windows.Design.DocumentModel.MarkupDocumentManagerBase.CancelableDocumentTreeCoordinator.RouteMessage[T](IDocumentTreeConsumer
consumer, MessageKey`1 key, T args)
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1
key, T args, Boolean isPrivateMessage)
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1
key, T args)
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ReportDamage(IDocumentTreeProducer
tree, Damage damage)
   at Microsoft.Windows.Design.DocumentModel.MarkupProducer.Update()
   at
Microsoft.Windows.Design.DocumentModel.MarkupProducer.HandleMessage(DocumentTreeCoordinator
sender, MessageKey key, MessageArguments args)
   at
Microsoft.Windows.Design.DocumentModel.MarkupProducer.Microsoft.Windows.Design.DocumentModel.IDocumentTreeConsumer.HandleMessage(DocumentTreeCoordinator
sender, MessageKey key, MessageArguments args)
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.SendMessage[T](MessageKey`1
key, T args, Boolean isPrivateMessage)
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.QueuedMessage`1.Microsoft.Windows.Design.DocumentModel.IQueuedMessage.Invoke()
   at
Microsoft.Windows.Design.DocumentModel.DocumentTreeCoordinator.ProcessQueuedMessages(Object
state)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate
callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object
source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ironpython.com/pipermail/users-ironpython.com/attachments/20100504/35e4123a/attachment.htm>


More information about the Users mailing list