Bug 1411304 - NPE when selectBestPools returns no pools and debug logging is on
Summary: NPE when selectBestPools returns no pools and debug logging is on
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9.54
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: vritant
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1411773
TreeView+ depends on / blocked
 
Reported: 2017-01-09 12:12 UTC by vritant
Modified: 2017-02-07 17:41 UTC (History)
2 users (show)

Fixed In Version: candlepin-0.9.54.19-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1411773 (view as bug list)
Environment:
Last Closed: 2017-02-07 17:41:13 UTC


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github candlepin candlepin pull 1435 0 None None None 2017-01-09 12:12:59 UTC

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:


Note You need to log in before you can comment on or make changes to this bug.