HP Touchsmart related issue maybe...?

13 posts, 1 answers
  1. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 10 Jan 2013 Link to this post

    We have one computer out of many that is having issues with grouping in the gridview. It happens to be the only hp touchsmart in the whole company.

    Here is some detail:
    WPF 2012.3.1224.40
    .NET 4 C#
    HP Touchsmart 310-1126
    Gridview is inside docking.
    Gridview itemsource bound to filteredsource of datafilter.
    datafilter itemsource bound to datatable.

    When user adds group in group header or program programatically adds grouping we get the followin error from 3-10 times immeditally (same exception over and over at once). We follow the same steps on a bunch of other computers and no issues...

    Message: Object reference not set to an instance of an object.

     

    Source: Telerik.Windows.Controls.GridView

     

    Trace:    at Telerik.Windows.Automation.Peers.GridViewGroupRowAutomationPeer.GetNameCore()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.Automation.Peers.AutomationPeer.UpdateSubtree()

       at System.Windows.ContextLayoutManager.fireAutomationEvents()

       at System.Windows.ContextLayoutManager.UpdateLayout()

       at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)

       at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()

       at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()

       at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)

       at System.Windows.Media.MediaContext.AnimatedRenderMessageHandler(Object resizedCompositionTarget)

       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)

     

  2. Answer
    Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 11 Jan 2013 Link to this post

    Hi Zack,

    Thank you for the feedback.

    The exception is already resolved and the fix for it will be part of the next internal build on Monday.
     
    Greetings,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 11 Jan 2013 Link to this post

    Thank you we will be updating to that.
    We did however fix the issue it seams in the meantime, we found a radeon video driver update for the machine and the issue quit happening.
  4. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 11 Jan 2013 Link to this post

    :) spoke too soone about the driver update it does still get the error. We are awaiting monday build.
  5. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 14 Jan 2013 Link to this post

    Please let me know when the build is ready and build number.
  6. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 15 Jan 2013 Link to this post

    Hello Zack,

    Binaries with version 2012.3.1314 are available for download under your account. 
     
    Greetings,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 21 Jan 2013 Link to this post

    It did fix our gridview but broke our pivot... I get tsrget of invocation errors now when trying to initiate a pivot so I assume the dll's aren't all the same version or something, I haven't tracked it down yet.
  8. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 22 Jan 2013 Link to this post

    Hello Zack,

    Please let us know in case the problem is not related to the binaries with different version.
     
    Greetings,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  9. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 22 Jan 2013 Link to this post

    Yes it appears it was but your 2012.3.1314 was not the issue. When we overwrote the binaries (we use WPF 4.0 NoXaml) it did include all required files but Visual Studio (2012) for some reason updated our solution with all but the 3 required for pivot... not sure why. So removing them and re-adding them to the project fixed it.
  10. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 23 Jan 2013 Link to this post

    We are getting all kinds of errors when our grid tries to load and unload groups, and sorting and filters programatically.
    Our grid is bound to a datafilter which is bound to a datatable.
    We save and load sorting and group into a persistance file and we do the same for the datafilter.

    Now it seems anytime we try to alter  grid.GroupDescriptors  and/or grid.SortDescriptors we get errors that usually say something like this:


    Message: The method or operation is not implemented.

    Source: Telerik.Windows.Data

    Trace:    at Telerik.Windows.Data.Expressions.FilterOperatorExpressionBuilderBase.GenerateIsEmpty(Expression left) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Expressions\Filtering\FilterOperatorExpressionBuilderBase.cs:line 200
       at Telerik.Windows.Data.Expressions.FilterOperatorExpressionBuilderBase.CreateExpression(Expression left, Expression right) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Expressions\Filtering\FilterOperatorExpressionBuilderBase.cs:line 81
       at Telerik.Windows.Data.Expressions.OperatorValueFilterDescriptorExpressionBuilderBase.CreateBodyExpression() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Expressions\Filtering\OperatorValueFilterDescriptorExpressionBuilderBase.cs:line 86
       at Telerik.Windows.Data.FilterDescriptor.CreateFilterExpression(ParameterExpression parameterExpression) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Data\Filtering\FilterDescriptor.cs:line 108
       at Telerik.Windows.Data.FilterDescriptorBase.CreateFilterExpression(Expression instance) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Data\Filtering\FilterDescriptorBase.cs:line 29
       at Telerik.Windows.Data.Expressions.FilterDescriptorCollectionExpressionBuilder.CreateBodyExpression() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Expressions\Filtering\FilterDescriptorCollectionExpressionBuilder.cs:line 22
       at Telerik.Windows.Data.Expressions.FilterExpressionBuilder.CreateFilterExpression() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Expressions\Filtering\FilterExpressionBuilder.cs:line 18
       at Telerik.Windows.Data.QueryableExtensions.Where(IQueryable source, CompositeFilterDescriptorCollection filterDescriptors) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableExtensions.cs:line 287
       at Telerik.Windows.Data.QueryableCollectionView.CreateView() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 588
       at Telerik.Windows.Data.QueryableCollectionView.get_QueryableView() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 630
       at Telerik.Windows.Data.QueryableCollectionView.CreateInternalList() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 781
       at Telerik.Windows.Data.QueryableCollectionView.EnsureInternalList() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 694
       at Telerik.Windows.Data.QueryableCollectionView.get_InternalList() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 684
       at Telerik.Windows.Data.QueryableCollectionView.InternalIndexOf(Object item) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 2106
       at Telerik.Windows.Data.QueryableCollectionView.IndexOf(Object item) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.cs:line 2093
       at Telerik.Windows.Data.QueryableCollectionView.MoveCurrentTo(Object item) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.Currency.cs:line 49
       at Telerik.Windows.Data.DataItemCollection.MoveCurrentTo(Object item) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\DataItemCollection.ICollectionView.cs:line 367
       at Telerik.Windows.Data.DataItemCollection.UpdateSourceCollectionCurrentItem() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\DataItemCollection.ICollectionView.cs:line 588
       at Telerik.Windows.Data.DataItemCollection.OnCollectionViewCurrentChanged(Object sender, EventArgs args) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\DataItemCollection.ICollectionView.cs:line 546
       at Telerik.Windows.Data.Listener`2.ReceiveWeakEvent(Object sender, TArgs args) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\WeakEvents\Listener.cs:line 39
       at Telerik.Windows.Data.WeakEvent.WeakListener`1.Handler(Object sender, TArgs args) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\WeakEvents\WeakEvent.cs:line 33
       at Telerik.Windows.Data.QueryableCollectionView.OnCurrentChanged(EventArgs args) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.Currency.cs:line 154
       at Telerik.Windows.Data.QueryableCollectionView.MoveCurrentToPositionCore(Int32 position) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.Currency.cs:line 118
       at Telerik.Windows.Data.QueryableCollectionView.MoveCurrentToPosition(Int32 position) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\QueryableCollectionView.Currency.cs:line 103
       at Telerik.Windows.Data.DataItemCollection.MoveCurrentToPosition(Int32 position) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Collections\DataItemCollection.ICollectionView.cs:line 432
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.SyncCurrentWithSelected() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 704
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.TrySyncCurrentWithSelected() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 695
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.RaiseSelectionChangedAndSyncCurrentWithSelectedIfNeeded(ItemSelectionChange selectionChange) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 683
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndAllowedSelection(ItemSelectionChange selectionChange) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 636
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndPendingSelection(ItemSelectionChange pendingSelection) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 606
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.EndSelection() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 587
       at Telerik.Windows.Data.Selection.ItemSelectionHandler.UnselectAll() in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Core\Data\Selection\ItemSelectionHandler.cs:line 1017
       at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.PerformExtendedSelectionChange(GridViewCellInfo cellInfo, SelectionModificationOptions modificationOptions) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\Selection\CompositeSelectionHandler.cs:line 305
       at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler.PerformCellSelection(GridViewCellInfo cellInfo, SelectionModificationOptions modificationOptions) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\Selection\CompositeSelectionHandler.cs:line 107
       at Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher.HandleSelectionForValidCellInput(GridViewCell cell, SelectionModificationOptions allowedModifications) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\Selection\CellAndRowSelectionDispatcher.cs:line 49
       at Telerik.Windows.Controls.GridView.Selection.CellAndRowSelectionDispatcher.HandleSelectionForCellInput(GridViewCell cell, SelectionModificationOptions allowedModifications) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\Selection\CellAndRowSelectionDispatcher.cs:line 27
       at Telerik.Windows.Controls.GridView.GridViewDataControl.HandleMouseDownSelection(GridViewCell cell, Boolean allowDrag, Point mousePosition) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\GridView\GridViewDataControl.Selection.cs:line 191
       at Telerik.Windows.Controls.GridView.GridViewCell.OnMouseLeftButtonDown(MouseButtonEventArgs e) in c:\TB\117\WPF_Scrum\Current_HotFix\Sources\Controls\GridView\GridView\GridView\Cells\GridViewCell.cs:line 397
       at System.Windows.UIElement.OnMouseLeftButtonDownThunk(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.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)
  11. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 23 Jan 2013 Link to this post

    Seems to only happen if the DataFilter is using isEmpty or isNotEmpty and we try to persist the datafilter selections...
  12. Kevin
    Kevin avatar
    112 posts
    Member since:
    Jul 2011

    Posted 24 Jan 2013 Link to this post

    When deserializing our datafilter descriptors using a data contract, making sure if they had isEmpty or isNotEmpty operators to change the MemberType of the Filter to type of string fixed this for us.
  13. Yordanka
    Admin
    Yordanka avatar
    634 posts

    Posted 28 Jan 2013 Link to this post

    Hello Zack,

    I am glad that you have fixed the problem. Let us know if you have additional questions.
     
    All the best,
    Yordanka
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top