Skip to content

[BUG] Error triggering notification in Veeam v12 #80

@sistemmsn

Description

@sistemmsn

What happened?

Commands are not recognized at the time of execution

Steps To Reproduce

No response

VeeamNotify version

v1.0

PowerShell version

5.1

Veeam Backup & Replication build number

12.1.2.172

Relevant log output

**********************
Inicio de la transcripción de Windows PowerShell
Hora de inicio: 20240824222232
Nombre de usuario: VEEAM\holi
Usuario RunAs: VEEAM\holi
Nombre de la configuración: 
Máquina: VEEAM (Microsoft Windows NT 10.0.20348.0)
Aplicación host: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -File C:\VeeamScripts\VeeamNotify\Bootstrap.ps1
Id. de proceso: 20664
PSVersion: 5.1.20348.2652
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.20348.2652
BuildVersion: 10.0.20348.2652
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
2024-08-25T04:22:32.191Z [INFO] Transcript is being logged to 'C:\VeeamScripts\VeeamNotify\log\2024-08-24_22.22.32_Bootstrap.log'.
2024-08-25T04:22:32.426Z [INFO] Version: v1.0.1
No se puede indizar en una matriz nula.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 52 Carácter: 1
+ $jobId = ([regex]::Matches($parentCmd, $idRegex)).Value[0]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray
No se puede indizar en una matriz nula.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 52 Carácter: 1
+ $jobId = ([regex]::Matches($parentCmd, $idRegex)).Value[0]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray

No se puede indizar en una matriz nula.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 53 Carácter: 1
+ $sessionId = ([regex]::Matches($parentCmd, $idRegex)).Value[1]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray
No se puede indizar en una matriz nula.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 53 Carácter: 1
+ $sessionId = ([regex]::Matches($parentCmd, $idRegex)).Value[1]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : NullArray

2024-08-25T04:22:33.004Z [INFO] Getting VBR job details
2024-08-25T04:22:41.816Z [INFO] Getting VBR session information
PS>ErrorTerminación(Get-VBRSessionInfo): "No se puede enlazar el argumento al parámetro 'SessionId' porque es nulo."
Get-VBRSessionInfo : No se puede enlazar el argumento al parámetro 'SessionId' porque es nulo.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 62 Carácter: 46
+ $sessionInfo = Get-VBRSessionInfo -SessionId $sessionId -JobType $job ...
+                                              ~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-VBRSessionInfo], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-VBRSessionInfo
Get-VBRSessionInfo : No se puede enlazar el argumento al parámetro 'SessionId' porque es nulo.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 62 Carácter: 46
+ $sessionInfo = Get-VBRSessionInfo -SessionId $sessionId -JobType $job ...
+                                              ~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-VBRSessionInfo], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-VBRSessionInfo

No se puede llamar a un método en una expresión con valor NULL.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 66 Carácter: 1
+ $vbrLogEntry = $vbrSessionLogger.AddLog('[VeeamNotify] Parsing job &  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
No se puede llamar a un método en una expresión con valor NULL.
En C:\VeeamScripts\VeeamNotify\Bootstrap.ps1: 66 Carácter: 1
+ $vbrLogEntry = $vbrSessionLogger.AddLog('[VeeamNotify] Parsing job &  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull

2024-08-25T04:22:42.051Z [ERROR] Job type '' is not supported.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions