Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 514291 - jdtui tests failing with NPE at testNewJavaProjectWizard
Summary: jdtui tests failing with NPE at testNewJavaProjectWizard
Status: CLOSED DUPLICATE of bug 486069
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 04:26 EDT by pasam soujanya CLA
Modified: 2017-03-29 05:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pasam soujanya CLA 2017-03-28 04:26:09 EDT
jdtui Automated Testsuite is failing at testNewJavaProjectWizard with NPE.

ECL (eclipse) java.lang.NullPointerException
ECL 	at org.eclipse.swt.widgets.TabFolder.gtk_switch_page(TabFolder.java:490)
ECL 	at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1994)
ECL 	at org.eclipse.swt.widgets.Display.windowProc(Display.java:4723)
ECL 	at org.eclipse.swt.internal.gtk.OS._gtk_widget_show(Native Method)
ECL 	at org.eclipse.swt.internal.gtk.OS.gtk_widget_show(OS.java:14720)
ECL 	at org.eclipse.swt.widgets.TabFolder.createItem(TabFolder.java:274)
ECL 	at org.eclipse.swt.widgets.TabItem.createWidget(TabItem.java:123)
ECL 	at org.eclipse.swt.widgets.TabItem.<init>(TabItem.java:75)
ECL 	at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.createControl(BuildPathsBlock.java:228)
ECL 	at org.eclipse.jdt.ui.wizards.JavaCapabilityConfigurationPage.createControl(JavaCapabilityConfigurationPage.java:162)
ECL 	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:175)
ECL 	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:705)
ECL 	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:597)
ECL 	at org.eclipse.jface.window.Window.create(Window.java:430)
ECL 	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1096)
ECL 	at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.doWizardLeakTest(JavaLeakTest.java:402)
ECL 	at org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testNewJavaProjectWizard(JavaLeakTest.java:392)
ECL 	at junit.extensions.TestDecorator.basicRun(TestDecorator.java:23)
ECL 	at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
ECL 	at junit.extensions.TestSetup.run(TestSetup.java:27)
ECL 	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:692)
ECL 	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:319)
ECL 	at org.eclipse.test.UITestApplication$2.run(UITestApplication.java:197)
ECL 	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
ECL 	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
ECL 	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3794)
ECL 	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3433)
ECL 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)
ECL 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
ECL 	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)
ECL 	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)
ECL 	at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)
ECL 	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)
ECL 	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)
ECL 	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
ECL 	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)
ECL 	at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:140)
ECL 	at org.eclipse.test.UITestApplication.run(UITestApplication.java:62)
ECL 	at org.eclipse.test.UITestApplication.start(UITestApplication.java:212)
ECL 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
ECL 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
ECL 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
ECL 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
ECL 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
ECL 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
ECL 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
ECL 	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
ECL 	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
ECL 	at org.eclipse.core.launcher.Main.main(Main.java:34)
ECL
Test ran with IBM SDK with the below version.
java version "1.8.0"
Java(TM) SE Runtime Environment (build pxi3280sr4fp5-20170327_01(SR4 FP5))
IBM J9 VM (build 2.8, JRE 1.8.0 Linux x86-32 20170324_341338 (JIT enabled, AOT enabled)
J9VM - R28_20170324_0201_B341338
JIT  - tr.r14.java_20170324_341338
GC   - R28_20170324_0201_B341338
J9CL - 20170324_341338)
JCL - 20170323_01 based on Oracle jdk8u131-b11

Raising the bug based on the comment #5 in bug 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=449846
Comment 1 Dani Megert CLA 2017-03-29 05:08:17 EDT

*** This bug has been marked as a duplicate of bug 486069 ***