epacke / BigIPReport

Overview of your loadbalancer configuration
https://loadbalancing.se
8 stars 2 forks source link

New modules in v13 throws an exception #39

Closed epacke closed 7 years ago

epacke commented 7 years ago

Exception when running the script against a v13 device with the following provisioned modules:

Index operation failed; the array index evaluated to null.
At C:\scripts\bigipreport-4.6.3-bigip13-1.ps1:801 char:3
+         $moduleDescription = $ModuleToDescription[$moduleShortName]
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArrayIndex

Index operation failed; the array index evaluated to null.
At C:\scripts\bigipreport-4.6.3-bigip13-1.ps1:801 char:3
+         $moduleDescription = $ModuleToDescription[$moduleShortName]
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArrayIndex

Index operation failed; the array index evaluated to null.
At C:\scripts\bigipreport-4.6.3-bigip13-1.ps1:801 char:3
+         $moduleDescription = $ModuleToDescription[$moduleShortName]
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArrayIndex
epacke commented 7 years ago

Fixed in 4.6.5