[Users] REST Error during VM creation

Sven Kieske S.Kieske at mittwald.de
Fri Dec 20 08:09:59 UTC 2013


Hi,

when we try to create a vm via REST-API, we get the following error
via REST:

<h1>HTTP Status 500 - org.codehaus.jackson.map.JsonMappingException:
(was java.lang.NullPointerException) (through reference chain:
org.ovirt.engine.api.model.VM[&quot;console&quot;])</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u>org.codehaus.jackson.map.JsonMappingException: (was
java.lang.NullPointerException) (through reference chain:
org.ovirt.engine.api.model.VM[&quot;console&quot;])</u></p><p><b>description</b>
<u>The server encountered an internal error
(org.codehaus.jackson.map.JsonMappingException: (was
java.lang.NullPointerException) (through reference chain:
org.ovirt.engine.api.model.VM[&quot;console&quot;])) that prevented it
from fulfilling this request.</u></p><HR size="1"
noshade="noshade"><h3>JBoss Web/7.0.13.Final</h3>

However, the vm is correctly created (see attached engine.log).

This is ovirt-engine 3.3.2-1.el6

Any suggestions?

We need to be able to get the correct response via API.

Should I open a BZ for this?


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vm_setup_through_rest_engine.log
Type: text/x-log
Size: 12570 bytes
Desc: vm_setup_through_rest_engine.log
URL: <http://lists.ovirt.org/pipermail/users/attachments/20131220/c0d85d17/attachment-0001.bin>


More information about the Users mailing list