Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectSiteSecurityTests.CanProvisionAssociatedGroupsInSubSite
Outcome:
Run at:
9/14/2020 7:30:20 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_20200914T193020



Debug Trace:
vstest.console.exe Information: 0 : 2020-09-14 19:30:20.3036	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:5242fe35-76ca-4b03-aed1-419f6d800e19,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:20.3974	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/15/2020 7:30:20 PM	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:20.4599	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:5242fe35-76ca-4b03-aed1-419f6d800e19,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:20.5224	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/15/2020 7:30:20 PM	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:20.6942	[OfficeDevPnP.Core]	[0]	[Information]	Creating web 'Test_20200914T193020' with template 'STS#0'.	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:26.9598	[Site Security]	[9]	[Debug]	Code execution scope started	0ms	6af2da4d-5f8e-45f2-b726-82a4bc1f6200
vstest.console.exe Information: 0 : 2020-09-14 19:30:27.4130	[Site Security]	[9]	[Debug]	Code execution scope ended	449ms	6af2da4d-5f8e-45f2-b726-82a4bc1f6200
vstest.console.exe Information: 0 : 2020-09-14 19:30:27.4442	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://portal2016.pnp.com/sites/pnptest,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:5242fe35-76ca-4b03-aed1-419f6d800e19,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2020-09-14 19:30:27.5067	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/15/2020 7:30:27 PM	0ms