Exception processing async thread queue java.lang.UnsupportedOperationException
<p>I am having a problem when I create an array of strings, this only happens in 2.1 android api level 7 or lower and i need to install the application on a device with exactly this configuration, any idea how to solve the problem?
Below the source code, the message that pops up on screen and also logcat's message.</p>

<p>CODE:</p>

<pre><code>

private String[] fillPedidosName() {
    TipoPedidoDAO tipoDAO = null;
    try {
        tipoDAO = new TipoPedidoDAO();
        pedidosList = tipoDAO.selectAll();
            String[] temp = new String[pedidosList.size()];
        for (int i = 0; i &lt; pedidosList.size(); i++) {
            if (pedidosList.get(i) != null) {
                temp[i] = pedidosList.get(i).getDescricao().toString();
            }
        }
        return temp;
    } catch (Exception ex) {
        MyLoger.logar(ex);
        return null;
    } finally {
        if (tipoDAO.getDB().isOpen()) {
            tipoDAO.closeConnection();
        }
    }
}

</code></pre>

<p>THE MESSAGE THAT POPS UP DEBUGING:</p>

<p>Exception processing async thread queue
Exception processing async thread queue
java.lang.UnsupportedOperationException</p>

<p>lOGCAT'S MESSAGE:</p>

<p>03-03 17:57:57.124: ERROR/jdwp(1267): REQ: UNSUPPORTED (cmd=2/11 dataLen=8 id=0x0012ba)</p>
