Test case details
Test name:
OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectWorkflowsTests.UpdatWorkflowSubscription
Outcome:
Run at:
9/14/2020 7:37:24 PM
Duration:
00:00:00
Error message:
Initialization method OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectWorkflowsTests.Initialize threw exception. Microsoft.SharePoint.Client.ServerException: Microsoft.SharePoint.Client.ServerException: Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "GetWorkflowSubscriptionService new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager() ".
Stacktrace:
at at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream) at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse() at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb) at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery() at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery() at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 253 at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryRetry(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 97 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectWorkflowsTests.CleanupWorkflowDefinitionsAndSubscriptions(Web web) in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectWorkflowsTests.cs:line 87 at OfficeDevPnP.Core.Tests.Framework.ObjectHandlers.ObjectWorkflowsTests.Initialize() in c:\pnpbuild\Core\OfficeDevPnP.Core.Tests\Framework\ObjectHandlers\ObjectWorkflowsTests.cs:line 29
Console output:
    ObjectWorkflowsTests.Initialise



Debug Trace:
vstest.console.exe Information: 0 : 2020-09-14 19:37:24.5564	[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:37:24.6190	[OfficeDevPnP.Core]	[0]	[Debug]	Lease expiration date: 9/15/2020 7:37:24 PM	0ms	
vstest.console.exe Error: 0 : 2020-09-14 19:37:24.6346	[OfficeDevPnP.Core]	[0]	[Error]	ExecuteQuery threw following exception: Microsoft.SharePoint.Client.ServerException: Cannot invoke method or retrieve property from null object. Object returned by the following call stack is null. "GetWorkflowSubscriptionService
new Microsoft.SharePoint.WorkflowServices.WorkflowServicesManager()
"
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponseStream(Stream responseStream)
   at Microsoft.SharePoint.Client.ClientRequest.ProcessResponse()
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQueryToServer(ChunkStringBuilder sb)
   at Microsoft.SharePoint.Client.ClientRequest.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientRuntimeContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContext.ExecuteQuery()
   at Microsoft.SharePoint.Client.ClientContextExtensions.ExecuteQueryImplementation(ClientRuntimeContext clientContext, Int32 retryCount, Int32 delay, String userAgent) in c:\pnpbuild\Core\OfficeDevPnP.Core\Extensions\ClientContextExtensions.cs:line 169
ServerErrorCode: -1
ServerErrorTypeName: Microsoft.SharePoint.Client.ClientServiceException
ServerErrorTraceCorrelationId: c0047a9f-b7f8-8012-70d0-2a1c3d57322d
ServerErrorValue: 
ServerErrorDetails: 
.	0ms