Back on list So it is a bit late so I am going to crash after this. It looks like there is a vif that has an empty mac on your router: String lmac = vif.getMAC(conn); if (lmac.trim().equals(mac)) { this is from the last version before the 25th of august. The second line is 3887. The only possible null pointer there is lmac, which is retrieved in the line before. I haven't checked how it is retrieved and we'll have to search for that later.
Op vr 8 mei 2015 om 00:35 schreef Daan Hoogland <daan.hoogl...@gmail.com>: > 4.4.0 was never published. it contained a bad bug discovered after it > passed voting. > > Op vr 8 mei 2015 om 00:30 schreef Francois Gaudreault < > fgaudrea...@cloudops.com>: > > Yeah Ill try to get it once home. Im not even sure that jenkins box exists >> still. Is it the same line in 4.4.0? Not sure why mine would be different :S >> On May 7, 2015 6:29 PM, "Daan Hoogland" <daan.hoogl...@gmail.com> wrote: >> >>> The line >>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVifByMac(CitrixResourceBase.java:3887) >>> should contain something else then I see. So can you look in your >>> modified version of the code? >>> >>> Op vr 8 mei 2015 om 00:27 schreef Francois Gaudreault < >>> fgaudrea...@cloudops.com>: >>> >>>> Off list. >>>> >>>> Daan, >>>> >>>> What do you mean? :) >>>> >>>> FG >>>> On May 7, 2015 6:25 PM, "Daan Hoogland" <daan.hoogl...@gmail.com> >>>> wrote: >>>> >>>>> Ok, maybe you have the code base that you are running? please look at >>>>> that line and post it back >>>>> >>>>> Op vr 8 mei 2015 om 00:20 schreef Francois Gaudreault < >>>>> fgaudrea...@cloudops.com>: >>>>> >>>>>> I can try to get this from jenkins, but Ill most likely won't find it. >>>>>> >>>>>> FG >>>>>> On May 7, 2015 6:14 PM, "Daan Hoogland" <daan.hoogl...@gmail.com> >>>>>> wrote: >>>>>> >>>>>>> Do you have an commit ID? >>>>>>> >>>>>>> Op do 7 mei 2015 om 23:58 schreef Francois Gaudreault < >>>>>>> fgaudrea...@cloudops.com>: >>>>>>> >>>>>>>> Right, sorry for the confusion,it's a custom 4.4.1 (non GA). Might >>>>>>>> want to look in the 4.4.0 code. >>>>>>>> >>>>>>>> Also this looks like it happened when I deleted a private gateway >>>>>>>> when the VR was stopped. >>>>>>>> >>>>>>>> FG >>>>>>>> On May 7, 2015 5:46 PM, "Daan Hoogland" <daan.hoogl...@gmail.com> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> I am a bit confused Francois, >>>>>>>>> >>>>>>>>> I checked out GA-4.4.1 >>>>>>>>> The line >>>>>>>>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVifByMac(CitrixResourceBase.java:3887) >>>>>>>>> contains >>>>>>>>> protected VIF getVifByMac(Connection conn, VM router, String >>>>>>>>> mac) throws XmlRpcException, XenAPIException { >>>>>>>>> which means it is not a line of code but a function declaration. >>>>>>>>> Are you sure you are running 4.4.1? >>>>>>>>> >>>>>>>>> Op do 7 mei 2015 om 20:30 schreef Francois Gaudreault < >>>>>>>>> fgaudrea...@cloudops.com>: >>>>>>>>> >>>>>>>>>> Anybody seen this before with XenServer? Trying to restart a VPC, >>>>>>>>>> and >>>>>>>>>> getting a NPE. We are on 4.4.1: >>>>>>>>>> >>>>>>>>>> 2015-05-07 14:13:11,325 WARN [c.c.h.x.r.CitrixResourceBase] >>>>>>>>>> (DirectAgent-225:ctx-22776ed8) Plug Nic failed due to >>>>>>>>>> java.lang.NullPointerException >>>>>>>>>> java.lang.NullPointerException >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVifByMac(CitrixResourceBase.java:3887) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:7383) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:542) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:102) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.hypervisor.xen.resource.XenServer620SP1Resource.executeRequest(XenServer620SP1Resource.java:65) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:293) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>>>>>>>>> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>>>>>>>>> at >>>>>>>>>> >>>>>>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>>>>>>>>> at java.lang.Thread.run(Thread.java:745) >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> Francois Gaudreault >>>>>>>>>> Gestionnaire de Produit | Product Manager - Cloud Platform & >>>>>>>>>> Services >>>>>>>>>> t:514-629-6775 >>>>>>>>>> >>>>>>>>>> CloudOps Votre partenaire infonuagique | Cloud Solutions Experts >>>>>>>>>> 420 rue Guy | Montreal | Quebec | H3J 1S6 >>>>>>>>>> w: cloudops.com | tw: @CloudOps_ >>>>>>>>>> >>>>>>>>>>