This is a migrated thread and some comments may be shown as answers.

Just Code Exception

4 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Alanm
Top achievements
Rank 2
Alanm asked on 13 Jun 2013, 02:02 PM
I keep getting this exception when I try to open the JustCode Errors Window.  I'm on Q2; this has happened on both Q1 & Q2 2013.

I had hoped it was fixed in Q2, but it's still doing it regularly.

System.Windows.Markup.XamlParseException: Add value to collection of type 'System.Windows.Interactivity.BehaviorCollection' threw an exception. ---> System.ArgumentException: Cannot add instance of type 'RadGridViewMultiSelectBehavior' to a collection of type 'BehaviorCollection'. Only items of type 'T' are allowed.
   at System.Windows.FreezableCollection`1.Cast(Object value)
   at System.Windows.FreezableCollection`1.System.Collections.IList.Add(Object value)
   at System.Xaml.Schema.XamlTypeInvoker.AddToCollection(Object instance, Object item)
   at MS.Internal.Xaml.Runtime.ClrObjectRuntime.Add(Object collection, XamlType collectionType, Object value, XamlType valueXamlType)
   --- End of inner exception stack trace ---
   at System.Windows.Markup.XamlReader.RewrapException(Exception e, IXamlLineInfo lineInfo, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.Load(XamlReader xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
   at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlReader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
   at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
   at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
   at Telerik.JustCode.UserInterface.Errors.ErrorListView.InitializeComponent() in c:\_J\workspace\Installer-release\src\UserInterface\obj\Release\Errors\ErrorListView.g.cs:line 1
   at Telerik.JustCode.UserInterface.Errors.ErrorListView..ctor() in c:\_J\workspace\Installer-release\src\UserInterface\Errors\ErrorListView.xaml.cs:line 31
   at Telerik.JustCode.UserInterface.Errors.TaskListService.#zm() in c:\_J\workspace\Installer-release\src\UserInterface\Errors\TaskListService.cs:line 186
Log Site Stacktrace:
   at Telerik.JustCode.Common.Logging.ExceptionInfo.GetExceptionString(Exception ex)
   at Telerik.JustCode.Common.Logging.ExceptionInfo..ctor(Exception exception, String message)
   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex, String message)
   at Telerik.JustCode.Common.Logging.LogService.LogException(Exception ex)
   at Telerik.JustCode.Common.Logger.LogException(Exception ex)
   at Telerik.JustCode.UserInterface.Errors.TaskListService.#zm() in c:\_J\workspace\Installer-release\src\UserInterface\Errors\TaskListService.cs:line 16777215
   at Telerik.JustCode.UserInterface.Errors.TaskListService.ShowList() in c:\_J\workspace\Installer-release\src\UserInterface\Errors\TaskListService.cs:line 67
   at Telerik.JustCode.UserInterface.ProgressBar.ProgressBarServiceBase.ShowTaskList() in c:\_J\workspace\Installer-release\src\UserInterface\ProgressBar\ProgressBarServiceBase.cs:line 46
   at Telerik.JustCode.UserInterface.JustCodeStatusBar.StackPanel_MouseDown(Object sender, MouseButtonEventArgs e) in c:\_J\workspace\Installer-release\src\UserInterface\ProgressBar\JustCodeStatusBar.xaml.cs:line 182
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   at System.Windows.UIElement.OnMouseDownThunk(Object sender, MouseButtonEventArgs e)
   at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
   at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
   at System.Windows.Input.InputManager.ProcessStagingArea()
   at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at System.Windows.Interop.HwndSource.InputFilterMessage(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.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 System.Windows.Forms.UnsafeNativeMethods.CallWindowProc(IntPtr wndProc, IntPtr hWnd, Int32 msg, IntPtr wParam, IntPtr lParam)
   at System.Windows.Forms.NativeWindow.DefWndProc(Message& m)
   at #97.#V8.WndProc(Message& m) in c:\_J\workspace\Installer-release\src\JustCode.Application\Services\VSMainWindow.cs:line 48
   at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

4 Answers, 1 is accepted

Sort by
0
Nikolay Valchev
Telerik team
answered on 17 Jun 2013, 03:23 PM
Hello,

 Thank you for the feedback and apologizes for the caused inconvenience.
Could you send us a log file (log files are placed in %localappdata%\JustCode\logs). Also, could you tell us if you experience this kind of issue only with a particular solution or it is thrown for each kind of solution you work with.

Regards,
Nikolay Valchev
Telerik
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
0
Alanm
Top achievements
Rank 2
answered on 18 Jun 2013, 09:14 AM
duplicate
0
Alanm
Top achievements
Rank 2
answered on 18 Jun 2013, 09:15 AM
Thanks, I've sent you logs as a support ticket.
0
Nikolay Valchev
Telerik team
answered on 18 Jun 2013, 03:34 PM
Hello Alan,

 Thanks again for the assistance.
Since you have opened a support ticket (#705638), I will close this conversation. 

Regards,
Nikolay Valchev
Telerik
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
General Discussions
Asked by
Alanm
Top achievements
Rank 2
Answers by
Nikolay Valchev
Telerik team
Alanm
Top achievements
Rank 2
Share this question
or