Wowza license key format error

Currently I have WowzaStreamingEngine-4.1.2 installed and need to update it. As the license key was expired in Dev environment so I updated the Server.license file with the new trial key and then I restarted Wowza streaming manager and engine. And I am getting below error when starting wowza streaming engine.

I added the below key in both format(with square brackets as well) but still getting below error.

Please suggest what is wrong with the Server.license file.

Error:-
Please enter your License Key in this format:
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX-XXXXX[-XXXXXXXXXXXX]
ERROR server comment - error : java.io.IOException: Bad file descriptor|at java.io.FileInputStream.readBytes(Native Method)|at java.io.FileInputStream.read(FileInputStream.java:239)|at java.io.BufferedInputStream.read1(BufferedInputStream.java:273)|at java.io.BufferedInputStream.read(BufferedInputStream.java:334)|at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:282)|

@Vikas Neekhra I removed your license key info from your post. You may want to consider a new trial key as this one should be considered compromised and others may use it.

My Server.license file does not include brackets. Double check there are no spaces or other extraneous characters if you pasted it in.