volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More. 

LibraryService GetList API throws exception

Hi,

I have consumed LibraryService wcf under workarea and invoking GetList method, below code tries to fetch all librarydata instances for which parentId = 157. code is throwing exception NullRefernceException.

http://abc/workarea/services/LibraryService.svc

            ServiceReference2.LibraryManagerClient m = new ServiceReference2.LibraryManagerClient();
            var result = m.GetList(new ServiceReference2.LibraryCriteria
            {
                _filterGroups = new ServiceReference2.CriteriaFilterGroupOfLibraryProperty54GRdyE_P[]
                {
                    new ServiceReference2.CriteriaFilterGroupOfLibraryProperty54GRdyE_P
                    {
                         _filters = new ServiceReference2.CriteriaFilterOfLibraryProperty54GRdyE_P[]
                         {
                             new ServiceReference2.CriteriaFilterOfLibraryProperty54GRdyE_P
                             {
                                  Fieldk__BackingField = ServiceReference2.LibraryProperty.ParentId,
                                  Operatork__BackingField = ServiceReference2.CriteriaFilterOperator.EqualTo,
                                  Valuek__BackingField = 157
                             }
                         }
                    }
                }
                UseAggregationk__BackingField = false                
            });

I have managed to capture the in/out soap envelops as follows. I executed GetList method of ContentService which also gives NullReference exception. Is it generic problem with GetList? Criteria object looks to be constructed correct.

Request:


Response:

Thanks for advance for any help. 

#176716
Mar 24, 2017 6:08
error This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.