Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 115104 - SWT error (Unknown Mozilla path) thrown when running Manual Test View on Linux.
Summary: SWT error (Unknown Mozilla path) thrown when running Manual Test View on Linux.
Status: CLOSED DUPLICATE of bug 144777
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux-GTK
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Paul Slauenwhite CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 143226 (view as bug list)
Depends on: 115105
Blocks:
  Show dependency tree
 
Reported: 2005-11-04 12:24 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 11:00 EDT (History)
1 user (show)

See Also:


Attachments
Stack trace (834 bytes, text/plain)
2005-11-04 12:30 EST, Scott E. Schneider CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2005-11-04 12:24:32 EST
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
Comment 1 Paul Slauenwhite CLA 2005-11-04 12:25:40 EST
Highly desirable and planned for this release, but not stop ship
Prevents function from being used, but a work around is possible
Comment 2 Scott E. Schneider CLA 2005-11-04 12:30:34 EST
Created attachment 29348 [details]
Stack trace
Comment 3 Scott E. Schneider CLA 2005-11-04 12:31:48 EST
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)
Comment 4 Paul Slauenwhite CLA 2005-11-30 16:06:56 EST
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
Comment 5 Paul Slauenwhite CLA 2006-02-20 12:01:15 EST
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.
Comment 6 Paul Slauenwhite CLA 2006-04-03 14:58:42 EDT
Cannot contain in TPTP V4.2.0 (i2).
Comment 7 Paul Slauenwhite CLA 2006-04-09 16:00:48 EDT
Decreasing severity since this issue has been added to the readme and this defect is for displaying an error dialog with the solution.
Comment 8 Paul Slauenwhite CLA 2006-04-11 12:29:41 EDT
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.
Comment 9 Paul Slauenwhite CLA 2006-05-24 13:24:21 EDT
*** Bug 143226 has been marked as a duplicate of this bug. ***
Comment 10 Paul Slauenwhite CLA 2006-05-31 16:47:45 EDT

*** This bug has been marked as a duplicate of 144777 ***
Comment 11 Paul Slauenwhite CLA 2006-05-31 16:47:57 EDT
Closing.