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_
>>
>>

Reply via email to