ValueError: No JSON object could be decoded

0
I am facing error message while starting the application. Below is the error message: m2ee(nitra): start INFO: Trying to start the MxRuntime... OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=2048M; support was removed in 8.0 Traceback (most recent call last):   File "/usr/bin/m2ee", line 1071, in <module>    cli.cmdloop()   File "/usr/lib64/python2.6/cmd.py", line 142, in cmdloop    stop = self.onecmd(line)   File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd    return func(arg)   File "/usr/bin/m2ee", line 69, in do_start    self._start()   File "/usr/bin/m2ee", line 142, in _start    if not self.m2ee.send_runtime_config(database_password):   File "/usr/share/m2ee-tools/m2ee/core.py", line 264, in send_runtime_config    m2eeresponse = self.client.update_configuration(config)   File "/usr/share/m2ee-tools/m2ee/client.py", line 136, in update_configuration    return self.request("update_configuration", params)   File "/usr/share/m2ee-tools/m2ee/client.py", line 53, in request    return M2EEResponse(action, json.loads(response_body))   File "/usr/lib64/python2.6/json/__init__.py", line 307, in loads    return _default_decoder.decode(s)   File "/usr/lib64/python2.6/json/decoder.py", line 319, in decode    obj, end = self.raw_decode(s, idx=_w(s, 0).end())   File "/usr/lib64/python2.6/json/decoder.py", line 338, in raw_decode    raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded  
asked
2 answers
1

The "OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=2048M; support was removed in 8.0" is not related to the traceback, it's just informational.

If you haven't customised any files other than the m2ee.yaml there is a configuration flaw in your yaml file. 

If you can't find the flaw, try having a look at: https://github.com/mendix/m2ee-tools/blob/master/examples/full-documented-m2ee.yaml

and start rebuilding your yaml file from that file.

answered
0

It seemed this option in your yaml file is not supported anymore 'MaxPermSize=2048M;'. Does the error still exists?

answered