In the hastebin link, you state that the code crashes. Do you mind providing the crash report? It's much easier to debug when you know where to look. It might also be helpful to provide the rest of the class, rather than just the method that seems to be having issues.
Could you provide the code for the TimeHelper class? I'd like to see what reset() and hasReached() do, codewise.
Your comment in the console log states that the crash happens when the tripple is full and waiting for pause to reset. A line number of 63 is also provided. If that's the case, then the problem likely lies in the TimeHelper class, rather than your AddFriendEveryone class.
Your TimeHelper class appears to be fine. Everything seems to work as intended, and I was able to recreate the loop without fail. I honestly don't know why you're crashing. Without a more detailed crash report, I'm not sure what the issue could be. I've looked into the exit code, but could find nothing on it.
Do you mind if I ask what program / IDE you're using? Are you using Eclipse, Intellij, or some other?
As for the more detailed crash report, could you follow these instructions?
1. Run the module, allowing it to crash.
2. Go to your workspace folder.
3. Go to the "jars" folder.
4. Go to the crash-reports folder.
5. Open the latest crash report, and paste it to pastebin then upload it here.
The console isn't putting out enough information to debug. I hope that those instructions are correct, and easy to follow. If you have any questions, please ask. Hopefully with a more detailed crash report we can get to the bottom of this problem.