[ERROR] The browser widget class could not be instantiated
org.eclipse.swt.SWTError: No more handles
(java.lang.UnsatisfiedLinkError: /opt/devtools/libs/gwt-linux-1.3.3/
mozilla-1.7.12/libxpcom.so: libplds4.so: cannot open shared object
file: No such file or directory)
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:184)
at com.google.gwt.dev.shell.BrowserWidget.<init>(BrowserWidget.java:
236)
at
com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:
72)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at
com.google.gwt.dev.shell.PlatformSpecific.createBrowserWidget(PlatformSpecific.java:
53)
at com.google.gwt.dev.GWTShell.openNewBrowserWindow(GWTShell.java:
485)
Caused by: java.lang.UnsatisfiedLinkError: /opt/devtools/libs/gwt-
linux-1.3.3/mozilla-1.7.12/libxpcom.so: libplds4.so: cannot open
shared object file: No such file or directory
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1647)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1005)
at org.eclipse.swt.browser.Browser.<init>(Browser.java:168)
at com.google.gwt.dev.shell.BrowserWidget.<init>(BrowserWidget.java:
236)
at
com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:
72)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:
39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
By the way: both libxpcom.so and libplds4.so are on /opt/devtools/libs/
gwt-linux-1.3.3/mozilla-1.7.12/ so it's probably not a "No such file
or directory" problem.
any ideas?
thanks in advance!
By you stating that they are there, I'm assuming that you mean they
exist, they aren't broken symlinks and that you have the correct
permissions to access said files.
>
> any ideas?
Brute force. This is open source - attach a debugger with a breakpoint
in BrowserWidget and see what is happening.
Cheers,
James
> at com.google.gwt.dev.shell.BrowserWidget .<init>(BrowserWidget.java:
> 236)
> at
> com.google.gwt.dev.shell.moz.BrowserWidgetMoz.<init>(BrowserWidgetMoz.java:
> 72)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance (NativeConstructorAccessorImpl.java:
> 39)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:
> 27)
> at java.lang.reflect.Constructor.newInstance (Constructor.java:513)