By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,529 Members | 1,860 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,529 IT Pros & Developers. It's quick & easy.

Javascript error: java.lang.Exception: ReadAll{0} :no such method exists

P: 1
First at all, i'm sorry, i not good in writing english.

i want to retrieve a string from my applet via Javascript. I use a method named ReadAll.

public String ReadAll(String StrOut, String Keywords, String condition) {
:::
:::
return description;
}


I call an applet in page1.html file like this
<applet code="localfile.class" archive="localfile.jar" codebase="." width=0 height=0 name="lclfile" MAYSCRIPT></applet>

The caller in javascript (page1.html) is like this:
xontent = document.lclfile.ReadAll(strAddress + "\\" + FSo.item().name, string, and_search);



The problem is, when i run the html file in folder "D:/Development" it's work without any problem. I put all related file in one folder.

But if i copy all file inside "D:/Development" folder and put it under other folder such as "D:/note" and run it, it give me an error 'java.lang.Exception: ReadAll{0} :no such method exists' .

java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)


I use IE6 browser. Can anyone help me?
Aug 1 '08 #1
Share this Question
Share on Google+
2 Replies


blazedaces
100+
P: 284
Why don't you give us some actual code or we're just as stumped as you are...

-blazed
Aug 1 '08 #2

100+
P: 283
How is this "java.lang.Exception: ReadAll{0} :no such method exists" this a javascript error? Still i dont know what that means.

Here's something i found while searching Js Bug

See if this helps :)

regards,

ajos
Aug 1 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.