Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » "WindowsIEBrowser" looks strange because it holds IE in it(OEPE + Debian64, JSP preview not working)
"WindowsIEBrowser" looks strange because it holds IE in it [message #849914] Thu, 19 April 2012 15:19
ismael Missing name is currently offline ismael Missing nameFriend
Messages: 6
Registered: August 2011
Junior Member
Hello forum,

It seems that I posted in the wrong place, so I'm re-posting here.

Probably the line that @Tom Schindl thinks to be weird is this one:
at org.eclipse.jst.pagedesigner.preview.WindowsIEBrowser.create(WindowsIEBrowser.java:33)


Any ideas on what can I do?
I just want the preview function working.


----ORIGINAL POST FOLLOWS----

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 
Previous Topic:Jar missing from Ear
Next Topic:Dynamic Web project don't copy any file to wtpwebapps directory
Goto Forum:
  


Current Time: Fri Apr 19 07:45:34 GMT 2024

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

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

Back to the top