This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

NSInvalidArgumentException Exception: -[NSCFNumber isEqualToString:]: unrecognized selector [FIXED

<div class="IPBDescription">error message</div>Hi,



I have 1Password set up as a Login Item, so that it starts automatically when I log in on my Mac. For about the past week, I've been getting an error message whenever I log in (to my account on my Mac). It looks like the attached file. Here is another example:



"[b]NSInvalidArgumentException[/b]



Exception: -[NSCFNumber isEqualToString:]:

unrecognized selector sent to instance 0x101a028c0"



Is there anything I can do to fix it?



I'm using:



Quad i7 27" iMac

Radeon HD 5750

Wacom Graphire4 Tablet



Thanks.

Comments

  • khad
    khad Social Choreographer
    Hi Chuis,



    I'm sorry you are having this problem. Would you be willing to try a beta version? This should be fixed in the latest one. If you are willing, please give this a try in 1Password:



    [list=1]



    [*]Preferences > Updates > CHECK "Include beta versions"

    [*]Click "Check Now"



    [/list]

    Please let me know how it goes. Thanks!
  • jaingaurav2
    jaingaurav2 Junior Member
    [quote name='khad' timestamp='1285027826' post='11625']

    Hi Chuis,



    I'm sorry you are having this problem. Would you be willing to try a beta version? This should be fixed in the latest one. If you are willing, please give this a try in 1Password:



    [list=1]



    [*]Preferences > Updates > CHECK "Include beta versions"

    [*]Click "Check Now"



    [/list]

    Please let me know how it goes. Thanks!

    [/quote]



    I was having this problem too. The latest beta seems to resolve the issue.
  • khad
    khad Social Choreographer
    [quote name='jaingaurav2' timestamp='1285035544' post='11629']

    I was having this problem too. The latest beta seems to resolve the issue.

    [/quote]



    Thanks for the confirmation, jaingaurav2!
  • I'm having this problem, too. I think it started when I set up 1Password sync through Dropbox. I get:



    "NSInvalidArgumentException

    Exception: -[NSCFNumber isEqualToString:]:

    unrecognized selector sent to instance ___"



    Where ___ is not always the same thing.



    I get the same error message when I try to access Help > Tools > Find and resolve sync conflicts.



    I'm running:

    • 1Password v.3.4.0 (build 30742) on Mac OS 10.6.4

    (that should be the latest, including beta updates)

    • 1Password on iPhone 3GS (iOS 4.1)

    • 1Password on iPad (iOS 3.2.2)



    Please advise. Thank you.
  • Update: 1Password for Mac is receiving changes from Dropbox – so that key functionality is working – but I'm still getting the error messages. (In this latest test, I made sure Dropbox completed its sync before opening 1Password for Mac.)
  • gwold
    gwold Junior Member
    I'm seeing the same error. I'm running 1Password 3.4.2.BETA-3 (build 30748), and checking for updates gives no reply--is this the latest version?



    I'm also running OS X 10.6.4 and Dropbox 0.7.110.



    Any help out there? The error pops up every time I open 1Password, within 1-2 minutes of the UI coming up.



    Thanks,

    Greg
  • I'm getting this same error and it appears to be the auto-updater that is broken because it 1) never launches now and 2) when I manually select "Check for Updates" from the 1Password menu, nothing happens.



    What do I do now?
  • fearoffish
    fearoffish Junior Member
    [quote name='mkristensson' timestamp='1285259171' post='11870']

    I'm getting this same error and it appears to be the auto-updater that is broken because it 1) never launches now and 2) when I manually select "Check for Updates" from the 1Password menu, nothing happens.



    What do I do now?

    [/quote]



    Same for me. Can't update, it does nothing. If it helps, it seemed to start when I unticked beta versions from the update preferences but that could be a red herring. And yes, I tried reticking it but it won't update. Here's the console output:



    [code]

    23/09/2010 18:13:44 1Password[28845] Exception caught in (/Volumes/Projects/onepassword/1Passwd/OPApplication.m:1004): -[NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x1010083d0

    Stack trace:

    0 CoreFoundation 0x00007fff875c8cc4 __exceptionPreprocess + 180

    1 libobjc.A.dylib 0x00007fff84d530f3 objc_exception_throw + 45

    2 CoreFoundation 0x00007fff87622140 +[NSObject(NSObject) doesNotRecognizeSelector:] + 0

    3 CoreFoundation 0x00007fff8759acdf ___forwarding___ + 751

    4 CoreFoundation 0x00007fff87596e28 _CF_forwarding_prep_0 + 232

    5 1Password 0x000000010010f96e -[OPUpdater checkForUpdatesFromURLDidFinishLoading:] + 542

    6 Foundation 0x00007fff847edb6c _NSURLConnectionDidFinishLoading + 113

    7 CFNetwork 0x00007fff815b105e _ZN19URLConnectionClient23_clientDidFinishLoadingEPNS_26ClientConnectionEventQueueE + 174

    8 CFNetwork 0x00007fff816163d2 _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 254

    9 CFNetwork 0x00007fff8161663e _ZN19URLConnectionClient26ClientConnectionEventQueue33processAllEventsAndConsumePayloadEP20XConnectionEventInfoI12XClientEvent18XClientEventParamsEl + 874

    10 CFNetwork 0x00007fff8159d78f _ZN19URLConnectionClient13processEventsEv + 121

    11 CFNetwork 0x00007fff8159d56c _ZN17MultiplexerSource7performEv + 160

    12 CoreFoundation 0x00007fff87565e91 __CFRunLoopDoSources0 + 1361

    13 CoreFoundation 0x00007fff87564089 __CFRunLoopRun + 873

    14 CoreFoundation 0x00007fff8756384f CFRunLoopRunSpecific + 575

    15 HIToolbox 0x00007fff81de191a RunCurrentEventLoopInMode + 333

    16 HIToolbox 0x00007fff81de171f ReceiveNextEventCommon + 310

    17 HIToolbox 0x00007fff81de15d8 BlockUntilNextEventMatchingListInMode + 59

    18 AppKit 0x00007fff809a229e _DPSNextEvent + 708

    19 AppKit 0x00007fff809a1bed -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155

    20 AppKit 0x00007fff809678d3 -[NSApplication run] + 395

    21 AppKit 0x00007fff809605f8 NSApplicationMain + 364

    22 1Password 0x00000001000018e4 start + 52

    [/code]
  • khad
    khad Social Choreographer
    Folks who are having this trouble, are you running the latest beta? If you are having trouble with updates, please try downloading it directly:



    1. Download 1Password from our web site:

    http://aws.cachefly.net/aws/dmg/1PW3/English/1Password-3.4.3.BETA-2.zip

    2. Quit your web browser and 1Password, if it's running

    3. Open your Applications folder and drag 1Password to the Trash

    4. Install the new copy of 1Password you just downloaded

    5. Run 1Password and then your web browser



    Your information is stored in a data file separate from the application, so it will not be harmed by this procedure.



    Please let me know if you are still experiencing this issue in 3.4.3.BETA-2. Thanks!
  • [quote name='khad' timestamp='1285285336' post='11920']

    Please let me know if you are still experiencing this issue in 3.4.3.BETA-2. Thanks!

    [/quote]



    That fix worked (apparently, won't know for sure until the next beta release). I was previously running 3.4.0 beta 4 and, apparently, got stuck on that version because of the error.
  • danethomas
    danethomas Junior Member
    I'm running Version 3.4.3.BETA-2 (build 30752) and I've had this problem for some time.



    I usually get it after running a search in 1Password.



    Any other ideas?
  • I'm still experiecing the issue in 3.4.3.BETA-2.

    [attachment=267:Screen shot 2010-09-26 at 9.50.48 PM.PNG]

    [attachment=266:Screen shot 2010-09-26 at 9.51.00 PM.PNG]
  • khad
    khad Social Choreographer
    We did just post a new BETA 3, but I am not certain it will fix the problem.



    Just to be clear — I want to make sure we are duplicating this correctly — the error message only happens when 1Password is listed in your System Preferences > Accounts > Login Items and launches at startup? Or does it occur at other times as well? Try removing it from the Login Items list and see if the error message still occurs. I thought we had this, but I may have been mistaken. I am sorry you are still experiencing this. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />
  • jaingaurav2
    jaingaurav2 Junior Member
    [quote name='khad' timestamp='1285612261' post='12137']

    We did just post a new BETA 3, but I am not certain it will fix the problem.



    Just to be clear — I want to make sure we are duplicating this correctly — the error message only happens when 1Password is listed in your System Preferences > Accounts > Login Items and launches at startup? Or does it occur at other times as well? Try removing it from the Login Items list and see if the error message still occurs. I thought we had this, but I may have been mistaken. I am sorry you are still experiencing this. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_sadsmile.png' class='bbc_emoticon' alt=':-(' />

    [/quote]



    Actually I'm having it on Beta 2 again, and I don't have 1Password set to start on login. I'm seeing it with the following steps:



    1. Load 1Password

    2. Select entry (say a credit card)

    3. Click copy on a field, for example the credit card number

    4. Wait 10 seconds.



    I then get:



    NSInvalidArgumentException

    Exception: -[NSCFNumber isEqualToString:]: unrecognized selector sent to instance 0x100421700
  • khad
    khad Social Choreographer
    jaingaurav2 and everyone,



    The issue was related to the automatic updater, so it would not have been triggered by any action or inaction on your part. We have fixed it in the latest beta (3.4.3.BETA-4):



    [url="http://aws.cachefly.net/aws/dmg/1PW3/English/1Password-3.4.3.BETA-4.zip"]Download 1Password 3.4.3.BETA-4[/url]



    (Or simply "Check for Updates…" with "Include beta versions" enabled in preferences.)



    Please let me know if the issue persists.
  • jaingaurav2
    jaingaurav2 Junior Member
    [quote name='khad' timestamp='1285695635' post='12253']

    jaingaurav2 and everyone,



    The issue was related to the automatic updater, so it would not have been triggered by any action or inaction on your part. We have fixed it in the latest beta (3.4.3.BETA-4):



    [url="http://aws.cachefly.net/aws/dmg/1PW3/English/1Password-3.4.3.BETA-4.zip"]Download 1Password 3.4.3.BETA-4[/url]



    (Or simply "Check for Updates…" with "Include beta versions" enabled in preferences.)



    Please let me know if the issue persists.

    [/quote]



    Thanks, no issues so far with Beta 4
  • nathanphicks
    nathanphicks Junior Member
    edited September 2010
    Same here. The problem seems to have been fixed in Beta 4. Thanks for your help!
  • fearoffish
    fearoffish Junior Member
    Looks good to me too. Thank you.
  • I've had the same problem. Mine was build 750, and would not update to beta-4 even after pressing "check now" and having the beta version box checked. The beta-4 does seem to resolve the error, though I won't know about the updater till you release a new version.
  • khad
    khad Social Choreographer
    Well, Eric? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    We just released 3.4.4 yesterday. How is it looking? Let me know.



    Thanks!