×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    May 2010
    Posts
    214

    Smile Plz help!! Deadlock issue!!

    Hi

    Can anyone help me in the problem I face


    Currently i face the LWUIT deadlock problem. I.e., when i post a request to the server and to show the user that the request is being sent to the server i show a preloader box which inherits the Dialog class and is MODAL since i dont want the user to use any navigation keys. After the server returns a valid result the dialog is disposed without any problems. But in turn if the data sent to the server has any problems with the data sent then the server will send a message "incorrect data" which is inturn shown as a error box (Also a class inheriting Dialog and is MODAL). This error box has setAutoDispose to true. The first time it is okay i am able to dispose the error box too. But if it happens for the second time then there is a deadlock situation. I am sure i am disposing the PreloaderBox and ErrorBox correctly. But still dont know what could be the problem. Any help would be appreciated.

  2. #2
    Registered User
    Join Date
    Oct 2009
    Location
    Noida
    Posts
    941

    Re: Plz help!! Deadlock issue!!

    Replace LWUIT Dialog by your own LWUIT Form, give it the look & feel of dialog - add transparency - add commands which you need - dispose manually when you are done. LWUIT Dialog has some memory leaks also this way you will avoid such memory issues as well.
    Thanks,
    Ekta

Similar Threads

  1. CPicture issue in CRichTextEditor, plz help me!!
    By Mark-07 in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-11-27, 08:42
  2. plz help : screen mode issue
    By Mark-07 in forum Symbian
    Replies: 0
    Last Post: 2008-11-04, 07:26
  3. Replies: 5
    Last Post: 2008-10-09, 05:38
  4. Some Code warrior settings Issue plz help!!!!
    By HidayathKhan in forum Symbian
    Replies: 4
    Last Post: 2007-11-14, 05:11
  5. Plz resolve Deadlock warning
    By yasomca in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-11-04, 07:43

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×