JRM: Process stops when the APM setAppValue is not correct