Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320144

Summary: NPE from ProfileModificationJob.runModal
Product: [Eclipse Project] Equinox Reporter: Missing name Mising name <andbristol>
Component: p2Assignee: P2 Inbox <equinox.p2-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 3.7 M1   
Hardware: All   
OS: All   
Whiteboard:

Description Missing name Mising name CLA 2010-07-16 16:45:05 EDT
Build Identifier: I20100520-1744

IProgressMonitor passed into ProfileModificationJob.runModal(IProgressMonitor) is not checked for null or converted into SubMonitor, will throw NPE if given null argument.

Reproducible: Always

Steps to Reproduce:
1. Create a ProfileModificationJob, with new() or ProfileChangeOperation.getProvisioningJob().
2. Call runModal(null) on the ProfileModificationJob object.
Comment 1 DJ Houghton CLA 2010-07-26 14:05:34 EDT
Fixed in HEAD.