Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362963 - ClassCastException on build
Summary: ClassCastException on build
Status: CLOSED DUPLICATE of bug 362809
Alias: None
Product: CBI
Classification: Technology
Component: CBI p2 Repository Aggregator (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-05 05:38 EDT by Miles Daffin CLA
Modified: 2016-09-16 15:51 EDT (History)
2 users (show)

See Also:


Attachments

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