Powershell error running "App Deployment Toolkit"

I am getting this error on about 30% of my systems running the App Deploy Toolkit to install Java.
It is referencing the AppDeployToolkitMain.ps script.

Error Record:

Message :Cannot process argument because the value of argument “obj” is null.
Change the value of argument “obj” to a non-null value.
InnerException:

FullyQyalifiedErrorId:
ArgumentNull,Microsoft.PowerShell.Commands.SelectObject Command

PositionMessage:
At
C:\Windows/ccmcache/h\AppDeployToolkitMain.ps1:4912 char:77
[string]$runningProcessDescriptions = ($runningProcesses | Select-Object -ExpandProperty Description | Select-Object -Unique | Sort-Object) -join ‘,’

Any ideas how to fix this?
Is there a way I can make it continue on error?

Thanks - John

What version of the toolkit are you using?

I think it’s 3.6.0 (at least that is what is says in the powershell scripts.

I would recommend using the latest version of the toolkit as I remember fixing this issue in one of the releases.