Question: Im having a very strange problem with a certain piece of code:

```
for(int r = 0; r<look[0].length; r++){
for(int cl = 0; cl<look.length; cl++ ){
    placeChar(xI+cl, yI+r, look[cl][r]);  // <-- ArrayIndexoOutOfBoundsException
    }
}

```

I'm assuming that 
 look[cl][r]
is the Problem but... how is this possible in any way?  

Because r can never be equal or bigger than look[0].length and same for cl.  

and look.length

Answer: 
You must use SupportFragmentManager instead of FragmentManager
Use getSupportFragmentManager() and import android.support.v4.app.FragmentActivity