Bug 249309 - Treatment of null repo destinations inconsistent between MirrorApplications
Summary: Treatment of null repo destinations inconsistent between MirrorApplications
Status: RESOLVED DUPLICATE of bug 248267
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-01 09:06 EDT by Andrew Cattle CLA
Modified: 2008-10-01 10:52 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 Andrew Cattle CLA 2008-10-01 09:06:40 EDT
The MirrorApplication.java found in the metadata repository package performs a check to see if either the inputted source or destination are set to null and throws an exception if this is true.

The MirrorApplication.java found in the artifact repository package does not check is the source is null and merely sets the destination equal to the source if it is null. This could lead to Null Pointer Exceptions.
Comment 1 Andrew Cattle CLA 2008-10-01 10:52:18 EDT

*** This bug has been marked as a duplicate of bug 248267 ***