Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » OEPE + Debian64(The preview for JSP pages doesn't work)
OEPE + Debian64 [message #848923] Wed, 18 April 2012 18:03 Go to next message
ismael Missing name is currently offline ismael Missing name
Messages: 6
Registered: August 2011
Junior Member
Hello forum

I'm having problems with the preview tab while working with JSP pages with the latest OEPE package in my Debian/Testing AMD64 box.

When I press the preview button, at first it complained about the MOZILLA_FIVE_HOME variable, so I set it like this:
export MOZILLA_FIVE_HOME='/usr/lib/iceweasel/'

Then it complained about not finding libxpcom.so, so I registered a new LD path:
export LD_LIBRARY_PATH=/usr/lib/xulrunner-10.0/

And now when I try the preview, I get the message: Unhandled event loop exception
With this stack trace:
org.eclipse.swt.SWTError: XPCOM error -1041039104
	at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2502)
	at org.eclipse.swt.browser.Mozilla.initFactories(Mozilla.java:1764)
	at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:757)
	at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
	at org.eclipse.jst.pagedesigner.preview.WindowsIEBrowser.create(WindowsIEBrowser.java:33)
	at org.eclipse.jst.pagedesigner.editors.HTMLEditor.getPreviewBrowser(HTMLEditor.java:350)
	at org.eclipse.jst.pagedesigner.editors.HTMLEditor.pageChange(HTMLEditor.java:1039)
	at org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
	at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2746)
	at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1433)
	at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)


And session Data
eclipse.buildId=M20120208-0800
java.version=1.6.0_24
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_MX
Framework arguments:  -vm /home/me/Oracle/Middleware/jdk160_29/bin
Command-line arguments:  -os linux -ws gtk -arch x86_64 -vm /home/me/Oracle/Middleware/jdk160_29/bin


Any ideas on how can I get the preview function working?
Re: OEPE + Debian64 [message #849492 is a reply to message #848923] Thu, 19 April 2012 07:36 Go to previous message
Thomas Schindl is currently offline Thomas Schindl
Messages: 5422
Registered: July 2009
Senior Member
Not JDT but WTP related but more about the XULRunner which IIRC is not
available for 64 - or is this only true for windows?

Please ask at the WTP-Forum the line "WindowsIEBrowser" looks strange
because it holds IE in it.

Tom

Am 18.04.12 20:03, schrieb ismael Mising name:
> Hello forum
>
> I'm having problems with the preview tab while working with JSP pages
> with the latest OEPE package in my Debian/Testing AMD64 box.
>
> When I press the preview button, at first it complained about the
> MOZILLA_FIVE_HOME variable, so I set it like this:
> export MOZILLA_FIVE_HOME='/usr/lib/iceweasel/'
>
> Then it complained about not finding libxpcom.so, so I registered a new
> LD path:
> export LD_LIBRARY_PATH=/usr/lib/xulrunner-10.0/
>
> And now when I try the preview, I get the message: Unhandled event loop
> exception
> With this stack trace:
> org.eclipse.swt.SWTError: XPCOM error -1041039104
> at org.eclipse.swt.browser.Mozilla.error(Mozilla.java:2502)
> at org.eclipse.swt.browser.Mozilla.initFactories(Mozilla.java:1764)
> at org.eclipse.swt.browser.Mozilla.create(Mozilla.java:757)
> at org.eclipse.swt.browser.Browser.<init>(Browser.java:99)
> at
> org.eclipse.jst.pagedesigner.preview.WindowsIEBrowser.create(WindowsIEBrowser.java:33)
>
> at
> org.eclipse.jst.pagedesigner.editors.HTMLEditor.getPreviewBrowser(HTMLEditor.java:350)
>
> at
> org.eclipse.jst.pagedesigner.editors.HTMLEditor.pageChange(HTMLEditor.java:1039)
>
> at
> org.eclipse.ui.part.MultiPageEditorPart$2.widgetSelected(MultiPageEditorPart.java:290)
>
> at
> org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1267)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1061)
> at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:2746)
> at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:1433)
> at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:257)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>
> at java.lang.reflect.Method.invoke(Method.java:616)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
>
>
> And session Data
> eclipse.buildId=M20120208-0800
> java.version=1.6.0_24
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_MX
> Framework arguments: -vm /home/me/Oracle/Middleware/jdk160_29/bin
> Command-line arguments: -os linux -ws gtk -arch x86_64 -vm
> /home/me/Oracle/Middleware/jdk160_29/bin
>
>
> Any ideas on how can I get the preview function working?
Previous Topic:Eclipse Crashes :/
Next Topic:Splash screen not showing on exported product
Goto Forum:
  


Current Time: Sat Oct 25 16:46:40 GMT 2014

Powered by FUDForum. Page generated in 0.17754 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software