Crash + question

2 posts, 0 answers
  1. Nathan
    Nathan avatar
    6 posts
    Member since:
    Apr 2011

    Posted 28 Apr 2011 Link to this post

    1) Will it be possible to select an assembly and then 'export' (the complete assembly) back to a .NET solution? (

    2) Here is the error I ran into: (Click 'Find usages' --> 'ctrl + left mouse click' on an item in the tree results in the Crash)

    ---------------------------

    Error
    ---------------------------
    An error has occurred. Please, report this exception to the Telerik team (Use CTRL + C to copy the text). Thanks in advance!



    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Specified element is already the logical child of another element. Disconnect it first.

    at System.Windows.FrameworkElement.ChangeLogicalParent(DependencyObject newParent)

    at System.Windows.FrameworkElement.AddLogicalChild(Object child)

    at System.Windows.Window.OnContentChanged(Object oldContent, Object newContent)

    at System.Windows.Controls.ContentControl.OnContentChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)

    at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

    at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)

    at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)

    at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)

    at System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)

    at JustDecompile.FindUsages.ViewModels.FindUsagesButtonViewModel.€() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.FindUsages\ViewModels\FindUsagesButtonViewModel.cs:line 33

    at JustDecompile.FindUsages.ViewModels.FindUsagesButtonViewModel.›(AssemblyMemberDefinition member) in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile.FindUsages\ViewModels\FindUsagesButtonViewModel.cs:line 71

    --- End of inner exception stack trace ---

    at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

    at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)

    at System.Delegate.DynamicInvokeImpl(Object[] args)

    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)

    at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    at System.Windows.Threading.DispatcherOperation.InvokeImpl()

    at System.Threading.ExecutionContext.runTryCode(Object userData)

    at System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)

    at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)

    at System.Windows.Threading.DispatcherOperation.Invoke()

    at System.Windows.Threading.Dispatcher.ProcessQueue()

    at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)

    at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)

    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)

    at System.Windows.Threading.Dispatcher.WrappedInvoke(Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

    at System.Windows.Threading.Dispatcher.InvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)

    at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)

    at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)

    at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)

    at System.Windows.Application.RunInternal(Window window)

    at System.Windows.Application.Run()

    at JustDecompile.App.() in c:\B\Behemoth\JustDecompile Production Build\Sources\UI\JustDecompile\obj\Release\App.g.cs:line 16777215
    ---------------------------
    OK
    ---------------------------
  2. Todd Anglin
    Todd Anglin avatar
    2040 posts
    Member since:
    Aug 2005

    Posted 28 Apr 2011 Link to this post

    Thanks for getting involved in the JustDecompile Beat, Nathan!

    We'll definitely work on improving the robustness of the Find Usages process for the upcoming builds. For now, try this workaround:

    1. Instead of clicking on the "Find Usages" button, directly "Ctrl + Left Mouse Button" click on a symbol in the tree
    2. This should directly open the Find Usages window and perform the analysis

    As for export, this is good feedback and an idea others have requested, too. We'll definitely log this in the product backlog and prioritize it for an upcoming release.

    -Todd
  3. DevCraft banner
Back to Top