.mac sync error msg "attempt to insert nil value

I've been trying to reset .Mac sync, and I keep getting this error msg
*(NSCFDictionary setObject:forKey:]: attempt to insert nil value
what is this?

A bug; probably the result of a corrupt schema. If you really want to wipe the slate clean you can get rid of ~/Library/Application Support/SyncServices/Local, but you should make sure you have a backup handy just in case you lose something you care about in the process.

Similar Messages

  • Debugging advice - attempt to insert nil value

    Hello,
    I have a program that gets its data from a lot of XML files.
    When working on the XML files, if I do something wrong like, misspell a tag, or put a file that doesn't exists between the tags, or something like that, I often get this error.
    iPhone_Comprehension[7991:207] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key: TheFilename)'
    Then it also gives some Stack information that I can't grok.
    These are always tough for me to debug because I never know where in the XML file the mistake was made.
    Is there an easier or more efficient way to identify the source of these errors? Or do I have to go through the XML file line by line until I discover my mistake?
    Thanks for any help on this!
    Harvey

    I'll tell you what I've done in the past....
    When I'm working with a data file that suddenly brings down the tent, I split it up* (segments A & B) and try again.
    If it works with segment A, you know that the cruft is in segment B.
    Repeat the split (you now have A, B & C) and try with B. If it works you know the issue is within those 500 lines that represent C. You've just quickly eliminated 1500 lines you don't have to be concerned with. When you stop splitting/segmenting and start manually scanning again depends on your scanning skills.
    I can read/scan 3000 words per minute - the size of my blocks actually depends on the size of the original file. *I really don't bother segmenting as a ts tactic until I get around 5k lines in a data file, so if the total is less, I'll just scan.
    Now, of course, all of this assumes you've given up on undo's or backup files, etc. That part of coding discipline is another topic and at this point, I'm concluding you've decided that they don't work for your current issue(s).

  • Netboot gone haywire - "attempt to insert nil value"

    I was happily NetBooting and re-imaging using DeployStudio, when everything went haywire. I was not getting any imaging done, and in the process of hunting down what went wrong all **** broke loose.
    I have deleted all the NetBoot images from NetBootSP0 and copied a fresh image to that folder. I have tried to stop the NetBoot service in Server Admin, but the service now has a red triangle in it and I can stop nor start the service. When I start Server Admin, I get an error "A connection with a server or service was lost" and it then takes a while for Server Admin to connect to the server to get the services. NetBoot still has a red triangle.
    The NetBoot service starts if I enter "serveradmin start netboot", but "serveradmin fullstatus netboot" reveals the following:
    2008-10-14 09:25:18.105 serveradmin[18720] Exception in doCommand: * -[NSCFDictionary setObject:forKey:]: attempt to insert nil value
    netboot:error = "NILRESPONSEERR (* -[NSCFDictionary setObject:forKey:]: attempt to insert nil value)"
    I have restarted the server a couple of times over the weekend, but that has not helped.
    Any help would be greatly appreciated.

    A helpful friend notified me of the following: The NBImageInfo.plist file can get corrupted. If the Name key is missing, the image will not be identified properly. I do not know exactly what the contents of the file should be, but when I added the Name key and restarted NetBoot, all was well.

  • Sync Services malfunction: attempt to insert nil

    I've been using Entourage (Office 2008) and iCal for years, with calendar entries in Entourage syncing to iCal (and thence to my iPhone and back again).
    Recently, the syncing process has gone haywire.  By and large, Sync Services is only updating old calendar entries (2008 and earlier) into iCal.  Some (but not all) repeating events get synced, so I see a handful of birthdays in 2011 and beyond in Cal. But nothing else more recent than 2008. It appears that the syncing process starts, but then aborts for reasons unknown.
    The console log is chock full of Sync Services errors. The following is but a snippet.
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.066 iCalExternalSync[4950:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]#2  0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
    #3  0x00007fff88e3e564 in +[NSException raise:format:] ()
    #4  0x00007fff894ffe53 in -[NSCFSet addObject:] ()
    #5  0x0000000100015eec in ?? ()
    #6  0x000000010000fc7d in ?? ()
    #7  0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
    #8  0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
    #9  0x000000010000f0ec in ?? ()
    #10 0x000000010001e9d0 in ?? ()
    #11 0x0000000100001e50 in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.257 iCalExternalSync[4950:903] [ICalExternalSync ]#2  0x00007fff88e3e5d7 in +[NSException raise:format:arguments:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #3  0x00007fff88e3e564 in +[NSException raise:format:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #4  0x00007fff894ffe53 in -[NSCFSet addObject:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #5  0x0000000100015eec in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #6  0x000000010000fc7d in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #7  0x00007fff83980457 in -[ISyncConcreteSessionDriver _pullPhaseOfSession] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #8  0x00007fff8397cf91 in -[ISyncConcreteSessionDriver _sync:] ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #9  0x000000010000f0ec in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #10 0x000000010001e9d0 in ?? ()
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          #11 0x0000000100001e50 in ?? ()
    9/30/11 9:56:11 AM          iCalExternalSync[4950]          [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:11 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:11.258 iCalExternalSync[4950:903] [ICalExternalSync ]NSException name:NSInvalidArgumentException reason:*** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:32 AM          iCalExternalSync[5076]          [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
    9/30/11 9:56:32 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:32.531 iCalExternalSync[5076:903] [ICalExternalSync ]Another sync will be executed to insure the com.apple.ical.calendars.TaskOrder singleton is correct
    9/30/11 9:56:35 AM          iCalExternalSync[5076]          [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    9/30/11 9:56:35 AM          com.apple.syncservices.SyncServer[4122]          2011-09-30 09:56:35.319 iCalExternalSync[5076:903] [ICalExternalSync ]Encountered *** -[NSCFSet addObject:]: attempt to insert nil
    The repeated messages about "attempt to insert nil" seems suspect, but I'm not sure what to do about it.
    Syncservices is generating many megabytes of log files, starting a few days ago.
    My troubleshooting so far:
    reboot OSX
    disable the Sync preference in Entourage ('Synchronize events and tasks'), and re-enable
    quit/ relaunch Entourage (many times)
    quit/relaunch iCal (many times)
    rebuild the Entourage database (in case it had become corrupted)
    delete the iCal prefs and database, per an article at http://www.office.mvps.org/syncservices/ical.html which said:Deleting these files should restore your default iCal calendars:
    ~/library/preferences/com.apple.iCal.AlarmScheduler.plist
    ~/library/preferences/com.apple.iCal.helper.plist
    ~/library/preferences/com.apple.iCal.plist
    and delete the contents of
    ~/Library/Calendars/Calendar Cache
    re-enable the Sync preference in Entourage. After doing so, The Entourage calendar in iCal reappeared, but once again, only really old calendar entries from Entourage were transferred over. Sync Services announced there was a large number of conflicts that needed to be resolved.  I granted permission, but the listed events didn't appear.
    I don't have MobileMe. I don't sync to Google Calendars or anything else.
    My iPhone is now stranded - I don't dare sync it with iTunes as the calendar information which is in it will get clobbered.
    Any ideas on how to restore proper syncing?

    OP reporting more information.
    I used Time Machine to go back to last week when syncing was working, and restored all the sync-related files that I could find:
    ~/Library/Application Support/Calendars
    ~/Library/Application Support/iSync
    ~/Library/Application Support/SyncServices
    ~/Library/Application Support/iCal
    ~/Library/Application Support/PreferencesSync
    ~/Library/Preferences/iCal.plist
    ~/Library/Preferences/iSync.plist
    This had the beneficial effect of restoring most of my event data from iCal into Entourage. (it's pretty much the view in iCal that I had last week). However, syncing is still not working. Any changes made to events on either side (Entourage or iCal) don't get synced across.
    Every time SyncServices runs, it generates thousands of errors in the log. It seems to be logging in Debug mode, as if it knows there's something wrong. I've scanned through the logged messages, but nothing jumps out as being the cause of the non-syncing.
    Perhaps I'll have to reinstall OSX from scratch :-(

  • Error messessage for software update is NSI Invalid Argument Exception attempt to insert nil value. No other apps work but Safari help?

    I can't get through software update - keep getting this on the thread. How do I fix?

    I would reinstall OS X:
    Reinstall OS X without erasing the drive
    Do the following:
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install the Combo Updater for the version you prefer from support.apple.com/downloads/.

  • Attempt to insert nil key error

    In my mail preferences, when I go to edit the outgoing server list, the drop down flicker a second but the window to edit the list never comes up. I checked the console log and get two of the messages pasted in below. Any ideas!?
    9/2/10 7:27:29 AM Mail[84563] * -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
    Stack Trace: (
    2438687984,
    2534180076,
    etc.

    Either one of these articles may assist you
    Lion Server: When binding an Lion Open Directory Server using SSL, "Unable to add server" appears
    http://support.apple.com/kb/TS3958
    or
    Mac OS X v10.7: Unable to connect to a Mac OS X v10.6 Open Directory Server
    http://support.apple.com/kb/TS3861?viewlocale=en_US

  • .Mac Sync Error and no syncing

    I get a .Mac Sync Error with this notation. *-[NSCFDictionary set: Oject for Key:] nil value
    I have Synchronized my G-4 to .Mac. In other words .Mac should be the same as my G-4. When I try to sync my iBook and Mac Mini to .Mac I get the above error message. All 3 machines are running 10.4.2
    Help will be appricated
    Mac Mini, G-4, and white iBook   Mac OS X (10.4.2)  

    I've had the same issue for a while, but I think I have now managed to resolve this.
    Using Workgroup Manager:
    Select user(s) in question
    Select Preferences
    Select Mobility
    Select 'Rules'
    Select 'Home Sync'
    Under the Manage Options, add to 'Skip items that match any of the following'
    for match choose 'ends with' and add:
    .pages-tef
    .numbers-tef
    .keynote-tef

  • Sybase Error 2601 Attempt to insert duplicate key row in object with unique

    RE: Sybase Error 2601 Attempt to insert duplicate key row in object with unique index.
    Hi Folks,
    I'm getting the following error whilst executing a stored procedure in Sybase.
    ERROR: Sybase Error 2601 Attempt to insert duplicate key row in object with unique index.
    I understand that duplicate values have been inserted into a column that has a unique constraint.
    I just can't figure out how to rectify the problem.
    Your help will be greatly appreciated!
    Many thanks in advance.

    If the value I'm trying to insert (using update)
    already exists in the unique-value field then the DB
    refuses to update the field.
    If the value is different it will update.Are you trying to insert or update in SQL (identified by the keyword INSERT or UPDATE respectively)?
    Even in case of an UPDATE query, if you are going to update the values of some columns to violate the unique constraints, the update will not succeed and you will get the error message.
    or is it?
    it tries to create a new row, but can't because there
    is another row with the same unique-values.
    If this is the case, I am only trying to update and
    not create a new item.To put it in simpler words, if you have a set of values defining the uniqueness of a record, you cannot insert another record with the same set of unique values. Similarly, you cannot update an existing record by modifying the set to conflict with another set of unique values which already exist in the database.
    Suppose there are two columns A and B defining the uniqueness of the record and you have only two records at the moment like -
    A B
    ========
    1 1
    2 1
    If you try to insert a record with A = 1 and B = 1, it will fail because a record already exists. You cannot violate uniqueness because the database has already been told that there will be only one record for any given combination of A and B.
    Similarly, if you try to update the second record from A = 2 to A = 1, the end result would be A =1 and B = 1. There is already a record with that set of values and this will result in a violation of the uniqueness. So, this update will also be disallowed. On the other hand, if you try to update B to some value, say 3, there is no problem in doing so.
    For convenience, you can imagine an UPDATE operation to be equivalent to DELETE + INSERT operation, though it doesn't necessarily work the same way internally.
    I hope I was clear enough.

  • Safari crashes on launch w. "attempt to insert nil"

    Safari 1.3.2
    -[NSCFArray insertObject:atIndex:]: attempt to insert nil
    Context: We've been having trouble for a few days with the status line saying "completed 1 of 3"... "completed 48 of 50" and then just not getting anywere. Attempts to wake it up by placing cursor at end of URL and pressing return, or clicking on page refresh would fail at same place or earlier. Resetting Safari seemed to help for a while. It was fairly consistently happening on certain sites (e.g. www.marketwatch.com, but also google, yahoo...).
    Suspecting someone was riding on our wi-fi and generating enough extra traffic to mess up the timing of transactions, I secured it with TKIP WPA password and that seemed to work for a day or so. I was using it at 05:00 but at 12:30 nothing was working. Pings were working, DNS lookups were usually working. The ISP says they can see through to the DSL modem. I reset the DSL modem and router to factory defaults, then re-established settings that had been working, earlier. That let me get this far with IE. Now, IE 5.2.3 lets me in, but grumps about certificates, and crashes every 3-5 pages.
    At one point, getting back to Safari, thinking the preferences (.plist) were being clobbered I moved Safari's preferences (Bookmarks, Downloads, History and com.apple.Safari), but that made no difference, so I brought them back.
    What have I overlooked?
    jgo456 yahoo . com

    sftp from Terminal is also broken, not getting to the point of asking for pw...
    but ftp works.

  • .Mac Sync Error

    I keep two computers synced via .Mac. Until just recently there's been no problem. My PowerBook runs its normal sync routine (and syncs properly with my Palm). When I try then try to sync my iMac it doesn't work, and this error message comes up:
    [ISyncConcreteSession pushChange:]: you can't modify a record that doesn't exist: <ISyncChange 0x15c8a50>{ modify record id 'C200015D-D6D5-4DD3-A476-9C088352A955'
    set com.apple.ical.type = local
    set title = Unfiled }
    NOTE: the problem seems to only affect the calendar.
    I booted up from the system disk and corrected the permissions. I also ran the repair function, which reported that there was nothing needing repair.
    Beyond that I haven't a clue. Thanks in advance for any help.
    iMac G4 + PowerBook G4   Mac OS X (10.4.8)  

    This is actually a .Mac Sync issue, for which a forum exists here:
    http://discussions.apple.com/forum.jspa?forumID=957
    It is triggered though, by an issue involving iSync and your Palm device. iSync creates a default Unfiled calendar, into which all Palm-created events are transferred each time you synchronize. This particular iSync feature has behaved inconsistently since the evolution of iSync 1.5 to iSync 2, and subsequent releases have not corrected the strange behavior it sometimes exhibits. Your issue is an extension of those behavioral problems.
    Assuming that the error message appears on your iMac, which is synchronized with .Mac Sync but to which you do not synchronize your Palm device, then you need to reset your synchronization data by opening the System Preferences application on your Powerbook and execute these steps:
    • press the .Mac icon
    • press the Advanced tab
    • wait for your registered computer list to be updated, then press the Reset Sync Data… button
    • from the Replace: drop-down menu, choose Calendars
    • click on the right-facing arrow, so that the orange animated arrow moves from left to right
    • be sure that the phrase above it says, "On .Mac with sync info from this computer."
    • press the Replace button
    Once that process has been completed, go to the iMac and execute the same process, except in the opposite direction: you want to press the left-facing arrow so that the orange animated icon runs from right to left, and the phrase above it says, "On this computer with sync info from .Mac."
    That should force the creation of the now non-existent Unfiled calendar on the iMac, and allow synchronization to occur properly.

  • .mac sync error (com.apple.palm.calendars.Category)?

    [NOTE: this exception originated in the server.]
    No such entity named com.apple.palm.calendars.Category
    The above is the error message that I receive when I try to sync Contacts and/or iCal from my G5-2.0 running 10.4.10 to my .mac account. Even if I try to reset the sync from my computer to replace what's on my .mac account, I'm can't due to the error message above. Would anyone be able to suggest or provide a solution? Is this due to the iPhone being released today, or with the 10.4.10 update? Thank you.
    Ivor
    Dual G5-2.0   Mac OS X (10.4.10)  

    It likely has nothing to do with either event. These registered entities are tied to your registration of the .Mac Sync client:
    • com.apple.palm.calendars.Category
    • com.apple.palm.contacts.Category
    If your platform reports that one or the other, or both, are not present, you can only correct this by unregistering and reregistering your .Mac Sync client. There is no other way a user can have any impact on this issue.

  • IPad2 Sync Error Msg Not Helping

    Lately I've noticed that, when I sync my iPad2 to my Mac (both running the current OS versions) I get a notice on my iPad that there were items it was unable to sync, check iTunes for details.
    The first few weeks the notice said there were 2 items....when I synced today I noticed it was now up to 4 items.
    Unfortunately, the notice displayed on my iPad after the sync is completed doesn't help me a bit to figure out which items are not syncing. The message simply says to check iTunes.  It doesn't say if I should look in iTunes on the iPad or iTunes on my Mac.  I'm assuming it means for me to check iTunes on my Mac, so I have, and I don't see any sync error messages anywhere.
    Is there a particular place in iTunes I should look to find the details of which items aren't syncing?  I've been thru all the tabs, and none display any error notices.

    Hello and Welcome to Apple Discussions. 
    My first though is USB ports. Try connecting direct to the computer avoiding front panel ports, hubs and USB1.1 ports. Then try again.
    Let us know how you get on.
    mrtotes

  • .Mac Sync Errors

    I installed Leopard today and ran into some errors syncing with my .mac account. Most things seems to sync properly, but the menu bar icon shows some errors. When I launch conflict manager, the program opens but shows no windows. I have synced several times and restarted, but there has been no change. Is there anyway to force the conflicts to show, so I can resolve them? Any help would be greatly appreciated.

    I have installed Leopard on my iMac and laptop and am having trouble syncing my calendar iCal and Address Book. My laptop does not seem to be updated after I sync my iMac with .Mac and then try to sync the laptop. In addition, my laptop shows some conflicts in both the calendar and address book which are strange. In the calendar I have events which come up with "exception dates" in the iMac and different ones in .mac. I have several conflicts in the address book which come up with "No Name" and different email addresses, even tho I do not have any address book entries with no name. Even tho I have gone through and "resolved" them they come back when I sync the laptop with .Mac. Is anyone else having this type of problem?

  • Weird .Mac sync error -- cannot reset calenders and sync broken

    When I try to sync my desktop I get the following error:
    [ISyncConcreteSession pushChange:]: you can't modify a record that doesn't exist: <ISyncChange 0x3c5d5f0>{ modify record id '8C584579-8929-46A8-AE28-345C91E131DD'
    set title = Unfiled
    set com.apple.ical.type = local }
    I have no idea what this means.
    Moreover, I cannot sync the calendars on my machine with .Mac. I have tried resetting them with .Mac but this does not work, either. It generates the above error message.
    Any ideas here? Since resetting does not work, is there any way that I can throw out all of the calendar information on my desktop and start fresh from .Mac? I know that .Mac is up to date since I since my laptop and Treo to it.
    Thanks,
    mh

    You do not have to toss everything and start again: the Unfiled calendar resides on your machine to support the synchronization of a Palm device.
    If you don't synchronize a Palm device, simply highlight that calendar and press the delete key. If you do, consider moving all of the Palm-created events and tasks in it to one or the other of the several other calendars in iCal.
    Or, if you are using Mac OS X 10.4.3 or later and synchronize with a Palm device, ditch iSync and the iSync Palm Conduit and use the Missing Sync for Palm OS instead:
    http://www.markspace.com/missingsync_palmos.php
    It's helpful to those of us who regularly post here to have you describe your configuration as completely as possible on your specific My Settings page, and supplement that when necessary with additional descriptive language.

  • What can I do if Mac has error msg "disk Full"?

    memory: 2 gb 667 mhz ddr2 sdram
    Can the computer be wiped clean?

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space. According to Apple documentation, you need at least 9 GB free for normal operation. You also need enough space left over to allow for growth of your data. Use a tool such as OmniDiskSweeper to explore your volume and find out what's taking up the space. Proceed further only if the problem hasn't been solved. ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To really see everything, you have to run it as root. Back up all data now if you haven't already done so. No matter what happens, you should be able to restore your system to the state it was in at the time of that backup. Launch the Terminal application in any of the following ways: ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.) ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens. ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid. After installing ODS in the Applications folder, drag or copy — do not type — the following line into the Terminal window, then press return:sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    I don't recommend that you make a habit of this. Don't delete anything while running ODS as root. When you're done with it, quit it and also quit Terminal.

Maybe you are looking for