Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 359257

Summary: [Unit Test Failure] org.eclipse.modisco.infra.browser.tests.TestMetaclasses
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Project Inbox <modisco.web-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P4 CC: gdupe, modisco.web-inbox
Version: 0.10.0Flags: gdupe: kepler+
gdupe: luna+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
See Also: https://git.eclipse.org/r/49430
https://git.eclipse.org/r/49431
https://git.eclipse.org/r/49432
https://git.eclipse.org/c/modisco/org.eclipse.modisco.git/commit/?id=9f855562108aad2abc78dc4e8c74163057be0c48
Whiteboard:
Bug Depends on: 468159    
Bug Blocks:    

Description Nicolas Bros CLA 2011-09-28 11:32:09 EDT
org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
	at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.<init>(AbstractSWTBot.java:97)
	at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl.<init>(AbstractSWTBotControl.java:47)
	at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:49)
	at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:38)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.activeShell(SWTBotFactory.java:341)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:208)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:198)
	at org.eclipse.modisco.infra.browser.tests.project.WorkspaceSetup.importTestProject(WorkspaceSetup.java:69)
	at org.eclipse.modisco.infra.browser.tests.TestMetaclasses.init0(TestMetaclasses.java:72)
	at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.run(EclipseTestRunner.java:350)
	at org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner.run(EclipseTestRunner.java:208)
	at org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication.runTests(UITestApplication.java:116)
	at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(WorkbenchTestable.java:71)
	at java.lang.Thread.run(Thread.java:595)
Comment 2 Gregoire Dupe CLA 2015-06-03 12:21:15 EDT
I've closed the wrong bug :-( => Reopening.
Comment 3 Gregoire Dupe CLA 2015-06-04 04:29:57 EDT
I've tried to re-enable this test class :
 - no errors when launch from my IDE,
 - the following error when launched from Maven :

org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundException: The widget was null.
	at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.<init>(AbstractSWTBot.java:97)
	at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBotControl.<init>(AbstractSWTBotControl.java:47)
	at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:49)
	at org.eclipse.swtbot.swt.finder.widgets.SWTBotShell.<init>(SWTBotShell.java:38)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.activeShell(SWTBotFactory.java:341)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:208)
	at org.eclipse.swtbot.swt.finder.SWTBotFactory.menu(SWTBotFactory.java:198)
	at org.eclipse.modisco.infra.browser.tests.project.WorkspaceSetup.importTestProject(WorkspaceSetup.java:69)
	at org.eclipse.modisco.infra.browser.tests.TestMetaclasses.init0(TestMetaclasses.java:73)
Comment 4 Eclipse Genie CLA 2015-06-04 06:13:31 EDT
New Gerrit change created: https://git.eclipse.org/r/49430
Comment 5 Eclipse Genie CLA 2015-06-04 06:13:33 EDT
New Gerrit change created: https://git.eclipse.org/r/49431
Comment 6 Eclipse Genie CLA 2015-06-04 06:22:15 EDT
New Gerrit change created: https://git.eclipse.org/r/49432