Discussion Board

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi,

    testing the Contacts Service API I have found out an issue with the getNext() method used on the iterator returned by a GetList() call.

    What happens is that the getNext() call causes the whole WRT widget to crash when the next contact to be returned is one of some specific contacts. I have isolated that call, and it is sure to be the getNext() call to cause this issue.

    Some infos:
    * it seems it is not the contact information to cause the crash: I have modified and removed all the contact details, but the crash still happens on these specific contacts
    * it seems not to depend on the contact position: regardless of its position, when the getNext() call should return one of these contacts, the widget crashes
    * trying to remove these specific contacts, the whole iteration via getNext() works fine

    This is quite a pain, since it seems to be no way to programmatically avoid this, since there's no way for a widget to know which are these specific contacts, and so to avoid crashes when listing them..

    This is experienced on a Nokia 5800 XM v 21.0.025.

    Has anyone experienced the same? Any workaround/fix?

    Thanks,
    Pit
    Last edited by jappit; 2009-06-16 at 18:06. Reason: added more infos

  2. #2
    Registered User ramandv's Avatar
    Join Date
    Mar 2003
    Posts
    1
    I am also facing the Same problem? anybody found the solution or workaround?

    same problem in one more thread
    http://discussion.forum.nokia.com/fo...ZPtYHe6HMVq-20

  3. #3
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hello,

    I believe this could have something to do with contacts synced with PC suite.

    You could do simple test by creating a contact on the phone and listing the contacts.
    Then modify the contact with the PC Suite and sync back.
    Then try to list contacts again.

    Please let me know your observations.

    Best regards,
    Ilkka - FN

  4. #4
    Nokia Developer Champion jappit's Avatar
    Join Date
    Nov 2007
    Location
    Rome, Italy
    Posts
    2,391
    Hi Ilkka,

    thanks for your feedback about this issue.

    In my case, I've never synchronized/modified contacts with PC Suite, so the crashed could be due to something else.

    Anyway, I'll try the steps you listed, and post here the results.

    Pit

  5. #5
    Nokia Developer Moderator isalento's Avatar
    Join Date
    Jun 2008
    Location
    Tampere
    Posts
    831
    Hi Pit,

    Thank you for the update. This is valuable information to us.
    So far we have not been able to reproduce this issue without using pc-suite, but we are still working on it.

    Br,
    Ilkka - FN

  6. #6
    Regular Contributor wildabeast's Avatar
    Join Date
    Aug 2009
    Posts
    57
    I am experiencing this issue, where contacts created in PC Suite will crash the widget when getnext() is called on the PC Suite contacts.

    Anyone have any workarounds or solutions?

  7. #7
    Registered User kaedinger's Avatar
    Join Date
    Jul 2009
    Posts
    22
    I never used PC Suite for contacts (only for backup and syncing notes), but Roadsync. Still I don't know if this has anything to do with that. It crashes. Is there any other way to access contact data through WRT? Array access? Through IDs maybe? So far no one seems to have a solution, so help would be gladly appreciated!

  8. #8
    Registered User Equinoxe2012's Avatar
    Join Date
    Nov 2009
    Posts
    1
    Since a view days I own a 6710 Navigator.. I was relieved to findout that more people experience the same problem.

    The problem:
    When I open contacts en press very quick 777 to make an S the Contact Service crashed.. strange..
    tested this 10 times.

    So I changed the settings in Contacts to predictive text..
    Now it crashes not anymore on 777 to make the S..
    It crashes when I select a certain contact. There's only one contact in my list that has a name starting with SI..
    So the Contacts Service crashes now when I select 74..

    I used PC Suite to backup all my former contacts (from my 3 year old N80) and Imported them on my new phone using PC Suite. Although I installed OVI Suite.

    update: I editted all my contacts containing the letters SI and PH. Resynced with OVI.
    It turns out that when I type to quick, the Contacts Service crashes again and again. When I press very gentle, one digit by one digit to make the word Sim, or just Ph, it works fine. Maybe this helps.

    For now I use only OVI suite and I do regular sync my contacts with OVI suite.. maybe it's an option to clear all my contacts on my Phone and download them via de OVI suite..

    Any help welcome. Regards, Pete.
    Last edited by Equinoxe2012; 2009-11-18 at 10:09. Reason: update

  9. #9
    Regular Contributor wildabeast's Avatar
    Join Date
    Aug 2009
    Posts
    57
    Quote Originally Posted by Equinoxe2012 View Post
    Since a view days I own a 6710 Navigator.. I was relieved to findout that more people experience the same problem.

    The problem:
    When I open contacts en press very quick 777 to make an S the Contact Service crashed.. strange..
    tested this 10 times.

    So I changed the settings in Contacts to predictive text..
    Now it crashes not anymore on 777 to make the S..
    It crashes when I select a certain contact. There's only one contact in my list that has a name starting with SI..
    So the Contacts Service crashes now when I select 74..

    I used PC Suite to backup all my former contacts (from my 3 year old N80) and Imported them on my new phone using PC Suite. Although I installed OVI Suite.

    update: I editted all my contacts containing the letters SI and PH. Resynced with OVI.
    It turns out that when I type to quick, the Contacts Service crashes again and again. When I press very gentle, one digit by one digit to make the word Sim, or just Ph, it works fine. Maybe this helps.

    For now I use only OVI suite and I do regular sync my contacts with OVI suite.. maybe it's an option to clear all my contacts on my Phone and download them via de OVI suite..

    Any help welcome. Regards, Pete.
    Could be related, but it doesn't sound like you are developing a widget, and this issue is regarding the Contacts Service API in Platform Services of Web Runtime, not the native Contacts application.

  10. #10
    Registered User Darwood's Avatar
    Join Date
    Jul 2009
    Posts
    17
    I am experiencing exactly the same problem as you (Pit) jappit. My widget crashes on specific contacts. It doesn't matter what data is contained in them but something strange about the data item causes the widget to crash. It has taken me ages to isolate it and come to the same conclusion as you. The problem seems to lie in the getNext() call. If it's any help I am using the following line at the start of my the loop
    while ((contact = contactlist.getNext()) != undefined) {

    I'm too am using a 5800 XM v21.0.025 device.
    I have never synched my contacts with PC Suite on this phone but I did bring them from my old phone via the data transfer wizard and I have synced Mail and Calendars (but NOT contacts) for Exchange.

  11. #11
    Registered User Darwood's Avatar
    Join Date
    Jul 2009
    Posts
    17
    Update: I have just updated my 5800 XM software to the latest version v30.0.011 and the problem perists. Any news on this issue from Nokia please?

  12. #12
    Registered User pablopoo's Avatar
    Join Date
    Nov 2008
    Location
    Chile
    Posts
    21
    Any news on this?

    I have the same issue, the app crash even if the code is inside a try/catch block. The platform services 2.0 demo contact app crash too.

  13. #13
    Registered User ivanfm's Avatar
    Join Date
    Mar 2004
    Posts
    1
    Same problem here, N97 latest firmware.
    WRT app crashing on getNext()

  14. #14
    Registered User juannoguera's Avatar
    Join Date
    Dec 2005
    Location
    Albacete, Spain
    Posts
    380
    Did not find this thread an started another one on the same issue (http://discussion.forum.nokia.com/fo...942#post714942). Sorry!

    5800 firmware version 40.0.005 still has the same error. I submitted a bug report to Nokia with some code and instructions to reproduce the error.
    In any case, I assume that this renders any widget that uses this function pretty useless for commercial distribution.
    What is really discouraging is to see is that a platform bug reported almost nine months ago has not been addressed and that there is no warning in the documentation (or even the wiki) about it.
    For me (and I guess for most of you that needed this functionality), it means developing a QT or native Symbian version of the app I was doing as a WRT, which is quite some work.
    Actually, after experimenting a bit with platform services on WRT, I tend to think that this is too green. Hardly has beta quality.
    ----------------------------------------------
    Every journey starts with a small step.

  15. #15
    Registered User Darwood's Avatar
    Join Date
    Jul 2009
    Posts
    17
    Quote Originally Posted by juannoguera View Post
    For me (and I guess for most of you that needed this functionality), it means developing a QT or native Symbian version of the app I was doing as a WRT, which is quite some work.
    Actually, after experimenting a bit with platform services on WRT, I tend to think that this is too green. Hardly has beta quality.
    I'm considering changing to QT - or maybe a different platform such as Blackberry or Android which might have better support for developers than we seem to get from Nokia. I had only just started developing mobile apps so fortunately not a big deal for me.

Page 1 of 2 12 LastLast

Similar Threads

  1. PC Suite error: (Code: Init IMediaControl2) HELP?!
    By chunkyspudmonkey in forum General Development Questions
    Replies: 29
    Last Post: 2008-06-30, 11:47
  2. Replies: 4
    Last Post: 2006-09-05, 15:15
  3. contacts via the contacts API
    By white_dragon in forum Symbian C++
    Replies: 5
    Last Post: 2004-11-26, 18:07
  4. I want to get phonenumber from 40 series with specific API.
    By brighteyes in forum Mobile Java General
    Replies: 1
    Last Post: 2003-12-23, 08:43
  5. Location Service in iGMLC API 3
    By samsonChang in forum General Development Questions
    Replies: 0
    Last Post: 2003-05-15, 08:30

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved