[Users] REST Error during VM creation

Meital Bourvine mbourvin at redhat.com
Sun Dec 22 02:11:34 EST 2013


Hi,

Can you please send the exact rest command that you've been using?

Thanks,
Meital

----- Original Message -----
> From: "Sven Kieske" <S.Kieske at mittwald.de>
> To: users at ovirt.org, engine-devel at ovirt.org
> Sent: Friday, December 20, 2013 10:09:59 AM
> Subject: [Users] REST Error during VM creation
> 
> 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
> 
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 


More information about the Users mailing list