| Summary: | Manual Test View throws NullPointerException when referenced test suite is missing. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Bianca Jiang <bjiang> | ||||
| Component: | TPTP | Assignee: | Paul Slauenwhite <paulslau> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P1 | CC: | paulslau | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Bianca Jiang
Created attachment 53652 [details]
Screen shot of manual client
This defect is caused by not having the references test suite in your workspace. If you extract the test-results/test and test-results/platform folders from CVS, you can run the Test Project's documentation test suites. When the referenced test suite cannot be located, the Manual Test View throws the following exception: java.lang.NullPointerException at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.refreshPanes(ManualTestView.java:726) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.access$4(ManualTestView.java:620) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView$10.handleEvent(ManualTestView.java:384) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.open(ManualTestView.java:138) at org.eclipse.tptp.test.manual.runner.core.internal.ManualTestRunner.main(ManualTestRunner.java:199) Since this defect requires the Manual Test View to gracefully handle the missing referenced test suite, deferring to 4.4 and changing the abstract. The following files and test cases checked-in to CVS (HEAD): org.eclipse.tptp.test.manual.runner.core.internal.ManualTestRunnerResourceBundle.java org.eclipse.tptp.test.manual.runner.core.internal.model.util.ExecutionManager.java org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.java org.eclipse.tptp.test.manual.runner.ui.internal.MissingTestInvocationPane.java org.eclipse.tptp.test.manual.runner.ui.internal.TestSuiteTreePane.java org.eclipse.hyades.test.tools.core\src-manual-runner\org\eclipse\tptp\test\manual\runner\core\internal\messages.properties org.eclipse.hyades.test.tools.core\src-manual-runner\icons\enabled\error.gif Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release. Thanks. Validated with TPTP 4.4 candidate build: http://www.eclipse.org/tptp/home/downloads/?buildId=TPTP-4.4.0-200706140100C |