×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    1

    NullPointerException on application exit

    My application crashes with a NullPointerException when I call notifyDestroyed(). This happens on the two Series 60 phones that I've tried it on (6600 and 3650).

    The application has one Java Thread in addition to the main Thread. I've tried calling notifyDestroyed() from both, but the crash happens in both circumstances. I've also tried letting the Java Thread finish execution before calling notifyDestroyed(), but that didn't work either.

    I'm using FullCanvas, if that matters. Any help or advice that can be offered would be greatly appreciated. Thanks!

  2. #2
    Regular Contributor
    Join Date
    Oct 2004
    Posts
    79
    I call System.gc() before calling notifyDestroyed(). In some case it helps. But in my current project this doesn't work

Posting Permissions

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