Java Virtual Machine stops responding with no known reason
<p>After exporting my project from Eclipse into an executable Java program, the program stops responding randomly. I can't find any specific event or action that causes it. The only reason I can think of it happening is an endless loop however the only one I have is this:</p>

<pre><code>for(int i =0;i&lt;pipes.length;i++){
    if((powerUp.bound.overlaps(pipes[i].bounds)|| (powerUp.bound.overlaps(pipes[i].bounds2)))|| (powerUp.bound.overlaps(blocks[i].bound))){
        powerUp.position.y=(float) ((HEIGHT/4)+((HEIGHT/2)* (Math.random())));
        i=0;
    }
}
</code></pre>

<p>Which basically makes sure the powerUp doesn't spawn within objects, there is plenty of free space for them to spawn in.</p>

<p>There are no other continuous loops in my code so are there other reasons for a "stopped responding" error?</p>