Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionAssociatedGroupsInSubSite
Outcome:
Run at:
9/15/2020 8:56:13 PM
Duration:
00:00:06
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/pnptest2/Test_20200915T205613



Debug Trace:
vstest.console.exe Information: 0 : 2020-09-15 20:56:13.0348	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:8fb8ffde-5f4c-4336-aaf8-092555d72122,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:13.0973	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/16/2020 8:56:13 PM	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:13.1910	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:8fb8ffde-5f4c-4336-aaf8-092555d72122,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:13.2691	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/16/2020 8:56:13 PM	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:13.4254	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'Test_20200915T205613' with template 'STS#0'.	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:18.4268	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	c8037d33-5c50-47e2-9bf7-0172ae57f30a
vstest.console.exe Information: 0 : 2020-09-15 20:56:18.7549	[Site Security]	[9]	[Debug]	Code execution scope ended	324ms	c8037d33-5c50-47e2-9bf7-0172ae57f30a
vstest.console.exe Information: 0 : 2020-09-15 20:56:18.7706	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2013.pnp.com/sites/pnptest2,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:8fb8ffde-5f4c-4336-aaf8-092555d72122,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-15 20:56:18.8487	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/16/2020 8:56:18 PM	0ms