[ovirt-devel] Exception running current master

Alexander Wels awels at redhat.com
Fri Jun 10 12:06:40 UTC 2016


On Friday, June 10, 2016 09:37:51 AM Piotr Kliczewski wrote:
> Please check [1] whether it fixes your issue.
> 
> Thanks,
> Piotr
> 

It does fix my issue, after applying the patch the exception is no longer 
thrown. I will mark verified.

> [1] https://gerrit.ovirt.org/#/c/58960/
> 
> On Thu, Jun 9, 2016 at 3:25 PM, Alexander Wels <awels at redhat.com> wrote:
> > Hi,
> > 
> > I am having this exception happen every time the engine tries to refresh
> > some data from a host (so really often). It started happening a couple of
> > days ago. Can anyone tell me how to fix it?
> > 
> > 2016-06-09 09:08:19,396 ERROR [org.ovirt.engine.core.vdsbroker.VdsManager]
> > (DefaultQuartzScheduler5) [] Exception: java.lang.NullPointerException
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder.getSwitc
> > hType(VdsBrokerObjectsBuilder.java:2159) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder.addHostN
> > etworksAndUpdateInterfaces(VdsBrokerObjectsBuilder.java:1774)
> > [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder.updateNe
> > tworkData(VdsBrokerObjectsBuilder.java:1727) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerObjectsBuilder.updateVD
> > SDynamicData(VdsBrokerObjectsBuilder.java:872) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand.execut
> > eVdsBrokerCommand(GetCapabilitiesVDSCommand.java:17) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand.executeVDSComma
> > nd(VdsBrokerCommand.java:110) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.VDSCommandBase.executeCommand(VDSCommandBa
> > se.java:73) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.dal.VdcCommandBase.execute(VdcCommandBase.java:33)
> > [dal.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.ResourceManager.runVdsCommand(ResourceMana
> > ger.java:451) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.VdsManager.refreshCapabilities(VdsManager.
> > java:652) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring.beforeFirstRefre
> > shTreatment(HostMonitoring.java:687) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring.refreshVdsRunTim
> > eInfo(HostMonitoring.java:129) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring.refresh(HostMoni
> > toring.java:85) [vdsbroker.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.vdsbroker.VdsManager.onTimer(VdsManager.java:237)
> > [vdsbroker.jar:]
> > 
> >         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > 
> > [rt.jar:1.8.0_91]
> > 
> >         at
> > 
> > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
> > 62) [rt.jar:1.8.0_91]
> > 
> >         at
> > 
> > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm
> > pl.java:43) [rt.jar:1.8.0_91]
> > 
> >         at java.lang.reflect.Method.invoke(Method.java:498)
> >         [rt.jar:1.8.0_91]
> >         at
> > 
> > org.ovirt.engine.core.utils.timer.JobWrapper.invokeMethod(JobWrapper.java:
> > 77) [scheduler.jar:]
> > 
> >         at
> > 
> > org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:51)
> > [scheduler.jar:]
> > 
> >         at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
> >         [quartz.jar:]
> >         at
> > 
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> > [rt.jar:1.8.0_91]
> > 
> >         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> > 
> > [rt.jar:1.8.0_91]
> > 
> >         at
> > 
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
> > 1142) [rt.jar:1.8.0_91]
> > 
> >         at
> > 
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java
> > :617) [rt.jar:1.8.0_91]
> > 
> >         at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_91]
> > 
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel




More information about the Devel mailing list