On 09/23/2013 10:58 AM, Alon Bar-Lev wrote:
----- Original Message -----
> > From: "Michael Pasternak" <mpastern(a)redhat.com>
> > To: "Yuriy Demchenko" <demchenko.ya(a)gmail.com>, "Alissa
Bonas" <abonas(a)redhat.com>, "Alon Bar-Lev"
> > <alonbl(a)redhat.com>
> > Cc: "Ofer Schreiber" <oschreib(a)redhat.com>, users(a)ovirt.org
> > Sent: Monday, September 23, 2013 10:22:49 AM
> > Subject: Re: [Users] cant add storage connection via api
> >
> > On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
>> > > Hi,
>> > >
>> > > url [1] (
https://ovirt.spb.stone.local/api?rsdl) not working for me -
gets
>> > > http 500 error with "java.lang.NullPointerException"
>>> > >> java.lang.NullPointerException
>>> > >>
org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
>>> > >>
org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
>>> > >> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
>>> > >>
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>>> > >>
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> > >> java.lang.reflect.Method.invoke(Method.java:606)
>>> > >>
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
>>> > >>
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
>>> > >>
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
>>> > >>
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
>>> > >>
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
>>> > >>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
>>> > >>
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
>>> > >>
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
>>> > >>
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
>>> > >>
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
>>> > >>
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
>> > >
>> > > api page (without "?rsdl") opens just fine.
> >
> > this is known issue caused by branding infra, i believe it was fixed in the
> > following release (Alon correct me if i'm wrong)
Hi,
I don't see branding in trace...
Also not in code...
private RSDL addSystemVersion(RSDL rsdl) {
rsdl.setVersion(VersionHelper.parseVersion(getConfigurationValueDefault(String.class,
ConfigurationValues.VdcVersion)));
return rsdl;
}
As I do not know this code well, can you please explain some more why it is relates to
branding so I can solve?
Working for me as far as I can see... (master).
Thanks!
damn, my bad, confused with another issue with same symptom, please ignore me.
thanks.
--
Michael Pasternak
RedHat, ENG-Virtualization R&D