On some of the task through the IntelliJ plugin, especially when they call for user input, I'm getting a lot of timeout errors even though the code compiles fine in the IDE. There are a few tasks that I can't even verify because of this issue.
Anyone else experiencing this? Any ideas or solutions? Not a huge deal but.. I need dat dark matter.
IntelliJ Timeout issues
Resolved
Comments (4)
- Popular
- New
- Old
You must be signed in to leave a comment
AnnemiekFF
22 April 2020, 14:40
You will probably have an infinite loop somewhere in the code when that happens. Hard to say without looking at the code itself.
0
Cam
22 April 2020, 23:18
Hey bud! Thanks for the reply! Hmm.. doesn't look to be the case at first glance. But here's my code from task 09_28. Just an older one I could never get to verify.
The code won't compile…
Task: The program reads in two file names. It copies the first file to the location specified by the second file name.
Requirements:
1. The program must read file names.
2. Don't change the getInputStream method.
3. Don't change the getOutputStream method.
4. The program must copy the contents of the first file to the second one.
5. The program should display the number of copied bytes.
6. The main method should call the getInputStream method.
7. The main method should call the getOutputStream method.
0
AnnemiekFF
23 April 2020, 10:05
There's a ; behind your while and before your { that should not be there. Makes the loop infinite.
+2
Cam
24 April 2020, 05:12
Oh snapp!.. Thanks my man. Its always the little things eh?
0