[Sony Xperia XZ2 Questions & Answers] AnirudhUppaluri:
Getting this error while trying to relock my bootloader of Sony Xperia XZ2 Dual (H8266) and I am using the latest version of Xperia Mobile Flasher also I had to disable "Driver signature enforcement". Kindly please help with it.

051/2021 17:51:24 - INFO - <- This level is successfully initialized

30/051/2021 17:51:24 - INFO - JAVA_HOME : c:\flashtool\x10flasher_native\jre

30/051/2021 17:51:25 - INFO - Flashtool 0.9.34.0

30/051/2021 17:51:25 - INFO - Searching for a web proxy

30/051/2021 17:51:25 - INFO - No proxy found, using direct connection

30/051/2021 17:51:25 - INFO - Syncing devices from github

30/051/2021 17:51:25 - INFO - Opening devices repository.

30/051/2021 17:51:25 - INFO - Scanning devices folder for changes.

30/051/2021 17:51:29 - INFO - Pulling changes from github.

30/051/2021 17:51:30 - INFO - Devices sync finished.

30/051/2021 17:51:32 - INFO - Loading devices database

30/051/2021 17:51:32 - INFO - Loaded 131 devices

30/051/2021 17:51:32 - INFO - Starting phone detection

30/051/2021 17:51:36 - INFO - Device connected in flash mode

30/051/2021 17:51:47 - INFO - Please connect your device into flashmode.

30/051/2021 17:51:48 - INFO - Using Gordon gate drivers version 3.1.0.0

30/051/2021 17:51:48 - INFO - Opening device for R/W

30/051/2021 17:51:48 - INFO - Device ready for R/W.

30/051/2021 17:51:48 - INFO - Reading device information

30/051/2021 17:51:48 - INFO - Reading phone properties

30/051/2021 17:51:48 - INFO - Sending getvar:product

30/055/2021 17:55:28 - INFO - Please connect your device into flashmode.

30/055/2021 17:55:28 - INFO - Using Gordon gate drivers version 3.1.0.0

30/055/2021 17:55:28 - INFO - Opening device for R/W

30/055/2021 17:55:29 - ERROR - Cannot invoke "java.util.Properties.getProperty(String)" because "this.phoneprops" is null

30/055/2021 17:55:29 - INFO - Device connected in flash mode

30/055/2021 17:55:33 - INFO - Please connect your device into flashmode.

30/055/2021 17:55:33 - INFO - Device connected in flash mode

30/055/2021 17:55:34 - INFO - Using Gordon gate drivers version 3.1.0.0

30/055/2021 17:55:34 - INFO - Opening device for R/W

30/055/2021 17:55:34 - ERROR - Cannot invoke "java.util.Properties.getProperty(String)" because "this.phoneprops" is null

30/055/2021 17:55:34 - INFO - Device connected in flash mode

30/055/2021 17:55:39 - INFO - Connected device : null / SW release null / Customization null

30/055/2021 17:55:39 - INFO - Last flash date : null

30/055/2021 17:55:39 - INFO - Phone ready for flashmode operations.

30/055/2021 17:55:39 - ERROR - Cannot invoke "String.split(String)" because the return value of "java.util.Properties.getProperty(String)" is null

30/055/2021 17:55:43 - INFO - Device disconnected

30/058/2021 17:58:20 - INFO - Device connected in flash mode

30/058/2021 17:58:29 - INFO - Please connect your device into flashmode.

30/058/2021 17:58:29 - INFO - Using Gordon gate drivers version 3.1.0.0

30/058/2021 17:58:30 - INFO - Opening device for R/W

30/058/2021 17:58:30 - INFO - Device ready for R/W.

30/058/2021 17:58:30 - INFO - Reading device information

30/058/2021 17:58:30 - INFO - Reading phone properties

30/058/2021 17:58:30 - INFO - Sending getvar:product

30/058/2021 17:58:30 - INFO - getvar status : OKAY

30/058/2021 17:58:30 - INFO - Sending Read-TA:2:2202

30/058/2021 17:58:30 - INFO - Read-TA status : OKAY

30/058/2021 17:58:30 - INFO - Sending Read-TA:2:2205

30/058/2021 17:58:30 - INFO - Read-TA status : OKAY

30/058/2021 17:58:30 - INFO - Sending Read-TA:2:2210

30/058/2021 17:58:30 - INFO - Read-TA status : OKAY

30/058/2021 17:58:30 - INFO - Sending Read-TA:2:4900

30/058/2021 17:58:30 - INFO - Read-TA status : OKAY

30/058/2021 17:58:30 - INFO - Sending Read-TA:2:10021

30/058/2021 17:58:30 - INFO - Read-TA status : OKAY

30/058/2021 17:58:30 - INFO - Sending Get-root-key-hash

30/058/2021 17:58:30 - INFO - Get-root-key-hash status : OKAY

30/058/2021 17:58:30 - INFO - Connected device : H8266 / SW release 1311-7920_52.1.A.3.49 / Customization 1313-4444_R1C

30/058/2021 17:58:30 - INFO - Last flash date : 2021-10-27 14:54:38

30/058/2021 17:58:30 - INFO - Phone ready for flashmode operations.

30/058/2021 17:58:30 - ERROR - Cannot invoke "String.split(String)" because the return value of "java.util.Properties.getProperty(String)" is null