Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323733 - eclipse hangs while editing aggregation model
Summary: eclipse hangs while editing aggregation model
Status: RESOLVED WORKSFORME
Alias: None
Product: CBI
Classification: Technology
Component: CBI p2 Repository Aggregator (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-26 13:16 EDT by Stephan Herrmann CLA
Modified: 2016-09-16 15:57 EDT (History)
3 users (show)

See Also:


Attachments
stacks when eclipse hangs (85.33 KB, text/x-log)
2010-08-26 13:16 EDT, Stephan Herrmann CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2010-08-26 13:16:21 EDT
Created attachment 177542 [details]
stacks when eclipse hangs

I just started to play with the b3 editor and when I added a new
contribution item to indigo.b3aggr eclipse hangs.
Statusline displays a truncated:
  "Loading p2:http://dow...tes/milestones"
The UI was blocked.

I'm attaching a stack trace of the hanging process.
(well, actually two stack traces as I sent kill 3 twice to see
if there's any observable progress).

Update: after several minutes eclipse came back from the dead
and the error log was full of messages (to be attached next).
Comment 1 Stephan Herrmann CLA 2010-08-26 13:19:40 EDT
Here are some of the errors from the log:

org.eclipse.equinox.p2.core.ProvisionException: Artifact not found: http://download.eclipse.org/modeling/emf/updates/milestones/features/org.eclipse.emf.validation_1.2.0.v200805130238-35-9oA55S5L8G6FCT.jar.

org.eclipse.equinox.p2.core.ProvisionException: Artifact not found: http://download.eclipse.org/modeling/emf/updates/milestones/features/org.eclipse.emf.validation.sdk_1.2.1.v200807161729-579093L7YxTRK7HtUz0Hhaz-JlG9.jar.

org.eclipse.equinox.p2.core.ProvisionException: Artifact not found: http://download.eclipse.org/modeling/gmp/updates/milestones/features/org.eclipse.gmf.runtime.thirdparty.source_1.1.0.v20100421-2359-7F8G1FC7sRTMV4Yz-edsl.jar.

org.eclipse.equinox.p2.core.ProvisionException: Artifact not found: http://download.eclipse.org/modeling/gmp/updates/milestones/features/org.eclipse.gmf.sdk.experimental_1.1.1.v20100421-2359-7A77EpEdvPqvY4viNqoRn6hjUawb.jar.

...

The stack in these errors is:
org.eclipse.equinox.p2.core.ProvisionException: Artifact not found: http://download.eclipse.org/modeling/gmp/updates/milestones/features/org.eclipse.gmf.sdk.experimental_1.1.1.v20100421-2359-7A77EpEdvPqvY4viNqoRn6hjUawb.jar.
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.parseFeature(UpdateSite.java:281)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeaturesFromSite(UpdateSite.java:533)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadFeatures(UpdateSite.java:439)
at org.eclipse.equinox.internal.p2.updatesite.RemoteFeaturesAction.perform(RemoteFeaturesAction.java:41)
at org.eclipse.equinox.internal.p2.updatesite.RemoteUpdateSiteAction.perform(RemoteUpdateSiteAction.java:50)
at org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.run(Publisher.java:207)
at org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher.java:237)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.generateMetadata(UpdateSiteMetadataRepositoryFactory.java:106)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:91)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:54)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:747)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:652)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.b3.p2.loader.impl.P2RepositoryLoader.load(P2RepositoryLoader.java:101)
at org.eclipse.b3.p2.loader.impl.P2RepositoryLoader.load(P2RepositoryLoader.java:56)
at org.eclipse.b3.aggregator.p2.util.MetadataRepositoryResourceImpl$RepositoryLoaderJob.run(MetadataRepositoryResourceImpl.java:230)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)


Files not found on some server is one thing, blocking the UI another.
Comment 2 Filip Hrbek CLA 2010-08-27 08:59:10 EDT
Unfortunately I am unable to reproduce any of the problems that you describe.

According to the stack trace you attached, it looks like you clicked in the IU name property selection under a repository that was being loaded. I don't understand how you could do that since while a repository is being loaded, the IU selection should be in a disabled state (there seems to be no way to invoke the drop-down at that moment).

If you are able to describe exact steps that you take to reproduce the problem it will help me a lot.

Regarding the missing artifacts, it is not an aggregator bug but the repositories were probably broken when you were trying to fetch them.
Comment 3 Stephan Herrmann CLA 2010-08-29 11:25:39 EDT
(In reply to comment #2)

I can't reproduce either and it seems the stacktraces already told you
more than I can tell you :)
It seems I had the golden click that hits the button at an impossible
point in time.

> Regarding the missing artifacts, it is not an aggregator bug but the
> repositories were probably broken when you were trying to fetch them.

I agree, but perhaps the bug only occurs in a state where some required
repositories can not be accessed? Just guessing what might be the
difference between my golden click and our failing attempts to reproduce.
Comment 4 Stephan Herrmann CLA 2011-06-28 14:02:58 EDT
I never again experienced this so feel free to close as WORKSFORME.
Comment 5 Henrik Lindberg CLA 2011-06-28 19:47:52 EDT
.
Comment 6 David Williams CLA 2016-09-16 15:57:40 EDT
[Bookkeeping change only. Moving bugs to the new "home" of aggregator, CBI.
No change to assignee for resolved and verified bugs.]