Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.ProvisioningTests.ProvisionTenantTemplate
Outcome:
Run at:
4/14/2019 12:16:46 AM
Duration:
00:00:02
Error message:
Test method OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.ProvisioningTests.ProvisionTenantTemplate threw exception: System.NullReferenceException: Object reference not set to an instance of an object.
Stacktrace:
at at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchySequenceSites.CreateSubSites(ProvisioningHierarchy hierarchy, TokenParser tokenParser, SiteCollection sitecollection, ClientContext siteContext, Web web, TeamNoGroupSubSite subSiteObject) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectHierarchySequenceSites.cs:line 311 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.ObjectHierarchySequenceSites.ProvisionObjects(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, TokenParser tokenParser, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\ObjectHierarchySequenceSites.cs:line 211 at OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers.SiteToTemplateConversion.ApplyProvisioningHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation provisioningInfo) in c:\pnpbuild\Core\OfficeDevPnP.Core\Framework\Provisioning\ObjectHandlers\SiteToTemplateConversion.cs:line 201 at Microsoft.SharePoint.Client.TenantExtensions.ApplyProvisionHierarchy(Tenant tenant, ProvisioningHierarchy hierarchy, String sequenceId, ProvisioningTemplateApplyingInformation applyingInformation) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\TenantExtensions.cs:line 40 at OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.ProvisioningTests.ProvisionTenantTemplate() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ProvisioningTemplates\ProvisioningTests.cs:line 123
Console output:
    

Debug Trace:
vstest.console.exe Information: 0 : 2019-04-14 00:16:46.8679	[OfficeDevPnP.Core]	[0]	[Information]	File ProvisioningSchema-2018-07-FullSample-01.xml retrieved from folder 	0ms	
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.3054	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline-admin.sharepoint.com,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.3991	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 8:16:47 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.3991	[Provisioning]	[9]	[Debug]	Code execution scope started	0ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.4148	[Provisioning]	[9]	[Information]	ProgressDelegate registered	0ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.5241	[Tenant Settings]	[9]	[Debug]	Code execution scope started	0ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.5398	[Tenant Settings]	[9]	[Debug]	Code execution scope ended	12ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:47.5398	[Provisioning]	[9]	[Debug]	Code execution scope started	0ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:48.0554	[OfficeDevPnP.Core]	[0]	[Debug]	AuthenticationManager:EnsureToken(siteUrl:https://bertonline.sharepoint.com/sites/prov-1,realm:d8623c9e-30c7-473a-83bc-d907df44a26e,appId:a6fdef05-ff36-4b45-870b-dfede84e2e26,appSecret:PRIVATE)	0ms	
vstest.console.exe Information: 0 : 2019-04-14 00:16:48.1492	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 4/14/2019 8:16:48 AM	0ms	
vstest.console.exe Information: 0 : 2019-04-14 00:16:49.1179	[Provisioning]	[9]	[Debug]	Code execution scope ended	1578ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8
vstest.console.exe Information: 0 : 2019-04-14 00:16:49.1179	[Provisioning]	[9]	[Debug]	Code execution scope ended	1718ms	c5d68fe9-b2fc-46ec-b25a-461798a992f8