Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 387168 - failures in testImportProject and testBug234149_aFewProviders
Summary: failures in testImportProject and testBug234149_aFewProviders
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: CVS (show other bugs)
Version: 3.8   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: platform-cvs-inbox CLA
QA Contact:
URL: http://download.eclipse.org/eclipse/d...
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 02:52 EDT by Tomasz Zarna CLA
Modified: 2019-11-27 07:17 EST (History)
1 user (show)

See Also:


Attachments
Fix for the test (1.43 KB, patch)
2012-08-14 10:20 EDT, Malgorzata Janczarska CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Malgorzata Janczarska CLA 2012-08-14 06:12:13 EDT
Display.getDefault().getActiveShell() called in ProjectSetImporterTests returns null for some reason.
Comment 2 Malgorzata Janczarska CLA 2012-08-14 10:20:53 EDT
Created attachment 219865 [details]
Fix for the test

> Display.getDefault().getActiveShell() called in ProjectSetImporterTests returns null for some reason.
Probably there is no active shell in the default display. The test needs this particular shell to create the UI for test and we have an util method to find shell that makes sure that shell is not null. I think it's more appropriate here. The attached patch contains the implementation of this fix. I think it should fix the problem although I was not able to reproduce those failures.
Comment 3 Tomasz Zarna CLA 2012-08-14 11:02:51 EDT
(In reply to comment #2)
> Created attachment 219865 [details]
> Fix for the test

Neat.
Comment 4 Lars Vogel CLA 2019-11-27 07:17:39 EST
This bug hasn't had any activity in quite some time. Maybe the problem got
resolved, was a duplicate of something else, or became less pressing for some
reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it.
The information can be, for example, that the problem still occurs, that you
still want the feature, that more information is needed, or that the bug is
(for whatever reason) no longer relevant.

If the bug is still relevant, please remove the stalebug whiteboard tag.