Community
Participate
Working Groups
SWT error thrown when running Manual Test View on Linux. When running the Manual Test View on Linux (RedHat Enterprise Linux 4), the enclosed SWT error is thrown ("Unknown Mozilla path (MOZILLA_FIVE_HOME is not set)]"). This SWT error is caused when creating the description test field in the test invocation pane of the Manual Test View. This description test field is a org.eclipse.swt.browser.Browser widget and requires Mozilla v1.4 to v1.6 GTK2 on RedHat Enterprise Linux 4: A workaround is provided at: http://www.eclipse.org/swt/faq.php#browserlinux
Highly desirable and planned for this release, but not stop ship Prevents function from being used, but a work around is possible
Created attachment 29348 [details] Stack trace
This is the stack trace that shows up in the manual test executions results as a message: org.eclipse.swt.SWTError: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] at org.eclipse.swt.SWT.error(SWT.java:2968) at org.eclipse.swt.browser.Browser.<init>(Browser.java:130) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.buildPane(TestInvocationPane.java:221) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.<init>(TestInvocationPane.java:83) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.<init>(TestInvocationPane.java:76) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.buildWindow(ManualTestView.java:440) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.<init>(ManualTestView.java:129) at org.eclipse.tptp.test.manual.runner.core.internal.ManualTestRunner.main(ManualTestRunner.java:194)
SWT is also sensitive of the version of Mozilla since SWT v3.0 requires Mozilla v1.4 GTK2 - Mozilla 1.6 GTK2 and SWT v3.1 requires Mozilla v1.4 GTK2 - Mozilla v1.7.8 GTK2. Otherwise the following exception is thrown: org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /home/ractest/rac/lib/libswt-mozilla-gtk-3138.so: libstdc++.so.5: cannot open shared object file: No such file or directory) at org.eclipse.swt.SWT.error(SWT.java:2968) at org.eclipse.swt.SWT.error(SWT.java:2865) at org.eclipse.swt.browser.Browser.<init>(Browser.java:148) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.buildPane(TestInvocationPane.java:221) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.<init>(TestInvocationPane.java:83) at org.eclipse.tptp.test.manual.runner.ui.internal.TestInvocationPane.<init>(TestInvocationPane.java:76) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.buildWindow(ManualTestView.java:440) at org.eclipse.tptp.test.manual.runner.ui.internal.ManualTestView.<init>(ManualTestView.java:129) at org.eclipse.tptp.test.manual.runner.core.internal.ManualTestRunner.main(ManualTestRunner.java:194) Caused by: java.lang.UnsatisfiedLinkError: /home/ractest/rac/lib/libswt-mozilla-gtk-3138.so: libstdc++.so.5: cannot open shared object file: No such file or directory at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2147) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:2025) at java.lang.Runtime.loadLibrary0(Runtime.java:824) at java.lang.System.loadLibrary(System.java:910) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123) at org.eclipse.swt.browser.Browser.<init>(Browser.java:145) ... 6 more
Since this defect requires a user action to configure the execution environment (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=115105), we will display an error dialog with the solution.
Cannot contain in TPTP V4.2.0 (i2).
Decreasing severity since this issue has been added to the readme and this defect is for displaying an error dialog with the solution.
Update the manual test runner to return an error message to the launching client workbench instructing the user of the issue and any possible solution.
*** Bug 143226 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of 144777 ***
Closing.