Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2006 20:28:39 +0100
From:      Ralf Folkerts <ralf.folkerts@gmx.de>
To:        freebsd-eclipse@FreeBSD.org
Subject:   Eclipse 3.2.1 and MyEclipse 5.1 Probs.
Message-ID:  <456201E7.5030404@gmx.de>

next in thread | raw e-mail | index | archive | help
Hi,

last weekend I updated my Laptop using Packages and thus got the new 
Eclipse 3.2.1 (btw: thanks to David for the Port!). Then I installed 
MyEclipse 5.0, "Online Updated" ME to 5.1 and then wanted to do some 
JSP-Programming.

Unfortunately, I get an SWT Error every Time I start the JSP Editor.

I searched thru the MyEclipse Config and disabled everything that seemed 
to be "native" (i.e. the "Linux Only" Firefox in Preview-Modes / Visual 
Designer).

However, I keep getting that error :-(

While trying to figure out the cause of the Problem I found that in the 
Eclipse's Preferences "General" / "Web Browser" the "Use internal Web 
Browser" RadioButton is disabled (i.e. I cannot select it).

The same is true on my amd64-Machine, where I upgraded Eclipse (from 
3.1.2) using the port. I have no Idea wether this is the cause for the 
ME Exeptions or not, however.

Here's a Stack Trace I get in Eclipse's Error Log whenever I try to 
start the ME JSP-Editor:

!ENTRY org.eclipse.ui 4 0 2006-11-20 20:08:22.933
!MESSAGE No more handles (java.lang.UnsatisfiedLinkError: /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: Shared object "libxpcom.so" not found, required by "libswt-mozilla-gtk-3235.so")
!STACK 0
org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: Shared object "libxpcom.so" not found, required by "libswt-mozilla-gtk-3235.so")
	at org.eclipse.swt.SWT.error(SWT.java:3400)
	at org.eclipse.swt.SWT.error(SWT.java:3297)
	at org.eclipse.swt.browser.Browser.<init>(Browser.java:168)
	at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPlatformPreviewPage(WebDesignerMultiPageEditor.java:334)
	at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.createPages(WebDesignerMultiPageEditor.java:327)
	at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:276)
	at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
	at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
	at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
	at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
	at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
	at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
	at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
	at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
	at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:275)
	at org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:139)
	at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open(OpenActionUtil.java:49)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:190)
	at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:174)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:267)
	at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:243)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:306)
	at org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:653)
	at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
	at org.eclipse.core.runtime.Platform.run(Platform.java:843)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
	at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
	at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
	at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
	at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
	at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1085)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3166)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2842)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
	at org.eclipse.core.launcher.Main.run(Main.java:977)
	at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: java.lang.UnsatisfiedLinkError: /home/ralf/.eclipse/org.eclipse.platform_3.2.0/configuration/org.eclipse.osgi/bundles/80/1/.cp/libswt-mozilla-gtk-3235.so: Shared object "libxpcom.so" not found, required by "libswt-mozilla-gtk-3235.so"
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:992)
	at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
	at org.eclipse.swt.browser.Browser.<init>(Browser.java:153)
	... 58 more



Does anyone have an Idea / hint??

MTIA
Cheers,
_ralf_



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?456201E7.5030404>