For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 6 replies, 3 voices, and was last updated 21 years, 8 months ago by
Riyad Kalla.
-
AuthorPosts
-
Nils HartmannMemberHi,
after switching to ME’s “Web Browser”-View my M9-RC1 workbench crashed with following exception:
org.eclipse.swt.SWTError: No more handles [Unknown mozilla path] at org.eclipse.swt.SWT.error(SWT.java:2717) at org.eclipse.swt.browser.Browser.<init>(Browser.java:128) at com.genuitec.eclipse.browser.HTMLViewer.<C4><81>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) at com.genuitec.eclipse.browser.HTMLView.createPartControl(Unknown Source) at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:131) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615) at org.eclipse.core.runtime.Platform.run(Platform.java:758) ...What operating system and version are you running?
Linux 2.2.24, Debian 3.0 (including parts from “unstable”)What Eclipse version and build id are you using? (Help > About Eclipse Platform)
Version: 3.0.0
Build id: 200405290105– Was Eclipse freshly installed for MyEclipse?
Yes.– Are any other external plugins installed?
No.– How many plugins in the <eclipse>/plugins directory are like org.eclipse.pde.*
8What MyEclipse version are you using?
3.8 beta1 (labled as 3.7.101 in About Eclipse Platform > Features)What JDK version are you using to run Eclipse? (java -version)
java version “1.4.2_01”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)What JDK version are you using to launch your application server?
dito (guess it doesn’t matter since I hadn’t launched an appserver while
the crash occured …)What steps did you take that resulted in the issue?
I can reproduce this problem by selecting
Window -> Show View -> MyEclipse Enterprise Workbench -> Web BrowserAre there any errors in the Eclipse log? (<workspace>/.metadata/.log)
eclipse.buildId=I200405290105 java.version=1.4.2_01 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -showlocation vmargs -Xmx512m 2 !ENTRY org.eclipse.osgi Jun 04, 2004 19:27:39.708 !MESSAGE Application error !STACK 1 org.eclipse.swt.SWTError: No more handles [Unknown mozilla path] at org.eclipse.swt.SWT.error(SWT.java:2717) at org.eclipse.swt.browser.Browser.<init>(Browser.java:128) at com.genuitec.eclipse.browser.HTMLViewer.<C4><81>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) at com.genuitec.eclipse.browser.HTMLViewer.<init>(Unknown Source) ...Any hints how to solve this problem?
Thanks,
NilsJune 4, 2004 at 2:06 pm #207989
Riyad KallaMemberNils,
The SWT component is fairly new and will be buggy for a while until the Eclipse team stabalizes it. However, your exception suggests that an abusive amount of UI handles are being created and not being cleaned up. This does seem to be a known bug in Eclipse:
https://bugs.eclipse.org/bugs/buglist.cgi?short_desc_type=allwordssubstr&short_desc=No+more+handles&version=3.0&long_desc_type=allwordssubstr&long_desc=&bug_file_loc_type=allwordssubstr&bug_file_loc=&keywords_type=allwords&keywords=&emailtype1=substring&email1=&emailtype2=substring&email2=&bugidtype=include&bug_id=&votes=&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&cmdtype=doit&namedcmd=Open+3.0+Bugs&newqueryname=&order=Reuse+same+sort+as+last+time&field0-0-0=noop&type0-0-0=noop&value0-0-0=Note that 2 of those bugs are specifically against the browser component.
June 4, 2004 at 2:14 pm #207991
snpeMembereclipse html widget (I think that myeclipse web browser use it) don’t work with standard binary mozilla from mozilla.org – mozilla must be compiled with gtk2 – there is link for compiled version mozilla on internet – I compile mozilla from source with -enable-gtk2 and web browser work fine – eclipse crash with standard mozilla (it isn’t compiled with gtk2)
regards
June 4, 2004 at 3:10 pm #207992
Riyad KallaMembersnpe,
Thanks for the great tip! I’ll add it to the FAQ with proper credits.nilsha,
Did this help you?June 4, 2004 at 3:15 pm #207993
Riyad KallaMembernilsha,
I just noticed the message “Unknown mozilla path” in your exception… do you have mozilla in your path so SWT can find it? Have you tried dropping to a console and typeing “mozilla” and seeing if anything loads up? This might be the problem.June 4, 2004 at 5:16 pm #208010
snpeMembermozilla executable isn’t necessary, but mozilla path yes
You must set like
export MOZILLA_FIVE_HOME=/usr/local/mozillaor home path for mozilla
html widget don’t use mozilla executable, only mozilla gtk libraries
regards
June 4, 2004 at 5:24 pm #208012
Riyad KallaMemberhtml widget don’t use mozilla executable, only mozilla gtk libraries
Thank you for the clarification snpe.
-
AuthorPosts
