Bug 1411304

Summary: NPE when selectBestPools returns no pools and debug logging is on
Product: [Community] Candlepin Reporter: vritant <vrjain>
Component: candlepinAssignee: vritant <vrjain>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9.54CC: redakkan, skallesh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: candlepin-0.9.54.19-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1411773 (view as bug list) Environment:
Last Closed: 2017-02-07 17:41:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1411773    

Description vritant 2017-01-09 12:12:12 UTC
Description of problem:
While investigating another bug, I found that when selectBestPools returns no pools and debug logging is on, we end up with an NPE.

Version-Release number of selected component (if applicable):
candlepin-0.9.54.18-1

How reproducible:
100%

Steps to Reproduce:
1. turn debug logging on and request auto bind with no pools available
2.
3.

Actual results:
an error log message in candlepin.log like "Healing failed for host UUID.."

Expected results:
no error log

Additional info: