<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">Le 8 août 2016 à 08:34, Sandro Bonazzola <<a href="mailto:sbonazzo@redhat.com" class="">sbonazzo@redhat.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Aug 3, 2016 at 12:19 PM, Fabrice Bacchella <span dir="ltr" class=""><<a href="mailto:fabrice.bacchella@orange.fr" target="_blank" class="">fabrice.bacchella@orange.fr</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm running on Centos 7, just upgraded to ovirt 4.01 using the procedure given in the release notes.<br class="">
<br class="">
But now I'm getting that in /var/log/ovirt-engine/engine.<wbr class="">log:<br class="">
<br class="">
2016-08-03 12:04:39,751 ERROR [org.ovirt.engine.core.bll.<wbr class="">Backend] (ServerService Thread Pool -- 54) [] Error during initialization: org.jboss.weld.exceptions.<wbr class="">WeldException: WELD-000049: Unable to invoke private void org.ovirt.engine.core.vds<br class="">
broker.ResourceManager.init() on org.ovirt.engine.core.<wbr class="">vdsbroker.ResourceManager@<wbr class="">28b87a8e<br class="">
at org.jboss.weld.injection.<wbr class="">producer.<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.invokeMethods(<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.java:100) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.injection.<wbr class="">producer.<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.postConstruct(<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.java:81) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.injection.<wbr class="">producer.BasicInjectionTarget.<wbr class="">postConstruct(<wbr class="">BasicInjectionTarget.java:126) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.bean.<wbr class="">ManagedBean.create(<wbr class="">ManagedBean.java:162) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.context.<wbr class="">AbstractContext.get(<wbr class="">AbstractContext.java:96) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.bean.<wbr class="">ContextualInstanceStrategy$<wbr class="">DefaultContextualInstanceStrat<wbr class="">egy.get(<wbr class="">ContextualInstanceStrategy.<wbr class="">java:101) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.bean.<wbr class="">ContextualInstanceStrategy$<wbr class="">ApplicationScopedContextualIns<wbr class="">tanceStrategy.get(<wbr class="">ContextualInstanceStrategy.<wbr class="">java:141) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.bean.<wbr class="">ContextualInstance.get(<wbr class="">ContextualInstance.java:50) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
at org.jboss.weld.manager.<wbr class="">BeanManagerImpl.getReference(<wbr class="">BeanManagerImpl.java:742) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
...<br class="">
Caused by: java.lang.reflect.<wbr class="">InvocationTargetException<br class="">
at sun.reflect.<wbr class="">NativeMethodAccessorImpl.<wbr class="">invoke0(Native Method) [rt.jar:1.8.0_92]<br class="">
at sun.reflect.<wbr class="">NativeMethodAccessorImpl.<wbr class="">invoke(<wbr class="">NativeMethodAccessorImpl.java:<wbr class="">62) [rt.jar:1.8.0_92]<br class="">
at sun.reflect.<wbr class="">DelegatingMethodAccessorImpl.<wbr class="">invoke(<wbr class="">DelegatingMethodAccessorImpl.<wbr class="">java:43) [rt.jar:1.8.0_92]<br class="">
at java.lang.reflect.Method.<wbr class="">invoke(Method.java:498) [rt.jar:1.8.0_92]<br class="">
at org.jboss.weld.injection.<wbr class="">producer.<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.invokeMethods(<wbr class="">DefaultLifecycleCallbackInvoke<wbr class="">r.java:98) [weld-core-impl-2.3.2.Final.<wbr class="">jar:2.3.2.Final]<br class="">
... 82 more<br class="">
Caused by: java.lang.NullPointerException<br class="">
at org.postgresql.jdbc.<wbr class="">TypeInfoCache.getSQLType(<wbr class="">TypeInfoCache.java:182)<br class=""></blockquote><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Can you please check the version of postgresql-jdbc you're using? Looks like an issue while talking with the driver.</div></div></div></div></div></blockquote><div><br class=""></div><div><br class=""></div>Yes, Martin Perina told me about that and it solve my problem. I was using a postgresql-jdbc 9.4, only 9.2 is allowed.</div><div><br class=""></div><div class=""><br class=""></div><br class=""></body></html>