Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Error "Blocking call performed in the event thread"  RSS feed

 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

My j2me login application runs properly and logs me in when I run it in the emulator as follows

Run Project -> loginApp

But if I run the login application as follows

Run Project via OTA -> loginApp

then I get the following message after I click login

"Blocking call performed in the event thread"

Any idea what is the reason for this....?

Thanks in advance

 
kalyen kumar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Its working for me now and the problem was,

The commandAction was simply calling the respective functions.
Instead, when I started a new thread for each case in commandAction and in that thread, called the respective function,
everything seems to be fine.



Thanks everybody for giving me this opportunity.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!