Bug 1267007

Summary: NullPointerException in Exporter.java when null Product is provided
Product: [Community] Candlepin Reporter: Jonathon Turel <jturel>
Component: candlepinAssignee: candlepin-bugs
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: aedwards, fnguyen, jturel, tpfromme
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-29 14:26:56 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:

Description Jonathon Turel 2015-09-28 19:26:07 UTC
Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Mock the Exporter.java spec tests to receive null Products in getProductById

Actual results:

NullPointerException is thrown, preventing the export from completing. This breaking manifest generation.


Expected results: Manifest should generate successfully. We log the fact that a product was null or missing content in the IT Adapters.


Additional info:

Relevant splunk query: https://splunk.corp.redhat.com/en-US/app/search/search?sid=1443199695.789193.splunk-src02.intranet.prod.int.phx2.redhat.com

Comment 1 Filip Nguyen 2015-09-29 14:26:56 UTC
Export works differently in CP 2.0 (no longer calls adaptor). So this might not be an issue

0.9 is not long term supported, so we will not fix it in 0.9