Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ProvisioningTemplates.ProvisioningTests.ProvisionTenantTemplate
Outcome:
Run at:
3/10/2019 12:09:57 AM
Duration:
00:00:01
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 195 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-03-10 00:09:57.1144	[OfficeDevPnP.Core]	[0]	[Information]	File ProvisioningSchema-2018-07-FullSample-01.xml retrieved from folder 	0ms	
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.5363	[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-03-10 00:09:57.6457	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 8:09:57 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.6457	[Provisioning]	[9]	[Debug]	Code execution scope started	0ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.6457	[Provisioning]	[9]	[Information]	ProgressDelegate registered	0ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.7707	[Tenant Settings]	[9]	[Debug]	Code execution scope started	0ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.7863	[Tenant Settings]	[9]	[Debug]	Code execution scope ended	12ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:57.8028	[Provisioning]	[9]	[Debug]	Code execution scope started	0ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:58.5363	[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-03-10 00:09:58.6613	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 3/10/2019 8:09:58 AM	0ms	
vstest.console.exe Information: 0 : 2019-03-10 00:09:58.8332	[Provisioning]	[9]	[Debug]	Code execution scope ended	1035ms	344579e9-809b-40ad-947f-d6f61536e949
vstest.console.exe Information: 0 : 2019-03-10 00:09:58.8332	[Provisioning]	[9]	[Debug]	Code execution scope ended	1183ms	344579e9-809b-40ad-947f-d6f61536e949