Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionAssociatedGroupsInSubSite
Outcome:
Run at:
11/21/2020 6:15:48 PM
Duration:
00:00:07
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionAssociatedGroupsInSubSite threw exception:
System.NullReferenceException: Object reference not set to an instance of an object.
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenDefinitions.AssociatedGroupToken.GetReplaceValue() in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\TokenDefinitions\AssociatedGroupToken.cs:line 42
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenParser.BuildTokenCache() in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\TokenParser.cs:line 946
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.TokenParser.AddToken(TokenDefinition tokenDefinition) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\TokenParser.cs:line 66
at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectSiteSecurity.ProvisionObjects(Web web, ProvisioningTemplate template, TokenParser parser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectSiteSecurity.cs:line 282
at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionAssociatedGroupsInSubSite() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectSiteSecurityTests.cs:line 482
Console output:
Deleting site /sites/pnptest/Test_20201121T181548
Debug Trace:
vstest.console.exe Information: 0 : 2020-11-21 18:15:48.4019 [OfficeDevPnP.Core] [0] [Information] Creating web 'Test_20201121T181548' with template 'STS#0'. 0ms
vstest.console.exe Information: 0 : 2020-11-21 18:15:54.8395 [Site Security] [9] [Debug] Code execution scope started 0ms 9cef2729-cfff-4069-a678-02f5af96ba2c
vstest.console.exe Information: 0 : 2020-11-21 18:15:55.4020 [Site Security] [9] [Debug] Code execution scope ended 567ms 9cef2729-cfff-4069-a678-02f5af96ba2c