| Summary: | [Workbench][ErrorHandling] Startup failed due to exception in view creation | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | John Arthorne <john.arthorne> | ||||
| Component: | UI | Assignee: | Kim Horne <eclipse> | ||||
| Status: | RESOLVED DUPLICATE | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | bokowski, eclipse, mik.kersten, Szymon.Brandys | ||||
| Version: | 3.3 | ||||||
| Target Milestone: | 3.3 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 178330 | ||||||
| Attachments: |
|
||||||
|
Description
John Arthorne
Created attachment 61402 [details]
Log file
See bug 178330 ... these could be related. PW We should definately handle the case where a view fails with at least the error view. John do you have a way to replicate this? Kim: possibly related to your startup work I don't have an easily reproducible test. Here is what I did: 1) Installed Eclipse+Mylar last week 2) This week replaced my Eclipse with latest build, but kept old version of Mylar 3) The workbench failed to stat. Perhaps there is some change since last week that causes Mylar to fail to start. I tried a simple test of introducing a runtime exception into some view's createPartControl, and it didn't reproduce the problem. So, it's not as simple as a failure in a view's startup. I was hoping the stacks would shed light on what's going on. This may indeed be a result of the threading changes. We wrapper all part creation in a StartupThreading runnable, allowing parts to be created in the UI thread (as they've always been). Because the code is being run from the right thread we're then allowing subsequent asyncExecs to be executed in UISynchronizer when they should instead be held until the UI has started. I think this is why I favored StartupRunnable being a marker class that was recognized by the UISynchronizer. I assume that this is not reproducible with the M6-based dev builds of Mylar that we started putting out last Wednesday. Latest is 2.0.0.v20070322-1430 and available from: http://download.eclipse.org/technology/mylar/update-site/dev/e3.3 In the past bugs like this one, where Mylar failed to load, have not caused the workbench to fail to load. Looks like this bug should stay reproducible with the M5 based build of Mylar, which after April 30th with move to: http://download.eclipse.org/technology/mylar/update-site-archive/2.0M1/e3.3 Just fyi, the Mylar committers move to the I-builds latest 5 days before the milestone release date (policy is here: http://wiki.eclipse.org/index.php/Mylar_User_Guide#Releases ). If Platform ever wants a dev build for an I-build sooner than that, or wants us to investigate something like this just let us know via new bug or CC'ing me. I have a Bugzilla query for all bugs I'm CC'd on, and only found this one by following dependencies. This should've been addressed by the fix for bug 178875. We are now deferring asyncs as we should be. *** This bug has been marked as a duplicate of bug 178875 *** |