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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cloudy
    New Member
    • Aug 2008
    • 1

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

    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="localf ile.jar" codebase="." width=0 height=0 name="lclfile" MAYSCRIPT></applet>

    The caller in javascript (page1.html) is like this:
    xontent = document.lclfil e.ReadAll(strAd dress + "\\" + 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.Exce ption: ReadAll{0} :no such method exists' .

    java.lang.Excep tion: ReadAll{0} :no such method exists
    at sun.plugin.com. JavaClass.getMe thod1(Unknown Source)
    at sun.plugin.com. JavaClass.getDi spatcher(Unknow n Source)
    at sun.plugin.com. DispatchImpl.in vokeImpl(Unknow n Source)
    at sun.plugin.com. DispatchImpl$1. run(Unknown Source)
    at java.security.A ccessController .doPrivileged(N ative Method)
    at sun.plugin.com. DispatchImpl.in voke(Unknown Source)
    java.lang.Excep tion: java.lang.Excep tion: ReadAll{0} :no such method exists
    at sun.plugin.com. DispatchImpl.in vokeImpl(Unknow n Source)
    at sun.plugin.com. DispatchImpl$1. run(Unknown Source)
    at java.security.A ccessController .doPrivileged(N ative Method)
    at sun.plugin.com. DispatchImpl.in voke(Unknown Source)
    java.lang.Excep tion: ReadAll{0} :no such method exists
    at sun.plugin.com. JavaClass.getMe thod1(Unknown Source)
    at sun.plugin.com. JavaClass.getDi spatcher(Unknow n Source)
    at sun.plugin.com. DispatchImpl.in vokeImpl(Unknow n Source)
    at sun.plugin.com. DispatchImpl$1. run(Unknown Source)
    at java.security.A ccessController .doPrivileged(N ative Method)
    at sun.plugin.com. DispatchImpl.in voke(Unknown Source)
    java.lang.Excep tion: java.lang.Excep tion: ReadAll{0} :no such method exists
    at sun.plugin.com. DispatchImpl.in vokeImpl(Unknow n Source)
    at sun.plugin.com. DispatchImpl$1. run(Unknown Source)
    at java.security.A ccessController .doPrivileged(N ative Method)
    at sun.plugin.com. DispatchImpl.in voke(Unknown Source)


    I use IE6 browser. Can anyone help me?
  • blazedaces
    Contributor
    • May 2007
    • 284

    #2
    Why don't you give us some actual code or we're just as stumped as you are...

    -blazed

    Comment

    • ajos
      Contributor
      • Aug 2007
      • 283

      #3
      How is this "java.lang.Exce ption: 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

      Comment

      Working...