2
Vote

People Picker not working (SP2013)

description

Hello there,

thanks for this wonderful Solution!

However, i'm getting an error using the People Picker in SharePoint 2013:
Application error when access /Lists/PersonalCalendar/AllItems.aspx, Error=Object reference not set to an instance of an object.  
 at ListViewFilter.Extensions.WebControlsExtensions.<>c__DisplayClass7.<UserValueCollection>b__6()    
 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
 at ListViewFilter.Extensions.WebControlsExtensions.UserValueCollection(PeopleEditor editor)    
 at ListViewFilter.Web.FieldFilterContainer.GetCAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.<get_CAMLPredicates>b__2(FieldFilterContainer c)    
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.get_CAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.ListViewWebPartDataBinding(Object sender, EventArgs e)    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind()    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()    
 at System.Web.UI.Control.EnsureChildControls()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
and
System.NullReferenceException: Object reference not set to an instance of an object.   
 at ListViewFilter.Extensions.WebControlsExtensions.<>c__DisplayClass7.<UserValueCollection>b__6()    
 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
 at ListViewFilter.Extensions.WebControlsExtensions.UserValueCollection(PeopleEditor editor)    
 at ListViewFilter.Web.FieldFilterContainer.GetCAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.<get_CAMLPredicates>b__2(FieldFilterContainer c)    
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.get_CAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.ListViewWebPartDataBinding(Object sender, EventArgs e)    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind()    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()    
 at System.Web.UI.Control.EnsureChildControls()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
and
Getting Error Message for Exception System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.NullReferenceException: Object reference not set to an instance of an object.    
 at ListViewFilter.Extensions.WebControlsExtensions.<>c__DisplayClass7.<UserValueCollection>b__6()    
 at Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()    
 at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(WaitCallback secureCode, Object param)    
 at Microsoft.SharePoint.SPSecurity.RunWithElevatedPrivileges(CodeToRunElevated secureCode)    
 at ListViewFilter.Extensions.WebControlsExtensions.UserValueCollection(PeopleEditor editor)    
 at ListViewFilter.Web.FieldFilterContainer.GetCAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.<get_CAMLPredicates>b__2(FieldFilterContainer c)    
 at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()    
 at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.get_CAMLPredicates()    
 at ListViewFilter.WebParts.SPListViewFilter.SPListViewFilter.ListViewWebPartDataBinding(Object sender, EventArgs e)    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind()    
 at Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.XsltListViewWebPart.CreateChildControls()    
 at Microsoft.SharePoint.WebPartPages.WebPartMobileAdapter.CreateChildControls()    
 at System.Web.UI.Control.EnsureChildControls()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Control.PreRenderRecursiveInternal()    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.HandleError(Exception e)    
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)    
 at System.Web.UI.Page.ProcessRequest()    
 at System.Web.UI.Page.ProcessRequest(HttpContext context)    
 at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()    
 at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
I can replicate this problem on every list on my installation.
Any help would be highly appreciated!

Thanks and Best Regards
Daniel

comments