Runtime Error while running Scanner CLI utility
Updated over a week ago

Problem description

You get the following error when you run the scanner-cli utility on a Windows 2012 R2:

Error: "Panic: runtime error: invalid memory address or nil pointer dereference signal 0xc000"

Cause

This issue can occur due to incorrect drive details in the script.

Resolution

Perform the following steps:

  1. Disconnect the drive from Windows explorer.

  2. Map the drive from the command prompt by using the following command:
    net use <drive letter> \\<drive path> /persistent:yes
    For example:
    net use Z: \\<xxx.xx.xx.xx>\Logs /persistent:yes

  3. Run the scanner CLI Utility.

Did this answer your question?