Exception processing async thread queue java.lang.Unsupporte

Put your problem here if it does not fit any of the other categories.

Exception processing async thread queue java.lang.Unsupporte

Postby cristianchiess » Thu Mar 03, 2011 7:02 pm

Hello,
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.

CODE:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. private String[] fillPedidosName() {
  2.         TipoPedidoDAO tipoDAO = null;
  3.         try {
  4.                 tipoDAO = new TipoPedidoDAO();
  5.                 pedidosList = tipoDAO.selectAll();
  6.                         String[] temp = new String[pedidosList.size()];
  7.                 for (int i = 0; i < pedidosList.size(); i++) {
  8.                         if (pedidosList.get(i) != null) {
  9.                                 temp[i] = pedidosList.get(i).getDescricao().toString();
  10.                         }
  11.                 }
  12.                 return temp;
  13.         } catch (Exception ex) {
  14.                 MyLoger.logar(ex);
  15.                 return null;
  16.         } finally {
  17.                 if (tipoDAO.getDB().isOpen()) {
  18.                         tipoDAO.closeConnection();
  19.                 }
  20.         }
  21.  
  22. }
  23.  
Parsed in 0.033 seconds, using GeSHi 1.0.8.4


THE MESSAGE THAT POPS UP DEBUGING:

Exception processing async thread queue
Exception processing async thread queue
java.lang.UnsupportedOperationException

lOGCAT'S MESSAGE:

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

thanks....
...........................................................
Cristian Chies

e-mail: cristianchiess@gmial.com
msn: cristianchiess@hotmail.com
User avatar
cristianchiess
Freshman
Freshman
 
Posts: 2
Joined: Mon Feb 14, 2011 8:01 pm
Location: Brazil

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 18 guests