Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic