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

Bug 362963

Summary: ClassCastException on build
Product: [Technology] CBI Reporter: Miles Daffin <miles.daffin>
Component: CBI p2 Repository AggregatorAssignee: Project Inbox <b3.aggregator-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: thomas, wayne.pascoe
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Miles Daffin CLA 2011-11-05 05:38:40 EDT
Build Identifier: 

java.lang.ClassCastException: org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository cannot be cast to org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository
	at org.eclipse.b3.aggregator.engine.Builder.getAggregationArtifactRepository(Builder.java:732)
	at org.eclipse.b3.aggregator.engine.Builder.initializeArtifactMirroring(Builder.java:1006)
	at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1654)
	at org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Reproducible: Sometimes

Steps to Reproduce:
1. Run build either from a clean state or after a successful build (e.g. in order to add another IU)

(Cannot provide build as the one I am having issues with uses internal repos.)
Comment 1 Thomas Hallgren CLA 2011-11-05 07:47:38 EDT

*** This bug has been marked as a duplicate of bug 362809 ***
Comment 2 Miles Daffin CLA 2011-11-11 15:03:05 EST
I reckon this is actually a duplicate of BUG352628.
Comment 3 Miles Daffin CLA 2011-11-11 15:04:08 EST
Correction! It duplicates BUG352995.
Comment 4 David Williams CLA 2016-09-16 15:51:51 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.
Made no changes to assignee's for closed bugs, even though some were old inbox.]