When I set the LocalDataSourceProvider.ItemsSource property to null, no error occurs on my end with the latest version. It is necessary to clear the available RowGroupDescriptions, ColumnGroupDescriptions, and AggregateDescriptions. I have prepared a sample project demonstrating how to clear RadPivotGrid.
I hope this information helps. Should you have further questions I would be glad to help.