It should be set by Spring by looking at the applicationContext or 
componentContext

-Prachi
-----Original Message-----
From: Marcus Sorensen [mailto:shadow...@gmail.com] 
Sent: Thursday, April 25, 2013 10:58 AM
To: dev@cloudstack.apache.org
Subject: Re: [ACS41] Allocator Expert Needed!

I looked at it a bit, still beyond me, but the actual null pointer is:

for(HostAllocator allocator : _hostAllocators) {

_hostAllocators is locally defined in this file, but empty. I'm not sure what 
should be calling 'setHostAllocators'.

       protected List<HostAllocator> _hostAllocators;
       public List<HostAllocator> getHostAllocators() {
                return _hostAllocators;
        }
        public void setHostAllocators(List<HostAllocator> _hostAllocators) {
                this._hostAllocators = _hostAllocators;
        }



On Thu, Apr 25, 2013 at 11:49 AM, Chip Childers
<chip.child...@sungard.com>wrote:

> CLOUDSTACK-2158 is a blocker bug for 4.1.0, and I need an allocator 
> expert to review and fix if required.
>
> https://issues.apache.org/jira/browse/CLOUDSTACK-2158
>
> 'userconcentratedpod_firstfit failed to find alternate host to run VM
>
> Marcus laid out the situation in the bug itself.
>
> Help please!
>
> -chip
>

Reply via email to