jbox- java applet notinited
Dan Liu
Dan.Liu at STATE.MN.US
Thu Dec 16 09:31:12 PST 2004
Hi Richard,
Thank you for the suggestions.
The error I got from Java console is:
netscape.javascript.JSException: Failure to evaluate
reset_handler('jBox',-1.0,-1.0,-1.0,-1.0);
at sun.plugin.javascript.ocx.JSObject.eval(Unknown Source)
at jBoxPNG.boxoff(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
And on any computers I tried this demo got the grey image with a red cross.
So I don't think it is not client configuration.
Thanks again.
Dan
-----Original Message-----
From: Richard Greenwood [mailto:richard.greenwood at GMail.com]
Sent: Tuesday, December 14, 2004 9:52 AM
To: MAPSERVER-USERS at lists.umn.edu
Subject: Re: [UMN_MAPSERVER-USERS] jbox- java applet notinited
On Tue, 14 Dec 2004 09:10:09 -0600, Dan Liu <Dan.Liu at state.mn.us> wrote:
> Hi Richard,
> Is there any way to fix this error? I tried everything. The 'applet
noinited
> error' still shows from time to time on both Mozilla and IE.
>
> Dan
Sorry. Your server was down over the weekend, and then I kind of forgot...
I Iooked at your code and viewed the page. I do not see anything
suspicious and I did not get an error, so I can only suggest some
general avenues to explore.
1. Open the Java console when you run it. It will display considerably
more error information when an error does occur.
2. Try the 'regular' jBox instead of the jBoxPNG. Sun's recent Java
VMs can display PNGs natively. It is only the Microsoft Java VM that
can not, and that therefoer requires the jBoxPNG.
3. Test some other Java enabled sites (e.g.
www2.tetonwyo.org/mapsever) to be sure that it's not simply your
client configuration.
Sorry that I don't have a more specific solution.
Regards,
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
More information about the MapServer-users
mailing list