Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320144 - NPE from ProfileModificationJob.runModal
Summary: NPE from ProfileModificationJob.runModal
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: 3.7 M1   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-16 16:45 EDT by Missing name Mising name CLA
Modified: 2010-07-26 14:05 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.