Bug 1267007 - NullPointerException in Exporter.java when null Product is provided
Summary: NullPointerException in Exporter.java when null Product is provided
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Candlepin
Classification: Community
Component: candlepin
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: candlepin-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-28 19:26 UTC by Jonathon Turel
Modified: 2015-09-29 14:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-09-29 14:26:56 UTC
Embargoed:


Attachments (Terms of Use)

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


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