Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[DESPERATE] UnsatisfiedLinkError: getBrowserType

6 views
Skip to first unread message

Michael Preston

unread,
Mar 27, 1999, 3:00:00 AM3/27/99
to
Hi

I am trying to get my applet, which is run using the Java 1.2
plug-in, to get hold of the Browser object so that I can manipulate the
vrml scene from my applet. Does anyone know why I am unable to do so?

I get the following error:

java.lang.UnsatisfiedLinkError: getBrowserType

at vrml.external.Browser.getBrowser(Compiled Code)

at VrmlSQLApplet.init(Compiled Code)

at sun.applet.AppletPanel.run(Compiled Code)

at java.lang.Thread.run(Thread.java:479)

> Extract from my html file:

<center>
<embed src="gtown.wrl" border=0 height="250" width="500">
</center>

<!--"CONVERTED_APPLET"-->
<!-- CONVERTER VERSION 1.0 -->
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 420 HEIGHT = 460
codebase="http://java.sun.com/products/plugin/1.2/jinstall-12-win32.cab#Version=1,2,0,0">
<PARAM NAME = CODE VALUE = "VrmlSQLApplet.class" >
<PARAM NAME = CODEBASE = . >
<PARAM NAME = MAYSCRIPT VALUE=true>
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.2">

<PARAM NAME="org.omg.CORBA.ORBInitialHost" VALUE="thebe.cs.ru.ac.za">
<PARAM NAME="org.omg.CORBA.ORBInitialPort" VALUE=1050>
<COMMENT>
<EMBED type="application/x-java-applet;version=1.2" java_CODE =
"VrmlSQLApplet.class" java_CODEBASE = "." WIDTH = 420 HEIGHT = 460
MAYSCRIPT=true org.omg.CORBA.ORBInitialHost="thebe.cs.ru.ac.za"
org.omg.CORBA.ORBInitialPort=1050
pluginspage="http://java.sun.com/products/plugin/1.2/plugin-install.html"><NOEMBED></COMMENT>
alt="Your browser understands the &lt;APPLET&gt; tag but isn't running
the applet, for some reason."
Your browser is completely ignoring the &lt;APPLET&gt; tag!
</NOEMBED>
</EMBED>
</OBJECT>


> Extract from my applet:

import vrml.external.field.*;
import vrml.external.Node;
import vrml.external.Browser;
import vrml.external.exception.*;

...

// Get the browser
System.out.println("Getting the browser object");
for (int count = 0; count < 10; count++) {
try {
browser = Browser.getBrowser(this);
}
catch (Exception e) { } // getBrowser() can throw
NullBrowserException
if (browser != null) break;
try { Thread.sleep(200); }
catch (InterruptedException ignored) { }
Browser.print("browser was null, trying again...");
}


Any help is _much_ appreciated

Cheers
Mike

--
Michael Preston
c/o Comp Sci Dept Rhodes Univ Grahamstown (South Africa)
mi...@rucus.ru.ac.za http://www.cs.ru.ac.za/research/mikep
Phone: +27 83 627 4367
All my opinions are my own...
-------------------------------------------

0 new messages