Symptoms
After a new installation, the local Agent can not be started and stays in status 'STOPPED'. The log file shows the following error:
ErrorMsg: AwE-5012 File read error
Details: keyfile.ini
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java(Compiled Code))
at com.appworx.server.data.Master.F(Master.java:1093)
Cause
The keyfile has been uploaded/copied in ASCII mode, but has to be in BINARY mode.
Resolution
The original keyfile has to be uploaded again in BINARY mode. The processes have to be restarted afterwards, for the changes to take effect.