Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
thomas josephm
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!