rvacaru
Member
| Joined: | Wed Jan 27th, 2010 |
| Location: | |
| Posts: | 49 |
| Status: |
Offline
|
|
Hello
Problem 1:
Today I got an exception in sisulizer and I remember having this issue some time ago too.
9:30:46 PM Hint x:Array[0].media:SolidColorBrush[2] component has no name. It is recommended to give a name using either Name, x:Name or x:Uid attribute.
9:30:49 PM Error Exception: Node "controls\servicelandscape.Grid[0].ContextMenu[0]" already exists. Call stack: 7c90da08 +0a ntdll.dll NtReadVirtualMemory 7c8021e5 +15 kernel32.dll ReadProcessMemory 7c90e485 +09 ntdll.dll KiUserExceptionDispatcher 7e418a0b +0a USER32.dll DispatchMessageW thread $17a4: 7c90df48 +0a ntdll.dll NtWaitForMultipleObjects 7c80958a +00 kernel32.dll WaitForMultipleObjectsEx 7e4195f3 +00 USER32.dll MsgWaitForMultipleObjectsEx 7e4196a3 +1a USER32.dll MsgWaitForMultipleObjects thread $15f4: 7c90daa8 +a ntdll.dll NtReplyWaitReceivePortEx thread $18bc: 7c90d218 +0a ntdll.dll NtDelayExecution 7c8023eb +4b kernel32.dll SleepEx 7c802450 +0a kernel32.dll Sleep 7c910432 +25 ntdll.dll RtlAcquirePebLock thread $19c0: 7c90daa8 +a ntdll.dll NtReplyWaitReceivePortEx thread $c6c: 7c90d218 +a ntdll.dll NtDelayExecution thread $898: 7c90df58 +0a ntdll.dll NtWaitForSingleObject 7c8025d5 +85 kernel32.dll WaitForSingleObjectEx 7c80253d +0d kernel32.dll WaitForSingleObject thread $1af4: 7c90df48 +a n |
The hint makes sense, there's no Name but in this specific case (Grid[0].ContextMenu[0]) the exception occurs.
I uploaded the XAML file. Basically I have there 3 Grids (inside DataTemplates and without any names) and each has a Grid.ContextMenu defined.
Remembering the missing Name could be a problem I put some Name="Grid1", etc to the Grids and the exception went away.
We can workaround the problem by using Name attribute but maybe you'd like to fix the bug.
The attached file is the not working version; to make it work all the Grids having Grid.ContextMenu should have a Name.
Problem 2:
| 11:15:23 PM Error EFOpenError: Cannot open file "C:\Documents and Settings\radu.dan.vacaru\My Documents\Visual Studio 2010\Projects\AMADEE\Designer\obj\Debug\Controls\ControlStepPicker.de.baml". The system cannot find the file specified. Call stack: 7c90da08 +0a ntdll.dll NtReadVirtualMemory 7c8021e5 +15 kernel32.dll ReadProcessMemory 7c90e485 +09 ntdll.dll KiUserExceptionDispatcher 7e418a0b +0a USER32.dll DispatchMessageW thread $17a4: 7c90df48 +0a ntdll.dll NtWaitForMultipleObjects 7c80958a +00 kernel32.dll WaitForMultipleObjectsEx 7e4195f3 +00 USER32.dll MsgWaitForMultipleObjectsEx 7e4196a3 +1a USER32.dll MsgWaitForMultipleObjects thread $15f4: 7c90daa8 +a ntdll.dll NtReplyWaitReceivePortEx thread $18bc: 7c90d218 +0a ntdll.dll NtDelayExecution 7c8023eb +4b kernel32.dll SleepEx 7c802450 +0a kernel32.dll Sleep 7c910432 +25 ntdll.dll RtlAcquirePebLock thread $19c0: 7c90daa8 +a ntdll.dll NtReplyWaitReceivePortEx thread $c6c: 7c90d218 +a ntdll.dll NtDelayExecution thread $898: 7c90df58 +0a ntdll.dll NtWaitForSingleObject 7c8025d5 +85 kernel32.dll WaitForSingleObjectEx 7c80253d +0d kernel32.dll WaitForSingleObject thread $1af4: 7c90df48 +a n |
I've checked and the file is really not there... no idea why..
|