Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352995 - B3 Aggregator generates error during 'Build Aggregation' task
Summary: B3 Aggregator generates error during 'Build Aggregation' task
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-07-25 07:47 EDT by Wayne Pascoe 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 Wayne Pascoe CLA 2011-07-25 07:47:17 EDT
The B3 aggregator generates the following error and related stack trace during the 'Build Aggregation' and 'Clean then Build Aggregation' steps. 

This is an intermittent error, and does not happen all of the time. 

org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository cannot be cast to org.eclipse.equinox.p2.repository.artifact.IFileArtifactRepository

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:730)
            at org.eclipse.b3.aggregator.engine.Builder.initializeArtifactMirroring(Builder.java:1004)
            at org.eclipse.b3.aggregator.engine.Builder.run(Builder.java:1650)
            at org.eclipse.b3.aggregator.presentation.AggregatorActionBarContributor$BuildAggregationAction$1.run(AggregatorActionBarContributor.java:292)
            at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Version details for the aggregator that this occured with are as follows:

b3 Aggregator Engine (Incubation)	0.2.0.v20110720-0814 org.eclipse.b3.aggregator.engine.feature.feature.group	Eclipse b3 Project
Comment 1 Miles Daffin CLA 2011-11-11 10:03:17 EST
Seeing this error quite a lot today. Quite disruptive. Any idea why it happens?
Comment 2 Thomas Hallgren CLA 2011-11-12 03:59:19 EST

*** This bug has been marked as a duplicate of bug 362809 ***
Comment 3 David Williams CLA 2016-09-16 15:51:19 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.]