File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Applets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark ""No such method exists" while calling function in applet using IE and JDK1.4.2" Watch ""No such method exists" while calling function in applet using IE and JDK1.4.2" New topic
Author

"No such method exists" while calling function in applet using IE and JDK1.4.2

thomas josephm
Greenhorn

Joined: Nov 07, 2008
Posts: 1
I am getting the following error when a function in my applet is called from javascript in IE. I am using jdk 1.4.2.
But the same code is working when I am running with IE in jdk 1.5.
While executing in Firefox, it is working fine for both JDK 1.4.2 and JDK 1.5.
The problem is only when I am using JDK 1.4.2 and Internet Explorer.
Please let me know what can be the issue.

java.lang.Exception: ValidateAndReturnStatusToJSWithParams{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$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)


The function I am calling is
ValidateAndReturnStatusToJSWithParams(sKeyName, sKeyEncrKey, sValidationTrackNumber, sValidationLength, sValidationIndex, sOffsetTrackNumber, sOffsetLength, sOffsetIndex, sEjectCurrent, sEjectWhenComplete, sDecimalTable, sMaxPIN, sNoLeadingZero, sPaddingChar, sValidationData, sValidationDigits);

Please let me know how to fix this.

Thanks & Regards,
Thomas.
Elie Hirschman
Ranch Hand

Joined: Dec 15, 2005
Posts: 37
thomas josephm wrote:
java.lang.Exception: ValidateAndReturnStatusToJSWithParams{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$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)



I had this problem running under JRE 1.6_06
I upgraded to JRE 1.6_13 and the problem went away (after I also cleared out all my signed applet certificates from the Java Control Panel)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: "No such method exists" while calling function in applet using IE and JDK1.4.2