Any reports of bizarre Android force close errors?
<p>I have a few apps on the Android Market. When I get an error report from a user, usually I am able to identify the problem, patch the code, and update to a fixed version.</p>

<p>But twice recently I’ve received strange Force Close reports that I just cannot explain.  The latest occurrence is from a standard OpenGL normalization routine:</p>

<pre><code>for (int x=0; x&lt;maxX; x++) {
        for (int y=0; y&lt;maxY; y++) {
            float d = (float) (1.0f  /  ( Math.sqrt(  vertex[x][y][0]*vertex[x][y][0]  +  vertex[x][y][1]*vertex[x][y][1]  +  vertex[x][y][2]*vertex[x][y][2] )));
            vertex[x][y][0] = vertex[x][y][0] * d;
            vertex[x][y][1] = vertex[x][y][1] * d;   &lt;--exception here
            vertex[x][y][2] = vertex[x][y][2] * d;
        }
    }
</code></pre>

<p>I get an ArrayIndexOutOfBoundsException on the line “vertex[x][y][1] = vertex[x][y][1] * d;”</p>

<p>This seems impossible to me because of the structure of the program, but also because “vertex[x][y][1]” is referenced two lines above!</p>

<p>Is there any way this could be due to a user having a defective device or operating system? I can’t explain it otherwise.</p>
