Codeforces celebrates 10 years! We are pleased to announce the crowdfunding-campaign. Congratulate us by the link https://codeforces.com/10years. ×

### Endagorion's blog

By Endagorion, history, 3 years ago, translation, ,

Hello! I've been trying to install moj plugin on a topcoder applet in a new environment. The problem is I'm getting Exception in thread "AWT-EventQueue-2" java.lang.NoSuchMethodError: com.topcoder.client.contestApplet.common.LocalPreferences.removeProperty(Ljava/lang/String;)Ljava/lang/String;... when trying to save preferences of CodeProcessor, at this point:

Pressing the save button doesn't do anything except for raising the exception in the console. Does someone have any information relevant to resolving this issue? Thanks!

• +18

 » 3 years ago, # |   0
•  » » 3 years ago, # ^ |   0 At first glance the error looks like a problem with the arena infrastructure rather than with the plugin. Can you post the full stacktrace(s) from the Java console?
•  » » » 3 years ago, # ^ |   0 Thanks for responding! I will as soon as Topcoder comes back online.
•  » » » 3 years ago, # ^ |   0 Here you go: https://pastebin.com/QKJPrg87
•  » » 3 years ago, # ^ | ← Rev. 2 →   +10 Unfortunately, the stack trace did not help me understand the issue. It says CodeProcessor code could not find a method in TopCoder's plugin API. This is odd since CodeProcessor has not changed in many years and the arena appears to have last changed in 2014.I tried to reproduce the problem myself but everything worked for me. Here are the steps I followed: Use a Windows 10 box that previously did not have TopCoder set up Java version 8 update 144 Add http://www.topcoder.com/ as an Exception Site in Java security settings Start arena through Java Web Start (javaws ContestAppletProd.jnlp) Download latest moj zip from https://github.com/lovrop/topcoder-moj/releases Use CodeProcessor+FileEdit+moj jars from the above zip Follow instructions at https://github.com/lovrop/topcoder-moj/blob/master/README#L60 Does your environment or process obviously differ from the above in some way?
 » 3 years ago, # |   +34
•  » » 3 years ago, # ^ |   0 My thoughts exactly.