dkg-engine icon indicating copy to clipboard operation
dkg-engine copied to clipboard

ERROR: Command error (PrepareAssertionError): Cannot read properties of undefined (reading 'toLowerCase')

Open ethereum1729 opened this issue 3 years ago • 0 comments

Issue description

ERROR: Command error (PrepareAssertionError): Cannot read properties of undefined (reading 'toLowerCase')

Steps to reproduce the problem

  1. I am using the ODNWeather library (https://github.com/CosmiCloud/ODNWeather)
  2. In the ODNWeather log, there is an error "error publishing to the network. Error: Get publish failed. Reason: undefined."

According to a website, the (reading 'toLowerCase') error is due to: The "Cannot read Property 'toLowerCase' of null" error occurs when the toLowerCase() method is called on a variable that stores a null value. To solve the error, make sure to only call the toLowerCase method on strings.

Specifications

  • Ubuntu 20.04 (LTS) x64

Error logs (node logs)

journalctl -u otnode --output cat -fn 100

ERROR: Command error (PrepareAssertionError): Cannot read properties of undefined (reading 'toLowerCase')

Disclaimer

Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [email protected].

ethereum1729 avatar Jul 30 '22 14:07 ethereum1729