### Egor's blog

By Egor, 10 years ago,

I would really appreciate any new ideas of what new features to add

I would also appreciate donations

3.99

Kattis support for both Chrome and Contest parsers. You'd need to accept new permissions for Chrome extension. Good luck at ACM ICPC World Finals online contest!

3.98

Codechef fix

3.97

Fixed issue with template selection and Chrome plugin interaction

3.96

Smallish update — you can now select task template per task. You can have several templates for general tasks, one where you need to output with Case #, GCJ where you need to integrate parallelization and similar

3.95

Support for Idea 14.1+

Parsers for RCC and USACO fixed

You can now parse other Codeforces contests when live contest is ongoing

Sorry for big delay, it was couple of crazy months for me

3.94

All parsers should work now. Chrome extension may disable itself on update, reenable it

3.93

Bayan support (will be live after Chrome store will approve update), fix for GCJ and HackerRank

3.91

Fixed Java 8 support. From now on Java 8 is target version, previous Java versions may or may not work properly

Also speed up and for RCC parsing, HackerRank parsing fix and Delete Task pop up fix

3.90

GCJ support should be fixed now. Also RCC support is fixed. Please note that non-current round take a lot of time to load as there is no place where I can see all round ids (it may appear after second round, I'll update then). Please also note that 1st round is currently have 2 instances as both id 4 and id 7 corresponds to it. I'm not sure how well my plugin will handle increased load on their servers and weird pages returned because of it, but I hope for the best

TopCoder checker support coming up in next release

3.85

GCJ support fixed, also GCJ is now supported through Chrome extension as well

3.83

Fix for Idea 13.1

3.80

Mostly fixes (Codeforces, Hackerrank, Yandex). Includes new memory limits support for TC and new action to edit task (if you for some reason do not want to do this through Edit configurations)

3.70

Facebook Hacker Cup and USACO support through Chrome plugin. Also HackerRank should work now

3.65

HackerRank support. Also compatible with Java 6

3.64

Added Codeforces support for Chrome extension. Should be usefull for those Gym contest that have non pdf/doc/etc problem statements

3.62

Rejoice Chrome users — there is now extension to Chrome that will assist in parsing Yandex.Contest tasks. Support for other sites (Codeforces Gym, for example) is coming as well. You will be prompted to install Chrome extension on first load of CHelper-supported project

You can download extension here

Some bugfixes and improvements are also included (Timus should work for now)

3.50

GCJ support finally! With it comes new type of input — local regular expression. Main classes build with this input type would take most recently modified file that matches provided regexp as input.

Also some little fixes to smart testing

3.45

Small fix due to Russian CodeCup page format change. GCJ support would be developed during next week

3.4

Smart testing

New mode, which automatically will test your program only on first failed test from last run and will test on all tests if that test will pass. With this feature you can easily start debug on failed test without need to switch tests on/off. This mode is on by default, you can disable it in project settings

Also test case generation mechanism changed a bit. You now can have at most one class with test cases, but multiple test case methods in it. This method shoule be annotated @TestCase. For compatibility if test class implements TestProvider/TopCoderTestProvider createTests() would still be called. If you create checker or test class through task settings it will now automatically be opened

Finally, templates for TopCoder are introduced

3.3

Templates for automatically generated stubs added 3 new files are automatically added to eligible projects (i. e. projects with chelper.properties) — TaskClass.template, CheckerClass.template and TestCaseClass.template. You may use following placeholders in all this files: %package% — package where file will be created %InputClass% — short name of input class %InputClassFQN% — fully qualified name of input class (used in imports) %OutputClass% — short name of output class %OutputClassFQN% — fully qualified name of output class (used in imports)

Also you can use %TaskClass% in TaskClass.template, %CheckerClass% in CheckerClass.template and %TestCaseClass% in TestCaseClass.template, which is basically short class names of corresponding classes

Would you delete this files by mistake they would be recreated next time you reopen project or when they are needed

TopCoder gengerated files are currently do not have templates, will do in next version

3.21

Previous version was built using Java 1.7, which may lead for Idea to fail on start up if run under Java 1.6. If this is your case please download it here and unpack to %home%\.IntelliJIdea%version%\config\plugins

3.2

This version contains minor and major changes

Minor change is hopefully last iteration of changes in TopCoder support. From now on you do not need to restart arena after restarting Idea. Also socket method is reinstaited with more checks to insure no fails and with automatic back up from file method

Major change is contributed mostly by Petr and provides support for Cojac. This is to help find errors such as unitended integer overflow and others. Support is turned off by default, you can turn it on or off for separate task in task configuration as well as for all new tasks in project settings

3.12

Urgent — temporary TopCoder fix

3.1

Leda (Idea 12) readiness

3.02 — even smaller update

Force locale setting was cleared on opening of Edit Tests dialog (and some others)

3.01 — small update:

Timus current/future contests now works

Redundant caption removed

So I decided it is a good time to go on with the release.

You can read intallation (and some other, under development) instructions here. I would not recommend manual installation, but you can download plugin directly here.

You are welcome to contribute and/or provide translations for manual for different languages. Source code is located here

Feature requests are appretiated as well

• +5

 » 10 years ago, # |   +3 How about the same plugin for Visual Studio for C++ users?
•  » » 10 years ago, # ^ |   +3 Well, the only problem I see is with unused code elemination (Idea provides very nice framework for this)I have two problems through — I do not own any non-starter VS license (and started do not allow plugin development) and I do not have time for second such project. I will be glad to help anyone who would be up for a task through with some advice
•  » » » 8 years ago, # ^ |   0 And what is about eclipse support?
•  » » » » 8 years ago, # ^ |   0 I heard cerealguy was working in this direction. As of me — time constraint still applies
•  » » 8 years ago, # ^ |   0
 » 10 years ago, # | ← Rev. 3 →   0 Thanks!
 » 10 years ago, # |   0 hello, I'm new at chelper.I'm using windows XP and when I open topcoder srm problem, by default language is set to C++; in the editor field there is 'Only Java language is supported. 'when I try to switch to Java(Choose your language checkbox) the arena halts, and nothing could be made to itJava console just outputs following lines: Start using Set problem componentAfter that all I can do is call Task Manager and kill the arena.plz help
•  » » 10 years ago, # ^ |   +3 Sorry, I'm currently on the go, but you can fix this by changing your default programming language in arena. I'll fix when I'll have time
•  » » » 10 years ago, # ^ |   0 Also, is it planned to fetch problem statement or chelper already has such a feature? It would really be better.
 » 10 years ago, # | ← Rev. 3 →   0 Hello, When I choose "Run Task" and "Debug Task", CHelper crashed, giving error message like this : https://www.dropbox.com/s/a6ob2ar547ymi4p/Screenshot-27.png I tried reinstall etc and CHelper still crashed, any idea?
•  » » 10 years ago, # ^ |   +5 I'll look into this after TCO is over
 » 10 years ago, # | ← Rev. 3 →   +29 Hi, At first congratulation for your excellent performance during this year Topcoder Open, not only for the Final Champion Round but also those years of efforts. Your achievement really set a model to our younger generation! And secondly, I have turned my vision to JAVA recently, and once again found IntelliJ IDEA along with CHelper 3.0 is a really productive combination! But I also found there are not so many people around me have grasp this yet. And the possible reason could be: "It is not a simple task to config it all from scratch for a man who have never been used IntelliJ IDEA before."So I translate the mannul to Chinese for myself. It will be my pleasure if you could involve me in the Project. I'd like share the text, to make more people be aware of this useful tool.Finally, thank you for bring us this amazing plug-in! ..
 » 10 years ago, # |   0 Hey Egor, first of all congratulations!!! I had to ask one thing, How can I update the plugin? Should I simply replace the old jar with the new jar having same name? Or something more is also to be done?
•  » » 10 years ago, # ^ |   +5 Best way is to use plugin repository. If you have idea 11+, it should offer an update. You also can remove plugin and then install from repository. If all this is not feasible you can download plugin directly and just replace old file
 » 10 years ago, # |   0 It may be a good feature to be able to change easily between standard I/O and reading from files. (for example this can be used when there are ACM-type contests)
•  » » 10 years ago, # ^ |   0 I'm not sure what do you mean. You can select input and output type on task creation as well as change them through task properties afterwards, but apart from choosing wrong option on task creation I do not see why would you need to do that
•  » » » 10 years ago, # ^ |   0 I can change that when I create a task, but how can I make the same thing when parsing a contest?
•  » » » » 10 years ago, # ^ |   0 Input ype shoukd be parsed correctly (all supported sites but Codeforces always use stdin/stdout, for Codeforces files are parsed corectly AFAIK)
•  » » » » » 10 years ago, # ^ |   0 Oh, I didn't know it detects I/O type. Sorry about that.
 » 10 years ago, # | ← Rev. 7 →   +5 I can't get it working on community edition of IDEA. I installed the plug-in, but the code generated in Main.java after running the program does not contain implementation of methods of plug-in classes, and, as a result, the Main.java does not work.For example, For OutputWriter the following code is generated: class OutputWriter { public OutputWriter(java.io.OutputStream outputStream) { /* compiled code */ } public void print(java.lang.Object... objects) { /* compiled code */ } public void close() { /* compiled code */ } } /*compiled code*/ comments are generated by IDEA, not by me:)I guess decompiler for community edition does not work very well or I made a mistake somewhere. Does the plug-in support only Ultimate edition?
•  » » 10 years ago, # ^ |   0 You are supposed to be author of all code, at least on TopCoder and Codeforces. Hence, you should write your own input/output classes or use standard library ones. Those InputReader and OutputWriter in plugin is not quite the same as ones I use in contests
•  » » » 10 years ago, # ^ | ← Rev. 2 →   0 Thank you for the reply! Finally I got it working by creating my own input-output classes and including them into my project. It works very well now!I expected the plug-in to decompile any code from any library and include it to the source file with all the dependencies:D I guess it is too much.
 » 10 years ago, # |   0 I'm a mac user and when I update to 3.1, it throws a NullPointerException when I try to parse problem in Codeforces
•  » » 10 years ago, # ^ |   0 Yep, that's already fixed, update to 3.11
 » 10 years ago, # |   0 This post takes for granted that we know what Chelper is.
•  » » 10 years ago, # ^ |   0 I do not have any long description, but basicaly it is plugin for IntelliJ Idea that inlines library code and provides testing framework
 » 10 years ago, # |   0 Hello, I have ubuntu 12 , Intellij Idea 11 and chelper 3.13.with the version previous it's worked fine, when updated the last version I got this error in topcoder.Probably socket was not opened, trying file method
•  » » 10 years ago, # ^ |   +3 Are you sure? I removed this pop-up in 3.13 (but it was in 3.12)
•  » » 10 years ago, # ^ | ← Rev. 3 →   0 I have exactly the same problem. OS is ubuntu 12.04, IntelliJ idea version is 11.1.4 (community edition). Plugin version is 3.13.Here are the screenshots:http://i49.tinypic.com/5vzqxu.pnghttp://i48.tinypic.com/eajleu.pnghttp://i45.tinypic.com/2u920x2.pngIDEA throws these exceptions when I try to open problem:'6:11:00 PM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaPsiFacadeImpl.findClass must not be null: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaPsiFacadeImpl.findClass must not be null''6:29:45 PM InvalidVirtualFileAccessException: Accessing invalid virtual file: file:///home/iensen/Dropbox/untitled2/.tctask: Accessing invalid virtual file: file:///home/iensen/Dropbox/untitled2/.tctask'After long delay it sometimes creates file via "file method", but saving back from idea does not work.Idea 12 also does not work with the newest version of the plug-in.
•  » » 10 years ago, # ^ |   +3 All of a sudden the problem disappeared when I checked out the latest version from http://code.google.com/p/idea-chelper and made a local build. But I'm not sure that this is the latest version, according to this configuration: http://code.google.com/p/idea-chelper/source/browse/META-INF/plugin.xml, it is 3.1, not 3.13 which is available through IDEA plugins repository.
•  » » » 10 years ago, # ^ |   +3 Same here. Something is clearly wrong with the current version.
 » 10 years ago, # |   0 Heyy Egor I installed the plugin in Intellij IDEA 12. How to compile/test the code ?
 » 10 years ago, # |   0 Are you going to add tests generator feature into Task settings form. (Tired of miscounting the number of characters in class name :)) When I archive the task it doesn't add to archive the generator, it adds checker but doesn't add generator.
•  » » 10 years ago, # ^ |   0 It is possible — click button "Test classes" in Run/Debug Configurations dialog It should be archived, if not — this is a bug
•  » » » 10 years ago, # ^ |   0 Good. Didn't notice that.Now, when I add generator using "Test classes" it got archived.
•  » » » » 10 years ago, # ^ |   0 Then I understand why it hadn't been archived — plugin use task stored in memory for archivation purposes, but passes filename for testing purposes
 » 10 years ago, # |   0 In version 3.3, I got error NullPointerException when I try to parse Problems in Codeforces. Please help me fix this.
•  » » 10 years ago, # ^ |   0 Can you provide stack trace?
•  » » » 10 years ago, # ^ |   0 NullPointerException: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(344,432),absolute(766,602),button=1,modifiers=Button1,clickCount=1] on dialog0
•  » » » » 10 years ago, # ^ |   0 That's not a stack trace. Stack trace should be in Details
•  » » » » » 10 years ago, # ^ |   0 Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(335,427),absolute(757,597),button=1,modifiers=Button1,clickCount=1] on dialog0 java.lang.NullPointerException at java.lang.String.replace(String.java:2180) at net.egork.chelper.util.CodeGenerationUtilities.createStub(CodeGenerationUtilities.java:251) at net.egork.chelper.util.FileUtilities.createTaskClass(FileUtilities.java:302) at net.egork.chelper.util.FileUtilities.createIfNeeded(FileUtilities.java:341) at net.egork.chelper.ui.ParseDialog$1.onOk(ParseDialog.java:64) at net.egork.chelper.ui.OkCancelPanel$1.actionPerformed(OkCancelPanel.java:16) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:696) at java.awt.EventQueue$4.run(EventQueue.java:694) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:693) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:673) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:155) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1077) at java.awt.Component.show(Component.java:1651) at java.awt.Component.setVisible(Component.java:1603) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1003) at net.egork.chelper.ui.ParseDialog.(ParseDialog.java:215) at net.egork.chelper.ui.ParseDialog.parseContest(ParseDialog.java:260) at net.egork.chelper.actions.ParseContestAction.actionPerformed(ParseContestAction.java:23) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:723) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:682) at java.awt.EventQueue$3.run(EventQueue.java:680) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:696) at java.awt.EventQueue$4.run(EventQueue.java:694) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:693) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:673) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:244) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:163) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:147) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:139) at java.awt.EventDispatchThread.run(EventDispatchThread.java:97) •  » » » » » » 10 years ago, # ^ | 0 Do you have "MainClass.template" in project root? •  » » » » » » » 10 years ago, # ^ | 0 No, I don't have this class •  » » » » » » » » 10 years ago, # ^ | 0 That's not a class, rather a file. Very strange, I will add workaround •  » » » » » » » » 10 years ago, # ^ | +1 New version is available which deals with aparent inability to save template files to project root •  » » » » » » » » » 10 years ago, # ^ | 0 Thanks you!! •  » » » » » » » » » 10 years ago, # ^ | 0 This problem still happen. I try to install in my friend's PC but this not work. Help me please! •  » » » » » » » » » 10 years ago, # ^ | 0 The very same error? •  » » » » » » » » » 10 years ago, # ^ | 0 Yes! •  » » » » » » » » » 10 years ago, # ^ | 0 And you tried to install version from repository? •  » » » » » » » » » 10 years ago, # ^ | 0 Yes! I have changed to IntelliJ 11 but this still happen :( •  » » » » » » » » » 10 years ago, # ^ | 0 Can you zip entire project and send it to egor at egork dot netI really do not see how it can happen based on code •  » » » » » » » » » 10 years ago, # ^ | 0 Ok! Thanks you!  » 10 years ago, # | 0 thanks for the great plugin.However,i am experiencing the following trouble:i use src/JavaUtils as utilities package for tasks.I use class InReader for input which is defined inside this.in project settings i've put JavaUtils.InReader as Input Class.However,when i run some task it shows up ClassNotFoundException: "C:\Program Files\Java\jdk1.7.0_05\bin\java" -Xmx256m -Xss64m -Didea.launcher.port=7532 "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 11.1.4\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.7.0_05\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\jce.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\resources.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\rt.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.7.0_05\jre\lib\ext\zipfs.jar;D:\algorithms\out\production\algorithms;C:\Users\ankit\.IdeaIC11\config\plugins\chelper\lib\chelper.jar;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 11.1.4\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain net.egork.chelper.tester.NewTester algo/src/tasker/JEDNAKOS.task Exception in thread "main" java.lang.ClassNotFoundException: javaUtils.InReader at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at net.egork.chelper.tester.NewTester.test(NewTester.java:50) at net.egork.chelper.tester.NewTester.main(NewTester.java:22) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) yet,the file Main.java is correctly inlined.Also,when i open IntelliJ Idea, persistent IllegalArgumentException get thrown: 7:33:08 PM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaPsiFacadeImpl.findClass must not be null: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaPsiFacadeImpl.findClass must not be null please Help..
•  » » 10 years ago, # ^ |   0 Please zip whole project and send to egor at egork dot net
 » 10 years ago, # |   0 Hi Egor, thanks for the nice plugin. In TopCoder, when I open a problem, it gives this message in TC coding panel "Probably socked was not opened, trying file method." It works OK in IntelliJ, but whenever I reopen the same problem, it deletes my current solution and it writes a blank code template source (as though I open the problem for the first time). What could be wrong in this situation?
•  » » 10 years ago, # ^ |   0 Seems like for whatever reason socket could not be opened, hence file method is used. This bug in file method is known and I will fix it when I'll have time
 » 10 years ago, # |   0 Smart testing doesn't seem work in my computer.
•  » » 10 years ago, # ^ |   +4 Can you run task with failed test and paste here content of CHelperReport.txt (should be in project root)?
•  » » » 10 years ago, # ^ |   +1 I can't find CHelperReport.txt in project root
•  » » » » 10 years ago, # ^ | ← Rev. 2 →   +1 Are you sure you updated to 3.4? There was intermidiate release 3.33
•  » » » » » 10 years ago, # ^ |   0 The settings window say the version is 3.4, and in "Project Settings" there is a checkbox with label "Use smart testing".
•  » » » » » » 10 years ago, # ^ |   +1 Are CHelper library in project settings pointing to correct place?
•  » » » » » » » 10 years ago, # ^ |   0 Problem solved. The project is using an old version of chelper.jar that I use in idea 11.
 » 10 years ago, # | ← Rev. 2 →   0 Firstly thanks again for this beautiful plugin. I dont know if it is possible, but it would be nicer if the parse contest button creates a separate directory of that contest within the src. It is sometimes difficult to search for tasks specially in codechef contests. I hope I made my thoughts clear.
•  » » 10 years ago, # ^ |   0 Do you ever archive tasks from previous contests? Default directory should usually contain files from current contest(s). Also you can specify location on parse contest dialog I believe
•  » » » 10 years ago, # ^ |   0 Never saw that we could set location in the parse contest too..
 » 10 years ago, # |   0 Suddenly topcoder launch button stopped working for me, is there anyway I can debug?
•  » » 10 years ago, # ^ |   0 Can this be because of some missing file (may be accidentally deleted), or something like that? Everything else seems to be working. Only if I click topcoder icon, nothing happens.
•  » » » 10 years ago, # ^ |   0 That's rather strange. Is there any exceptions in the log?
•  » » » » 10 years ago, # ^ |   0 There is nothing in Event Log. Is there any other log file?
•  » » » » » 10 years ago, # ^ |   0 No. That is very strange as that action cannot fail siletnly — it is either failed with exception of show some message. Are you sure you are trying to run it from appropriate project (i. e. one with chelper.properties)?
•  » » » » » » 10 years ago, # ^ |   0 Yes, I've done last few SRMs from this project. Do you want me to send any screen shot?
•  » » » » » » » 10 years ago, # ^ |   0 I do not see how scrrenshot could possibly help. Please zip project and send it to egor at egork don net, I'll try to reproduce your problem
•  » » » » » » » » 10 years ago, # ^ |   0 Sent. Thanks.
•  » » » » » » » 10 years ago, # ^ |   0 It works for me, so seems like something in your environment. Could you try to close idea (make sure through task manager), then open only that project and try again?
•  » » » » » » » » 10 years ago, # ^ |   0 I did try closing and opening it again. Even tried restarting my laptop.May be the last thing I can do is reinstalling IntelliJ, or if you have any other suggestion?
•  » » » » » » » » » 10 years ago, # ^ |   0 Try to search ContestAppletProd.jnlp and ContestApplet.jar on your computer and deleting all copies of it. I'm not sure whether that can help, but I have no other ideas.Otherwise I'll try to craft debug version for you
•  » » » » » » » » » 10 years ago, # ^ |   0 Nothing seems to be working here. Tried deleting exising ContestAppletProd.jnlp, etc.May be debug version will be helpful, if you can.
•  » » » » » » » » » 9 years ago, # ^ |   0 Hi, same problem started again. Launch arena is failing silently.But from outside of intelliJ I can start arena. I don't know exactly how to fix it. If you think a debug version may help, I can try using it.
•  » » » » » » » » » 9 years ago, # ^ |   0 Thanks Egor for your continuous support. I was trying hard to fix this issue. I I've just compiled part of your code locally and found that the error messages were like this -Java Web Start splash screen process exiting ..... Bad installation. No JRE found in configuration fileAfter searching this issue — I found the solution here — http://www.racoonlab.com/2013/01/java-web-service-doesnt-start-bad-installation-no-jre-found-in-configuration-file/Now the problem is resolved, There is nothing wrong here with your plugin. Problem is with Apple update.Thanks again.
 » 10 years ago, # | ← Rev. 3 →   0 On the latest version (3.44) I see lovely message "Probably socket was not created, trying file method." when I try to open Topcoder problem again. It was not the case with all the previous versions except for 3.13. Fortunately I saved a copy of the previous one:)
•  » » 10 years ago, # ^ |   0 Yeah, me too. But at least it works! :)
•  » » » 10 years ago, # ^ | ← Rev. 8 →   0 For me it doesn't work for topcoder, the task is created (with some delay), but when I compile the code in IDEA, it is not updated in TC arena (it says the code is blank).It seems the problem only occurs in Linux.UPD: I noticed that on lines 36-37 here the output to created socket is not flushed. Can it cause any problems like this?By the way, can I check out the latest version of the source code of the plugin somewhere?(It seems the latest commit to online repository was in November,23)
•  » » 9 years ago, # ^ |   0 Could you please share it, while it isn't fixed?
•  » » » 9 years ago, # ^ |   0 Yes, an earlier version is here http://zalil.ru/34259794. (Actually it is older then the previous one, but it works in Ubuntu).P.S. Just noticed that the repository has different branches, so the latest source code is available. I think we can try to rebuild it locally and look at stack trace of thrown IOException. Unfortunately I don't have time for it right now:(
 » 10 years ago, # | ← Rev. 4 →   0 IDEA Ultimate 12.0.3, Chelper 3.44 После свежей установки на старом проектеЭкзепшны в правке.OS UbuntuПока писал подумал: судя по всему Chelper перестал добавляться в ext.libraries и его классов не видать, может быть все поэтому?(пробовал заходить в настрйоки и менять их)UPD: Да, дело было в том, что путь либы был прописан неверный. После удаления и захода в настрйоки прописалось нормально обратно и стали запускаться новосозданные таски. Удаление работает, но бросает экзепшн. Но при этом старые файлы не архивируются и не запускаютсяUPD2: помогла разархивация старых файлов
•  » » 10 years ago, # ^ |   0 Я посмотрю. Добавь пока библиотеку ручками что ли
•  » » » 10 years ago, # ^ |   0 Ага, он добавил ее, после того, как я удалил старую.
 » 9 years ago, # |   0 Im trying to configure the plugin on IntelliJ IDEA 12 Community Edition and I can't get it to work. I installed the plugin through the repository, but I'm not quite sure what to do now. When I try to parse a contest, I get the following message from IntelliJ IDEA:Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(338,425),absolute(758,596),button=1,modifiers=Button1,clickCount=1] on dialog2 java.lang.NullPointerException at java.lang.String.replace(String.java:2180) at net.egork.chelper.util.CodeGenerationUtilities.createStub(CodeGenerationUtilities.java:249) at net.egork.chelper.util.FileUtilities.createTaskClass(FileUtilities.java:301) at net.egork.chelper.util.FileUtilities.createIfNeeded(FileUtilities.java:346) at net.egork.chelper.ui.ParseDialog$1.onOk(ParseDialog.java:64) at net.egork.chelper.ui.OkCancelPanel$1.actionPerformed(OkCancelPanel.java:16) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) ...And thats it. What should I do? It will be great to post a tutorial of installing and configuring step by step and a list of features and how to use it. Thanks! •  » » 9 years ago, # ^ | 0 Did you went to settings and pressed OK even without changes? •  » » » 9 years ago, # ^ | 0 No. I went to the Settings, and change my author name, and then OK. •  » » 9 years ago, # ^ | 0 Very strange behavior. Do you have TaskClass.template in project root? •  » » » 9 years ago, # ^ | 0 No, I didnt have it. I got it now. It's working. Thanks! Keep up the good work!  » 9 years ago, # | 0 Hi, I followed the instructions but I cannot launch topcoder arena using CHelper plugin. If I click the topcoder arena button, it just does not do anything.Is there any other additional settings (such as path to the arena.jnlp file)?I'm using Intellij 12 ultimate, with CHelper v3.44, installed on intellij (not direct download).Thanks. •  » » 9 years ago, # ^ | 0 You clicked "Project settings" button and then ok? •  » » » 9 years ago, # ^ | 0 The "edit project settings" button in plugin? yes, it shows the small setting dialog •  » » » » 9 years ago, # ^ | 0 And there is chelper.properties file in project root? •  » » » » » 9 years ago, # ^ | ← Rev. 2 → 0 Yes, and the content is # #Tue Mar 26 23:10:55 KST 2013 smartTesting=true archiveDirectory=archive/unsorted defaultDirectory=src/main outputClass=java.io.PrintWriter excludePackages=java.,javax.,com.sun. outputDirectory=src author=@ugo libraryMigrated=true failOnIntegerOverflowForNewTasks=false inputClass=java.util.Scanner enableUnitTests=false testDirectory=lib/test  •  » » » » » 9 years ago, # ^ | ← Rev. 2 → 0 Never mind, the exception was my fault, but I still can't use the plugin.. •  » » » » » 9 years ago, # ^ | 0 OK, if I turn off internet connection and click the button, a popup dialog saying "Arena is not accessible, check Internet connection" appears.But if I turn on internet on my mac and click the button then nothing happens..  » 9 years ago, # | 0 Why don't you add page www.spoj.com to the Parse Contest button? I think this also one of the largest Online Judge page :D •  » » 9 years ago, # ^ | 0 Would you mind providing heuristic to extract test cases? :) They have about gazillion page formats •  » » » 9 years ago, # ^ | 0 Oh! I see :D  » 9 years ago, # | 0 Got this error while installing CHelper 3.41 on IDEA 12: Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(324,571),absolute(781,760),button=1,modifiers=Button1,clickCount=1] on dialog3 java.lang.NullPointerException at java.lang.String.replace(String.java:2207) at net.egork.chelper.util.CodeGenerationUtilities.createStub(CodeGenerationUtilities.java:249) at net.egork.chelper.util.FileUtilities.createTaskClass(FileUtilities.java:301) at net.egork.chelper.util.FileUtilities.createIfNeeded(FileUtilities.java:346) at net.egork.chelper.ui.ParseDialog$1.onOk(ParseDialog.java:64) at net.egork.chelper.ui.OkCancelPanel$1.actionPerformed(OkCancelPanel.java:16) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6382) at javax.swing.JComponent.processMouseEvent(JComponent.java:3275) at java.awt.Component.processEvent(Component.java:6147) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Window.dispatchEventImpl(Window.java:2489) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:669) at java.awt.EventQueue$2.run(EventQueue.java:667) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$3.run(EventQueue.java:683) at java.awt.EventQueue$3.run(EventQueue.java:681) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:680) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205) at java.awt.Dialog$1.run(Dialog.java:1049) at java.awt.Dialog$3.run(Dialog.java:1101) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Dialog.show(Dialog.java:1099) at java.awt.Component.show(Component.java:1591) at java.awt.Component.setVisible(Component.java:1543) at java.awt.Window.setVisible(Window.java:843) at java.awt.Dialog.setVisible(Dialog.java:984) at net.egork.chelper.ui.ParseDialog.(ParseDialog.java:215) at net.egork.chelper.ui.ParseDialog.parseContest(ParseDialog.java:260) at net.egork.chelper.actions.ParseContestAction.actionPerformed(ParseContestAction.java:23) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:151) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310) at java.awt.Component.processEvent(Component.java:6147) at java.awt.Container.processEvent(Container.java:2083) at java.awt.Component.dispatchEventImpl(Component.java:4744) at java.awt.Container.dispatchEventImpl(Container.java:2141) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4280) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210) at java.awt.Container.dispatchEventImpl(Container.java:2127) at java.awt.Window.dispatchEventImpl(Window.java:2489) at java.awt.Component.dispatchEvent(Component.java:4572) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:710) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:669) at java.awt.EventQueue$2.run(EventQueue.java:667) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98) at java.awt.EventQueue$3.run(EventQueue.java:683) at java.awt.EventQueue$3.run(EventQueue.java:681) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87) at java.awt.EventQueue.dispatchEvent(EventQueue.java:680) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:700) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:521) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:348) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) 
•  » » 9 years ago, # ^ |   0 OS?
•  » » » 9 years ago, # ^ |   0 Mac OS X 10.8.3
•  » » » » 9 years ago, # ^ |   0 Also current version is 3.45, can you try that?
•  » » » » » 9 years ago, # ^ |   0 Thanks. Works like a charm! :)
 » 9 years ago, # | ← Rev. 2 →   0 The latest version(3.5) finally works in ubuntu! (all the previous versions starting from 3.2 didn't work for me (an error "socket was not opened" appeared in Topcoder arena). Thank you so much for the latest changes!
 » 9 years ago, # |   0 I was wondering what happens when a problem accepts many different solutions. If my program generates a correct output, but it isn't in the example test cases, it is treated as a incorrect answer?
•  » » 9 years ago, # ^ |   0 You have two options in this case — write your own checker or unmark "know answer" in all tests
•  » » » 9 years ago, # ^ |   0 Thanks!
 » 9 years ago, # |   0 I am getting this error. I updated to Chelper-3.52 on Intellij Idea-12.0.4 on Ubuntu 12.04. I cannot use "Parse Contest" or "New Task" feature now while "Topcoder" feature works great. This error just cropped up after I updated the plugin. Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(678,33),absolute(727,57),button=1,modifiers=Button1,clickCount=1] on frame0: Width (0) and height (0) cannot be <= 0 java.lang.IllegalArgumentException: Width (0) and height (0) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016) at java.awt.image.BufferedImage.(BufferedImage.java:340) at net.egork.chelper.util.Utilities.iconToImage(Utilities.java:180) at net.egork.chelper.ui.ParseDialog.(ParseDialog.java:49) at net.egork.chelper.ui.ParseDialog.parseContest(ParseDialog.java:261) at net.egork.chelper.actions.ParseContestAction.actionPerformed(ParseContestAction.java:23) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:169) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:132) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:310) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:673) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:494) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:333) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) 
 » 9 years ago, # |   0 problem in chelper 3.52: 1.I can not parse timus problem; 2.how can i run topcoder tasks when i restore themthanks!
•  » » 9 years ago, # ^ |   0 Will be fixed in next build (they slightly changed format) What problem exactly do you have? It works correctly for me
•  » » » 9 years ago, # ^ |   0 I move stored tasks to different folder(not the default one), e.g. SRM 584 TopFox problem, when i restore and compile it, a exception named "src.lpeter.To class not found"(not TopFox but To) raised. P.S. I look into the out directory, the compiled TopFox.class is there.
 » 9 years ago, # |   0 While using recursive algorithms like dfs in java, many a times we can get StackOverflowError. Is it possible to add an option to the new Task dialog box, to automatically increase stack size by creating a new Thread.Also please fix timus.
 » 9 years ago, # |   0 Can you guide to use this Google Chrome's extension.
•  » » 9 years ago, # ^ | ← Rev. 3 →   0 You just need to install it from hereWhen you are on the page of Yandex.Contest (new interface) with problem, there would be white + sign in green circle on the right part of adress bar. You just need to click it and new task dialog will open in Idea (with all relevant date prefilled, including test cases)
•  » » » 9 years ago, # ^ |   +11 The link you provided says that I've got "шарфянка"
•  » » » » 9 years ago, # ^ |   0 Oops. Copied wrong link. I will add correct one to main post when I will be at PC
•  » » » » 9 years ago, # ^ |   +5 Your шарфянка should had been cured now :)
•  » » » » » 9 years ago, # ^ |   0 Yeah, I feel much better now) Thank you very much!
 » 9 years ago, # |   0 When I started Intellij IDEA today, I was prompted to update CHelper. After I updated it and restarted the IDE, an error occured. Plugin CHelper failed to initialize and will be disabled: net/egork/chelper/CHelperMain : Unsupported major.minor version 51.0 [Plugin: CHelper] Please restart Intellij IDEA. How can I fix this problem? After I updated the new version, the old version disappeared. Right now I can't even find my old version T_T
•  » » 9 years ago, # ^ |   0 What's your Idea version?
•  » » » 9 years ago, # ^ |   0 My IDEA version is 12.1.4
•  » » » » 9 years ago, # ^ |   0 And what Java version? It seems like you have Java 6
•  » » » » » 9 years ago, # ^ |   0 Currently I am using Java 6
•  » » » » » » 9 years ago, # ^ |   0 Well, I'll probably will make Java 6 compatible build, but you'd have to wait. Or switch to Java 7, it is pretty stable now
•  » » » » » » 9 years ago, # ^ |   0 3.65 should be Java 6 compatible
 » 9 years ago, # |   0 What other sites do you want to see added to Chrome Extension? Please note that Sphere or Uva is still unlikely due to no common format of sample test cases
 » 9 years ago, # |   0 You could add the possibility to parse contests from the Gym.
•  » » 9 years ago, # ^ |   0 Those gym contests that have web statements are parsable from Chrome extension (they are not parsable from Parse Contest as gym requires logging in)
 » 9 years ago, # |   0 A week ago I installed 64-bit Windows 8, 64-bit JDK, IntelliJ IDEA and CHelper on my computer. And my Launch TopCoder arena button didn't work. After pressing the button, it just didn't do anything, and there were no exception thrown.Today I reinstalled IDEA removing all the settings. IDEA has been installed to "Program Files (x86)/..." folder, since I had everything 64-bit, I thought that the problem was that IDEA was 32-bit version. After I installed it, I looked at "bin" folder in IDEA installed directory. There I found two files "idea.exe" and "idea64.exe". I executed "idea64.exe", and button worked, but when I use "idea.exe" it is still not working.
•  » » 9 years ago, # ^ |   0 Most probably it is because ProcessBuilder could not start 64-bit process from 32-bit application
 » 9 years ago, # |   0 Is it possible to add TopCoder to the "Parse Contest" list? I mean, to be able to select some SRM directly from the IDE and launch the Arena ready for it.btw, wonderful plugin.
•  » » 9 years ago, # ^ |   0 I'm not sure it is possible at all
•  » » » 9 years ago, # ^ |   0 Is it because it's difficult to parse or some other unrelated reason?
•  » » » » 9 years ago, # ^ |   0 I really do not see any reason to do it even if it would be possible
 » 9 years ago, # |   0 Was the Hackerrank support removed? I don't have an option for it.
•  » » 9 years ago, # ^ |   0 Hackerrank support is through Chrome extension
•  » » » 9 years ago, # ^ |   0 Thanks. I installed the extension but clicking the '+' sign brings up nothing in IntelliJ
•  » » » » 9 years ago, # ^ |   0 That's very strange. Is CHelper enabled project opened in Idea? What task had you tried?
•  » » » » » 9 years ago, # ^ | ← Rev. 2 →   0 I tried at least 2 tasks in each of the categories in the algorithms track. The extension works fine in codeforces though.Yes there is a c-helper enabled project opened
•  » » » » » » 9 years ago, # ^ |   0 Seems like they changed page format. I'll look into this
 » 9 years ago, # | ← Rev. 4 →   0 Thank you for this great plug-in again!1)Is it possible to run Facebook Hackercup/GCJ tasks in parallel threads? (Of course I'm going to handle all the synchronization on my own).2)If no, how can I change the template for the generated Main.java file?
•  » » 9 years ago, # ^ |   +3 You can start new thread from solve
•  » » » 9 years ago, # ^ |   0 Hm.. I'm not sure if my output would be in the right order then.
•  » » » » 9 years ago, # ^ |   0 Well, you have to take care of that for sure
 » 9 years ago, # |   0 Problems with restoring tasks in Idea 13 should be fixed now
•  » » 9 years ago, # ^ |   -8 Can you update your source code please? It lets me figure out why things aren't quite working the way I want them.
•  » » » 9 years ago, # ^ |   -8 See trunk branch
•  » » » » 9 years ago, # ^ |   -8 Didn't realize there was a difference between 'default' and 'trunk'. Figured it out, Thanks!
 » 8 years ago, # | ← Rev. 2 →   +2 In Intellij Idea 13.1 , I am getting error when try to run the program , it was working until I updated it to 13.1 from 13.IncorrectOperationException: Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessor: Must not change document outside command or undo-transparent action. See com.intellij.openapi.command.WriteCommandAction or com.intellij.openapi.command.CommandProcessorUPD:I installed Idea13 again , update to 13.1 when Egor have time to update Chelper
•  » » 8 years ago, # ^ |   +13 Should work now. Sorry for taking so much time, was busy lately
•  » » » 8 years ago, # ^ |   +8 Thanks and don't be sorry , you make our work easy ,everyone who are using chelper knows how much it is useful.You use your valuable time in helping us.
 » 8 years ago, # | ← Rev. 2 →   -8 By any chance, could this plugin work with Scala in Intellij Idea? Scala is JVM based and it's the same IDE.
 » 8 years ago, # |   0 Can we get java 8 support for CHelper? I facing this error:objc[17491]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. java.lang.IllegalArgumentException at org.objectweb.asm.ClassReader.(Unknown Source) at org.objectweb.asm.ClassReader.(Unknown Source) at ch.eiafr.cojac.ClassLoaderInstrumenter.instrument(ClassLoaderInstrumenter.java:43) at ch.eiafr.cojac.Agent.transform(Agent.java:47) at sun.instrument.TransformerManager.transform(TransformerManager.java:188) at sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:428) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:760) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:455) at java.net.URLClassLoader.access$100(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:367) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:259) at net.egork.chelper.tester.NewTester.test(NewTester.java:65) at net.egork.chelper.tester.NewTester.main(NewTester.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
•  » » 8 years ago, # ^ |   +5 That is Cojac error. Will investigate with new version
 » 8 years ago, # | ← Rev. 2 →   0 Hi Community I would like to use this plugin but I am having problems trying to understand how use it. I installed last version of IntelliJ IDEA and CHelper plugin. I am reading the Wiki but I am not clear how create a project that uses this plugin. Right click on main toolbar, select "Customize Menus and Toolbars...", select location where you want actions to be listed (probably end of "Main Toolbar" is good), click "Add After...", select "Plug-ins->CHelper" and add actions you are interested in (probably all but "Task"). I am new using this IDE and I don't know how add this action. I need your help. Thanks in advance.
 » 8 years ago, # |   0 can u also add the date of release for each update (atleast in future)? thanks!
•  » » 8 years ago, # ^ |   0 You can see it here
•  » » » 8 years ago, # ^ |   0 thanks for ur help. :)
 » 8 years ago, # |   0 Archiving doesn't work for me. It creates a folder "on2014_04" in src. Help?
 » 8 years ago, # | ← Rev. 2 →   0 Problem with sample tests parsing for "Google Code Jam".Input: 3\n3 2\n01 11 10\n11 00 10\n2 3\n101 111\n010 001\n2 2\n01 10\n10 01\n\n Output: Case #1: 1\nCase #2: NOT POSSIBLE\nCase #3: 0\n\nscreen-shots in editDoesn't reproduce on Codeforces, etcIDEA 13.1.2, Windows 8, jdk8
•  » » 8 years ago, # ^ |   +5 Should be fixed
•  » » » 8 years ago, # ^ |   0 Thanks, now it works.Also I want to assure that I correctly understand CHelper workflow for CodeJam. Is it the right way to run generated Main.java (but not TaskA) to obtain results for input files (such as a-small.in)? Because running TaskA does not include input from files, only tests from ALT-F5 window.
•  » » » » 8 years ago, # ^ |   0 Yes
•  » » » » » 8 years ago, # ^ |   0 One more question: what is checker and is it connected to stress-testing? (you wrote that checker support for TopCoder is needed)
•  » » » » » » 8 years ago, # ^ |   +5 Sometimes answer is not unique and there may be correct outputs that are differs from default. Then you need some program that given input, answer and output says whether output is also correct answer. TopCoder only recently started to give such kind of problems
 » 8 years ago, # | ← Rev. 2 →   0 I have NullPointer exception. OS: MacOS Idea 13.1 Chelper 3.9.
•  » » 8 years ago, # ^ |   0 Well, stack trace?
•  » » » 8 years ago, # ^ | ← Rev. 2 →   0 Oh, I forgot to say. It's in edit.ADD: Screenshot
•  » » » » 8 years ago, # ^ |   0 Ah, that infamous bug. I have no idea, really. It is not reproducable on Win as far as I know, so if someone with mac/linux and this bug will debug and fix this that would be fantastic
 » 8 years ago, # |   0 I'm trying to install CHelper plugin in IDEA 13.1.2 Community, but when I do right click on main toolbar, I don't see anything like "Customize Menus and Toolbars...". What is the updated instruction?
•  » » 8 years ago, # ^ |   -8 Because main toolbar is switched off by default. You need to enable it in View menu
 » 8 years ago, # |   -8 I know this is not an arena but I think I can add support for submission from within the IDE. Would you be open to pulling it into your project if I implemented it?
•  » » 8 years ago, # ^ |   -8 I'll look into it. I want for passwords to be secure, otherwise I do not mind
•  » » » 8 years ago, # ^ |   -8 I believe that IntelliJ provides us with an API to store passwords. Something along the lines of: http://grepcode.com/file/repository.grepcode.com/java/ext/com.jetbrains/intellij-idea/12.0/com/intellij/ide/passwordSafe/PasswordStorage.javaDoes that sound good?
•  » » » » 8 years ago, # ^ |   -8 Should be, I think
 » 8 years ago, # |   0 Glad to see Java8 support added. Was it hard to get cojac run under Java8?
•  » » 8 years ago, # ^ |   0 I had to fix it and rebuild from sources — ow2 java 8 compatible version made some changes in API
•  » » » 8 years ago, # ^ |   0 Hi Egor,I updated plugin(on idea suggestion) to Java8. I have also updated my Java version.Now i am getting exception while enabling plugin.log is like this :net/egork/chelper/AutoSwitcher : Unsupported major.minor version 52.0 [Plugin: CHelper]: net/egork/chelper/AutoSwitcher : Unsupported major.minor version 52.0 [Plugin: CHelper] com.intellij.diagnostic.PluginException: net/egork/chelper/AutoSwitcher : Unsupported major.minor version 52.0 [Plugin: CHelper] at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:108) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:447) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.a(ComponentManagerImpl.java:437) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentsRegistry.access$000(ComponentManagerImpl.java:421) at com.intellij.openapi.components.impl.ComponentManagerImpl.a(ComponentManagerImpl.java:102) at com.intellij.openapi.components.impl.ComponentManagerImpl.initComponents(ComponentManagerImpl.java:346) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:86) at com.intellij.openapi.project.impl.ProjectImpl.init(ProjectImpl.java:309) at com.intellij.openapi.project.impl.ProjectManagerImpl.a(ProjectManagerImpl.java:278) at com.intellij.openapi.project.impl.ProjectManagerImpl.access$300(ProjectManagerImpl.java:82) at com.intellij.openapi.project.impl.ProjectManagerImpl$9.compute(ProjectManagerImpl.java:558) at com.intellij.openapi.project.impl.ProjectManagerImpl$9.compute(ProjectManagerImpl.java:554) at com.intellij.openapi.progress.impl.ProgressManagerImpl$4.run(ProgressManagerImpl.java:269) at com.intellij.openapi.progress.impl.ProgressManagerImpl$TaskRunnable.run(ProgressManagerImpl.java:495) at com.intellij.openapi.progress.impl.ProgressManagerImpl$6.run(ProgressManagerImpl.java:304) at com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:185) at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:226) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:175) at com.intellij.openapi.application.impl.ApplicationImpl$10$1.run(ApplicationImpl.java:681) at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:454) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:152) Caused by: java.lang.UnsupportedClassVersionError: net/egork/chelper/AutoSwitcher : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:153) at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:149) at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:125) at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:102) ... 29 morecom.intellij.diagnostic.PluginException: net/egork/chelper/configurations/TaskConfigurationType : Unsupported major.minor version 52.0 [Plugin: CHelper] at com.intellij.ide.plugins.cl.PluginClassLoader.d(PluginClassLoader.java:108) at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:63) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:270) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.loadClass(ExtensionComponentAdapter.java:148) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentImplementation(ExtensionComponentAdapter.java:63) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getComponentInstance(ExtensionComponentAdapter.java:70) at com.intellij.openapi.extensions.impl.ExtensionComponentAdapter.getExtension(ExtensionComponentAdapter.java:111) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.processAdapters(ExtensionPointImpl.java:241) at com.intellij.openapi.extensions.impl.ExtensionPointImpl.getExtensions(ExtensionPointImpl.java:185) at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:111) at com.intellij.openapi.extensions.Extensions.getExtensions(Extensions.java:98) at com.intellij.execution.impl.RunManagerImpl.a(RunManagerImpl.java:111) at com.intellij.execution.impl.RunManagerImpl.(RunManagerImpl.java:86) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter$1.run(ConstructorInjectionComponentAdapter.java:220) at org.picocontainer.defaults.ThreadLocalCyclicDependencyGuard.observe(ThreadLocalCyclicDependencyGuard.java:53) at org.picocontainer.defaults.ConstructorInjectionComponentAdapter.getComponentInstance(ConstructorInjectionComponentAdapter.java:248) at org.picocontainer.defaults.DecoratingComponentAdapter.getComponentInstance(DecoratingComponentAdapter.java:60) at org.picocontainer.defaults.CachingComponentAdapter.getComponentInstance(CachingComponentAdapter.java:58) at com.intellij.openapi.components.impl.ComponentManagerImpl$ComponentConfigComponentAdapter$1.getComponentInstance(ComponentManagerImpl.java:572) atand some more ... could you please point out where is the problem ? •  » » » » 8 years ago, # ^ | 0 Most likely Idea still uses old version of Java to start. Seems like transition would not be that easy after all. I'll make a build using Java 6 shortly •  » » » » » 8 years ago, # ^ | 0 Thankyou.let me know for the same.so that i can try again. •  » » » » » » 8 years ago, # ^ | 0 3.92 built using Java 6. You can still use all features of Java 8 in your own project of course •  » » » » 8 years ago, # ^ | 0 Set IDEA_JDK or IDEA_JDK_64 environment variable to point to jdk8 folder.  » 8 years ago, # | 0 IDEA has a feature Run with coverage, that highlights the lines of code that were not executed. Currently it is not enabled with CHelper, so it is not possible to see collected test coverage. If only it can be simply implemented, it would be a useful feature.  » 8 years ago, # | 0 I am facing this error: 8:22:15 AM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaCodeFragmentFactoryImpl.createReferenceCodeFragment must not be null: Argument 0 for @NotNull parameter of com/intellij/psi/impl/JavaCodeFragmentFactoryImpl.createReferenceCodeFragment must not be nullAny fix for this? •  » » 8 years ago, # ^ | -8 Well, can you provide stack trace? •  » » » 8 years ago, # ^ | -8 This has all the information: https://www.dropbox.com/s/2rdf5x60uc7muxn/Screenshot%202014-06-04%2011.46.27.png •  » » » » 8 years ago, # ^ | -8 I would really appreciate this as plain text •  » » » » » 8 years ago, # ^ | -8 Argument 0 for @NotNull parameter of com/intellij/psi/impl/PsiManagerImpl.findFile must not be null: Argument 0 for @NotNull parameter of com/intellij/psi/impl/PsiManagerImpl.findFile must not be null java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/psi/impl/PsiManagerImpl.findFile must not be null at com.intellij.psi.impl.PsiManagerImpl.findFile(PsiManagerImpl.java) at net.egork.chelper.util.CodeGenerationUtilities$3.run(CodeGenerationUtilities.java:231) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984) at net.egork.chelper.util.CodeGenerationUtilities.createSourceFile(CodeGenerationUtilities.java:214) at net.egork.chelper.util.TaskUtilities.createSourceFile(TaskUtilities.java:13) at net.egork.chelper.configurations.TaskConfiguration.getState(TaskConfiguration.java:65) at com.intellij.execution.runners.ExecutionEnvironment.getState(ExecutionEnvironment.java:182) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:59) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:54) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:138) at com.intellij.execution.impl.ExecutionManagerImpl.start(ExecutionManagerImpl.java:394) at com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:61) at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:375) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238) at com.intellij.util.Alarm$Request$1.run(Alarm.java:327) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:715) at java.awt.EventQueue.access$400(EventQueue.java:82) at java.awt.EventQueue$2.run(EventQueue.java:676) at java.awt.EventQueue$2.run(EventQueue.java:674) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86) at java.awt.EventQueue.dispatchEvent(EventQueue.java:685) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) •  » » » » » » 8 years ago, # ^ | ← Rev. 5 → 0 I'm getting the very same error as SurenNihalani does. What should I do?I use IntelliJ IDEA 13EDIT: After more attempts I manage to go over the above error. However, now I receive this exception:Exception in thread "main" java.lang.NoSuchMethodError: net.egork.chelper.task.Task.loadTask(Lnet/egork/chelper/util/InputReader;)Lnet/egork/chelper/task/Task; at net.egork.chelper.tester.NewTester.test(NewTester.java:43) at net.egork.chelper.tester.NewTester.main(NewTester.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:134)How should I fix it?EDIT2: Nevermind, I restarted the IDE and it works perfect now.  » 8 years ago, # | -8 Hi Egor,I've been using this plugin for almost an year and would like to thank you for this awesome work. I've recently upgraded to IntelliJ IDEA 13.1 and installed this plugin from repository. But, it doesn't seem to work. I am using Windows.Here is the error message: Exception in thread "main" java.lang.ClassNotFoundException: net.egork.chelper.tester.NewTester at java.net.URLClassLoader$1.run(URLClassLoader.java:372) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:360) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:259) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:116) It would be really helpful if you can reply quickly :)
•  » » 8 years ago, # ^ |   -8 You need to delete CHelper library from the project and then press ok in edit project settings dialog. With the way idea now handles libraries from its own configuration this hack would not be needed for future versions
•  » » » 8 years ago, # ^ |   -8 Thanks for your reply.I realized that CHelper.xml under libraries in .idea was using old path of .IdeaIC12.When I modified it to .IdeaIC13, everything started to work again. :)
•  » » » » 8 years ago, # ^ |   -8 Still if you would do as I suggested you would not need to do this once again when Idea 14 will come out
 » 8 years ago, # | ← Rev. 2 →   -8 I use import static java.util.Arrays.*; int[] is; sort(is); However, CHelper does NOT insert import static java.util.Arrays.*; into my submission. Anybody like me?
•  » » 8 years ago, # ^ |   -8 That's because static imports are not supported ATM
•  » » » 8 years ago, # ^ |   -8 Thanks for your quick reply. In my environment, CHelper just push all the methods into my submission. I think it will do not push unused methods if it work correctly.My environment is Win 8.1 x64, IDEA 13.1.3, CHelper 3.92. Java 7 and 8 are both in my computer, I don't know if this is the reason.
•  » » » » 8 years ago, # ^ |   0 That's rather strange. Can you please send archive with your project to egor at egork dot net?
•  » » » » » 8 years ago, # ^ | ← Rev. 2 →   -8 I don't know how to sent file to egork dot net, but you can download file from here(outdated!). It's all my project files.
•  » » » » 8 years ago, # ^ |   0 Also, is there anything in the event log?
•  » » » » » 8 years ago, # ^ |   -8 Event log just only one sentence: "2:03:11 AM Compilation completed successfully in 4 sec".
•  » » » » » 8 years ago, # ^ |   -8 It work correctly after I set "Output directory" to be "src". Install, uninstall, install, uninstall, ... now, it work, and I am crying... T TAnyway, thank you!
•  » » » 8 years ago, # ^ |   0 I uninstall Java 7, and then only Java 8 in my computer, and CHelper work same with before. Please help me...
 » 8 years ago, # |   0 Hi, Egor:)I wonder know, could you share your Algorithm Library with us? Or it has already been shared, could you tell me how to get it?Sorry, it seems I am rash...
•  » » 8 years ago, # ^ |   +11
 » 8 years ago, # |   0 I am sad. An exception occurred when Codeforces. My environment: Win 8.1, IDEA 13.1.3, CHelper 3.92 Please help... Here is the log: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java) at net.egork.chelper.util.FileUtilities.synchronizeFile(FileUtilities.java:189) at net.egork.chelper.util.CodeGenerationUtilities$3.run(CodeGenerationUtilities.java:251) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984) at net.egork.chelper.util.CodeGenerationUtilities.createSourceFile(CodeGenerationUtilities.java:214) at net.egork.chelper.util.TaskUtilities.createSourceFile(TaskUtilities.java:13) at net.egork.chelper.configurations.TaskConfiguration.getState(TaskConfiguration.java:65) at com.intellij.execution.runners.ExecutionEnvironment.getState(ExecutionEnvironment.java:182) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:59) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:54) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:138) at com.intellij.execution.impl.ExecutionManagerImpl.a(ExecutionManagerImpl.java:394) at com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:61) at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:375) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238) at com.intellij.util.Alarm$Request$1.run(Alarm.java:327) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:703) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) 
 » 8 years ago, # |   0 When I click topcoder icon, nothing happens. Where should I look for logs? Windows 8.1, latest IDEA and chelper.
•  » » 8 years ago, # ^ |   +8 Do you have 64-bit system and using a 32-bit idea? I had a problem like that before, solved by using 64-bit idea (there are 2 different exe files in idea directory). Same problem and same solution here.
•  » » » 8 years ago, # ^ |   +6 That was exactly it, thank you! For posterity: I also had to set environment variables JAVA_HOME and JDK_HOME to JDK path; otherwise 64-bit IDEA couldn't find the (64 bit) JDK.
•  » » 8 years ago, # ^ |   +3 It may be because of the reason mentioned above. Also you need CHelper enabled project to be opened.
 » 8 years ago, # |   0 A new bug comes. package main; import com.shu_mj.tpl.Scanner; import java.io.PrintWriter; public class Task { public void solve(int testNumber, Scanner in, PrintWriter out) { V v = new V(); } class V { int a = 1, b = 1; } } CHelper can't handle the code above. class V will be: class Task { public void solve(int testNumber, Scanner in, PrintWriter out) { V v = new V(); } class V { , } } It will get compile error. Am I wrong? Or please fix it.
•  » » 8 years ago, # ^ |   0 package main; import com.shu_mj.tpl.Scanner; import java.io.PrintWriter; public class Task { int a, b; public void solve(int testNumber, Scanner in, PrintWriter out) { } } This will get the same result...
•  » » 8 years ago, # ^ |   +3 commas in filed declarations are badly supported and it's known. Use int a; int b;
•  » » » 8 years ago, # ^ |   0 I would also add that this is bad style as well
 » 8 years ago, # | ← Rev. 2 →   0 Please help, please...After I finished problem A, I clicked Archive Task. And then I completed problem B's code. After I pressed Shift + F10, an error occurred. T^THere is the error information: 11:42:07 PM Compilation completed successfully in 5 sec 11:42:53 PM Compilation completed successfully in 4 sec 11:43:46 PM CHelper: Configuration 'A - Feed with Candy' successfully archived 12:00:39 AM IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null  Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null java.lang.IllegalArgumentException: Argument 0 for @NotNull parameter of com/intellij/openapi/fileEditor/impl/FileDocumentManagerImpl.getDocument must not be null at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.getDocument(FileDocumentManagerImpl.java) at net.egork.chelper.util.FileUtilities.synchronizeFile(FileUtilities.java:189) at net.egork.chelper.util.CodeGenerationUtilities$3.run(CodeGenerationUtilities.java:251) at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:984) at net.egork.chelper.util.CodeGenerationUtilities.createSourceFile(CodeGenerationUtilities.java:214) at net.egork.chelper.util.TaskUtilities.createSourceFile(TaskUtilities.java:13) at net.egork.chelper.configurations.TaskConfiguration.getState(TaskConfiguration.java:65) at com.intellij.execution.runners.ExecutionEnvironment.getState(ExecutionEnvironment.java:182) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:59) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.runners.BaseProgramRunner.execute(BaseProgramRunner.java:54) at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:32) at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:138) at com.intellij.execution.impl.ExecutionManagerImpl.a(ExecutionManagerImpl.java:394) at com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:61) at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:375) at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238) at com.intellij.util.Alarm$Request$1.run(Alarm.java:327) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:319) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:744) at java.awt.EventQueue.access$400(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:697) at java.awt.EventQueue$3.run(EventQueue.java:691) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) at java.awt.EventQueue.dispatchEvent(EventQueue.java:714) at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 
•  » » 8 years ago, # ^ |   +5 Sorry, I can't reproduce. I'll look into it later
•  » » » 8 years ago, # ^ |   0 Thanks and don't be sorry. My rating +259 yesterday :).All my project's files are here(I'll remove it after the problem have been solved). I have deleted yesterday's Codeforces tasks. And it still can't work. :(Thanks again!
•  » » » 8 years ago, # ^ |   0 The error occurred again. I found that, after the error occurred, the file Main.java under src folder can't read, can't write and can't delete, even through I'm admin account.Maybe this is the reason. But I don't what cause this.I am looking forward for your reply. Thanks advance.
•  » » » 8 years ago, # ^ |   0 Now I know the reason. This is because I submit my Main.java file with IE(11).Everything goes well with Chrome.Chelper is great. Really thanks for your work. :D
 » 8 years ago, # |   0 I am getting Null pointer Exception error in IntellijHere is a stack trace: please solve my problem!null java.lang.NullPointerException at java.lang.String.replace(String.java:2180) at net.egork.chelper.util.CodeGenerationUtilities.createStub(CodeGenerationUtilities.java:278) at net.egork.chelper.util.FileUtilities.createTaskClass(FileUtilities.java:302) at net.egork.chelper.util.FileUtilities.createIfNeeded(FileUtilities.java:346) at net.egork.chelper.ui.ParseDialog$1.onOk(ParseDialog.java:69) at net.egork.chelper.ui.OkCancelPanel$1.actionPerformed(OkCancelPanel.java:16) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3320) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:154) at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:182) at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:221) at java.security.AccessController.doPrivileged(Native Method) at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:219) at java.awt.Dialog.show(Dialog.java:1082) at java.awt.Component.show(Component.java:1651) at java.awt.Component.setVisible(Component.java:1603) at java.awt.Window.setVisible(Window.java:1014) at java.awt.Dialog.setVisible(Dialog.java:1005) at net.egork.chelper.ui.ParseDialog.(ParseDialog.java:221) at net.egork.chelper.ui.ParseDialog.parseContest(ParseDialog.java:266) at net.egork.chelper.actions.ParseContestAction.actionPerformed(ParseContestAction.java:23) at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:164) at com.intellij.openapi.actionSystem.impl.ActionButton.actionPerformed(ActionButton.java:170) at com.intellij.openapi.actionSystem.impl.ActionButton.performAction(ActionButton.java:133) at com.intellij.openapi.actionSystem.impl.ActionButton.processMouseEvent(ActionButton.java:313) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:697) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:520) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)  » 8 years ago, # | ← Rev. 2 → +1 Hello, first of all your plugin is great, I started using Intellij Idea just to try it and never stopped using it since, Idea + Chelper = great combination. That said it seems like Chelper does not generate the files when the return type is char on Topcoder, this happened with Srm 627 Div 2 500 problem. •  » » 8 years ago, # ^ | ← Rev. 2 → 0 i'm not sure, but there was a message from admins that it's bug of topcoder •  » » 8 years ago, # ^ | 0 Well, char return type were not supported by arena when I implemented TopCoder support. I'll add this shortly  » 8 years ago, # | -8 Is there any chance of adding UVA support in the near future? It would be absolutely amazing. Thanks for this great tool. •  » » 8 years ago, # ^ | -8 Uva do not have standart web page for problems. Hence I need some kind of heuristic. Probably good idea for a marathon match  » 8 years ago, # | 0 I think you need to update the parser for Codechef, it seems they changed their format a little.  » 8 years ago, # | 0 When parsing problems in codechef the name of the class gets ridiculously wrong (adding stuff other than the problem's title). I noticed this while parsing MLCHEF from September 2013 Long Challenge.  » 8 years ago, # | 0 Just curious, how much money have you got in donations till date? •  » » 8 years ago, # ^ | +16$20. At least 10 of them from someone, who write in C++ (namely, Mike)
•  » » » 8 years ago, # ^ |   0 Oh nice! Btw, Thanks for the 3.94 update. CodeChef parser is working now!
 » 8 years ago, # |   0 Does anybody know how to properly increase the heap or stack space, as I currently get the following test result: RunTime Error (StackOverflowError) even on code that codeforces accepts. I have done two things, neither of which have helped, which is increasing the Build process heap size to 8000mb and also adding an ant build file to the project with settings of a maximum heap size of 4086Mb and a maximum stack size of 4096Mb. However this problem persists. If anybody has had experience with this could they chime in? Thank you!
•  » » 8 years ago, # ^ |   0 Ok so finally figured out solution. Hope this helps somebody in future. In the Edit Task popup one must click on advanced and go to the VM arguments box. It is not enough to simply put say -Xmx8096M as I was doing. Instead one must also specify the minimum (I think?), with -Xss1024M -Xmx8096M as arguments. In either case this fixed my problem, which was that my dp solution to Div 1A this round was running out of stack space.
 » 8 years ago, # |   0 It'd be cool to parse contest in (private) groups using Chrome extensionURL типа такого: http://codeforces.TLD/group/GROUPID/contest/CONTESTID/problem/A
 » 7 years ago, # |   +3 Is it possible that this can be used to support Scala?
•  » » 7 years ago, # ^ |   0 I think it is, though you'd need to rewrite code generating stuff
 » 7 years ago, # | ← Rev. 3 →   0 I just installed CHelper 3.94 and tried to do problem A from Codeforces Round 291 (Div.2). After writing code and hitting Run button, this is what I get. Please help me out.As far as I can see, the name of '.task' file is 'A — Chewbacca and Number.task' whereas the '.java' file for the same problem is 'TaskA.java'.How to solve this issue? Stacktrace follows:Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: src\myPackage\A — Chewba?ca and Number.task (The filename, directory name, or volume label syntax is incorrect) at net.egork.chelper.tester.NewTester.test(NewTester.java:41) at net.egork.chelper.tester.NewTester.main(NewTester.java:23) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120) Caused by: java.io.FileNotFoundException: src\myPackage\A — Chewba?ca and Number.task (The filename, directory name, or volume label syntax is incorrect) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:146) at java.io.FileInputStream.(FileInputStream.java:101) at net.egork.chelper.tester.NewTester.test(NewTester.java:39)
•  » » 7 years ago, # ^ |   0 Сare to zip your project and send it to egor@egork.net?
•  » » » 7 years ago, # ^ |   0 Just sent it.
•  » » » 7 years ago, # ^ |   0 One of the other issues I am facing is that when I try to create a 'New Task' with 'Number of test cases known' or 'Number of test cases unknown', I cannot run the code.
 » 7 years ago, # |   0 So just wanted to add comment for anybody who struggled with this same problem as me, which was that CHelper would take up to 20 seconds to compile and run the task. This issue was solved by marking the archive as excluded, which is done by going to File -> Project Structure -> Modules -> Selecting your archive -> then clicking the excluded button. Otherwise it seems that intellij compiles the entire archive, which if you have been doing codeforces for a while is quite large. This may be obvious to everybody else but for whatever reason I never thought of this, and was racking my brains wondering why my intellij was so slow when on Petr and Egor screencasts it took <5 secs. Well now mine too takes <5 secs and I am much happier. Anyway hope this helps somebody at some point.
 » 7 years ago, # |   0 When I click 'parse task' button on a hackerrank problem's web page, what's supposed to happen?
•  » » 7 years ago, # ^ | ← Rev. 2 →   0 Well, task is supposed to be created, but probably parser is broken (e.g because format on Hackerrank changed), it doesn't work for me too.I'm not sure I am using the last version, through
 » 7 years ago, # | ← Rev. 2 →   0 Hi, EgorPlease fix hackerrank parser. Working code is in previous revision
 » 7 years ago, # |   -8 Hi Egor,Thanks for continually making this plugin so amazing! I recently tried to re install everything from scratch, i.e. IntelliJ 14 + topcoder plugins (moj+cp+fileeditor) + chelper. I am not sure which is the latest installation manual (probably https://code.google.com/p/idea-chelper/wiki/MainPage). I installed the plugin from intellij plugins and launched arena from it. I also configured the moj plugin in the arena. When i open a problem, it doesn't create a task in the editor. The code area in the arena stays blank. The intellij shows an error message — "Could not create serverSocket for Chrome parser probably another chelper project running?". maybe i did not configure the arena correctly. I have a CHelper editor with path to the plugin jar. Can you suggest me what to do here? Thanks!
•  » » 7 years ago, # ^ |   -8 You do not need any other pluging to use with topcoder arena. If removing them would not help try closing all idea instances and open your project. If that still would not help make sure you run arena through button from idea each time
•  » » » 7 years ago, # ^ |   -8 Thanks for the quick reply! I removed the moj plugin from the arena and restarted everything. still getting the same error. I made a short (1min) screencast of it for your convenience. https://www.youtube.com/watch?v=21JkXtuELsU I have highlighted the arena editor setting, intellij error, chelper configuration and problem statement page state.
•  » » » » 7 years ago, # ^ |   -8 I'll look tommorow
 » 6 years ago, # |   0 I am unable to get the Topcoder task created. Java console shows InputMismatchException. Stack trace: Caused by: java.util.InputMismatchException: at net.egork.chelper.util.InputReader.readInt(InputReader.java:65) at net.egork.chelper.util.InputReader.readString(InputReader.java:95) at net.egork.chelper.topcoder.CHelperArenaPlugin.setProblemComponent(CHelperArenaPlugin.java:105) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)I added debug info to the exception and saw, "Cannot convert '-128' into int".
•  » » 6 years ago, # ^ |   0 Which task?
•  » » » 6 years ago, # ^ |   0 TCO 2016 1B 250. But it also happened with few others i tried.
 » 5 years ago, # |   +3 Could you please tell how can I add a task using the chrome extension..I just click on the green plus sign in the extensions tab and nothing happens..It would be great, If you could tell me how to use the add task extension in the browser..?
•  » » 5 years ago, # ^ | ← Rev. 2 →   0
 » 5 years ago, # |   +3 Can you please make a video for the installation or help me make one so that it would be a great help for a larger audience ? I have problems in codechef parsing in the latest versions also. It would be great if a channel could be maintained for it.
•  » » 5 years ago, # ^ | ← Rev. 2 →   0 Visit this link to get the complete tutorial for the installation and use of CHelper
 » 5 years ago, # |   0 Hi!Can someone tell me how to use a TestProvider?
•  » » 5 years ago, # ^ |   0 Never mind, just noticed how to do it. Had to click on the button with the task name, then click "Edit configurations..." and add a test class there.
 » 5 years ago, # |   -6 Hi ! Google Chrome Extension not work for me! nothing happen when i click on it!