AutoSPSourceBuilder
AutoSPSourceBuilder copied to clipboard
Cannot index into null array.
This was during a 2013 build. Have seen it on 2010 and 2016.
Cannot index into a null array. At E:\SharePoint_InstallMedia\AutoSPSourceBuilder\AutoSPSourceBuilder.ps1:532 char:20
-
is older, as it will likely be olderif (($spCU.Url[ <<<< 0] -like "_`/$($spServicePack.Name)`/_") -and ($spServicePackBuildNumber -gt $spCUBuildNumber)) # New; only get the CU if its URL doesn't contain the service pack we already have and if the build
- CategoryInfo : InvalidOperation: (0:Int32) [], RuntimeException
- FullyQualifiedErrorId : NullArray
So for some reason it appears that $spCU.Url doesn't contain any members; I just need to figure out why.
Brian