Community
Participate
Working Groups
Build ID: I20071101-2000 Steps To Reproduce: 1.Try to record following testcase: a. Start with a clean workspace, at Profiling and Logging perspecive, from the File menu choose Import->Log File. The Import Log File wizard opens. The log set name is default. b. Click button Add.., the Add Log File opens. Select the filter type, host. c. Click Browse.. button, Import Log File dialog opens with the message "Select a directory to import the logs from." on top. d. Click button Browse.. , Import logs from directory dialog opens. Select a directory. The contents of the directory are shown in the viewers below. Error message " There are no resources currently selected for import." shows on the top. "OK" button is disabled. e. Click "Select All" button, all the folders and files are checked, OK button is enabled, error message changes to "Select a directory to import the logs from." ; click "Clear All" button, all the folders and files are unchecked, OK button is disabled, error message is at the top. f. Select the log files to be imported, click OK button. Import logs from directory dialog closes. The paths of log files selected are shown in the log file path of Add Log File. problems: Please find attached recording segment. "OK" button of "Import logs from directory" Dialog is also not getting recorded properly. Playback of the recording hangs on the "Import Log sets" dialog with error: There was an error while running the macro associated with the test case: ImportLogFiles_1. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:3706) at org.eclipse.swt.SWT.error(SWT.java:3624) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:191) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:118) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4167) at org.eclipse.tptp.test.auto.gui.internal.macro.MacroUtil.closeSecondaryShells(MacroUtil.java:1171) at org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell.checkForInterruptions(MacroCommandShell.java:1143) at org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell.playback(MacroCommandShell.java:851) at org.eclipse.tptp.test.auto.gui.internal.macro.Macro.playback(Macro.java:346) at org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager.runMacro(MacroManager.java:574) at org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager.access$4(MacroManager.java:568) at org.eclipse.tptp.test.auto.gui.internal.macro.MacroManager$1$MacroOperationWrapper.run(MacroManager.java:501) at java.lang.Thread.run(Thread.java:803) Caused by: java.lang.NullPointerException at org.eclipse.tptp.monitoring.logui.internal.wizards.LogSetManager.generateLogElementPrefEntry(LogSetManager.java:591) at org.eclipse.tptp.monitoring.logui.internal.wizards.LogSetManager.generateLogSetPrefEntry(LogSetManager.java:567) at org.eclipse.tptp.monitoring.logui.internal.wizards.LogSetManager.saveLogSets(LogSetManager.java:541) at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizardPage.finish(ImportLogWizardPage.java:586) at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizard.performPageFinish(ImportLogWizard.java:422) at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizard.performCancel(ImportLogWizard.java:240) at org.eclipse.jface.wizard.WizardDialog.okToClose(WizardDialog.java:859) at org.eclipse.jface.wizard.WizardDialog.close(WizardDialog.java:426) at org.eclipse.jface.window.Window.handleShellCloseEvent(Window.java:741) at org.eclipse.jface.window.Window$3.shellClosed(Window.java:687) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:91) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:956) at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:306) at org.eclipse.swt.widgets.Shell.close(Shell.java:477) at org.eclipse.tptp.test.auto.gui.internal.macro.MacroUtil$1.run(MacroUtil.java:1178) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportWizardTextField.handleEvent(ImportWizardTextField.java:125) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:956) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:715) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.doClick(BooleanSelectionCommand.java:490) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.playback(BooleanSelectionCommand.java:294) at org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell$4.run(MacroCommandShell.java:1210) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.tptp.monitoring.logui.internal.wizards.ImportLogWizardPage.widgetSelected(ImportLogWizardPage.java:811) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:956) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:715) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.doClick(BooleanSelectionCommand.java:490) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.playback(BooleanSelectionCommand.java:294) at org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell$4.run(MacroCommandShell.java:1210) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:159) at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:280) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:240) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:475) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:470) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:165) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:582) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:499) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:410) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:956) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:715) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.doClick(BooleanSelectionCommand.java:490) at org.eclipse.tptp.test.auto.gui.internal.commands.BooleanSelectionCommand.playback(BooleanSelectionCommand.java:294) at org.eclipse.tptp.test.auto.gui.internal.commands.MacroCommandShell$4.run(MacroCommandShell.java:1210) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:130) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) at org.eclipse.equinox.launcher.Main.main(Main.java:1169) at org.eclipse.core.launcher.Main.main(Main.java:30) More information: TPTP build: tptp.sdk-TPTP-4.5.0-200711130400 TPTP Auto-GUI: org.eclipse.tptp.test.auto-TPTP-4.5.0-200711130400 System details: IBM Lenovo T60p with INTEL CPU T2600,Windows XP, CPU- 2.16GHz,2GB RAM
Created attachment 83856 [details] Screens of Dialog for which recording is failing.
Created attachment 83857 [details] GUI recording for specified dialogs.
This is required for internal testing. Duwayne, can you provide a sizing?
The browser window that appears is a native system browser. This is not currently supported in the AGR. The work-around is to manually type the path to the file you are importing. Marking this as a duplicate of 167105, which is not currently scheduled to be fixed. Changing milestone to future and removing plan key-word. *** This bug has been marked as a duplicate of bug 167105 ***
Changing milestone to i4 to match the resolved duplicate defect.
DuWayne, The problem here is that the test case recording that we need to run .i.e. the test case is to verify the dialog and we cannot type the path manually.
(In reply to comment #6) > DuWayne, > The problem here is that the test case recording that we need to run .i.e. the > test case is to verify the dialog and we cannot type the path manually. > This test case will have to be a manual test until resources are available to resolve bug 167105.
This is DUPLICATE of bug 167105...so closing it.