| Summary: | Hang at startup involving target definition, XZed repository and feature editor | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Marc-André Laperle <malaperle> | ||||||||||
| Component: | UI | Assignee: | Vikas Chandra <Vikas.Chandra> | ||||||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||||||
| Severity: | normal | ||||||||||||
| Priority: | P3 | CC: | curtis.windatt.public, marc.khouzam, Vikas.Chandra | ||||||||||
| Version: | 4.5 | ||||||||||||
| Target Milestone: | 4.5.1 | ||||||||||||
| Hardware: | PC | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Marc-André Laperle
I am able to recreate this. This needs to be fixed in 4.5.1 Created attachment 254874 [details]
Stack trace
Similar logic has to be applied in ExternalFeatureModelManager::initialize() as was done in PluginModelManager::initializeTable Created attachment 255050 [details]
Fix that solves this problem
A potential fix
(In reply to Vikas Chandra from comment #4) > Created attachment 255050 [details] > Fix that solves this problem > > A potential fix If you have the feature editor open the feature manager is called first. This was noticed previously and we had to handle init'ing the feature first in the past. It makes sense then to have the same hang-preventing logic in the feature manager. Since the feature manager uses the target for external features, perhaps we can simply have the feature manager force the plugin manager to initialize. In theory if the plugin manager delays init to prevent the hang ups the feature manager will just think there are no external features until the target is reset. I'm fine with doing the former right now and investigating the latter later in the release. Created attachment 255202 [details]
Updated patch
updated patch
In masters(4.6) http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=0eb6884db706f994690659356a4e37961d92645c In 4.5.1 http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?h=R4_5_maintenance&id=f03d36c5799ca363c8df7f58480ddfc4ccdc253b opened Bug 472699 for investigation. Marc, can you please check if this works for you in any build post 15th of July. (In reply to Vikas Chandra from comment #7) > Marc, can you please check if this works for you in any build post > 15th of July. I verified that it works with build 4.6-N20150719-2000. Thanks! This is verified in 4.6 build. Need to verify in 4.5.1 stream Verified in Version: Mars (4.5.1) Build id: M20150812-1000 |