Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash upon connecting to replset -- NSInvalidArgumentException #101

Closed
theJC opened this issue Oct 29, 2013 · 14 comments
Closed

Crash upon connecting to replset -- NSInvalidArgumentException #101

theJC opened this issue Oct 29, 2013 · 14 comments

Comments

@theJC
Copy link

theJC commented Oct 29, 2013

Application Specific Information:
* Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
terminate called throwing an exception
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff85052b06 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff840a33f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff8500327a -[__NSArrayM insertObject:atIndex:] + 282
3 MongoHub 0x0000000100043051 __43-[MODServer fetchDatabaseListWithCallback:]_block_invoke + 769
4 MongoHub 0x0000000100041527 __29-[MODServer addQueryInQueue:]_block_invoke + 71
5 Foundation 0x00007fff845239cf -[NSBlockOperation main] + 124
6 Foundation 0x00007fff844f9926 -[__NSOperationInternal start] + 684
7 Foundation 0x00007fff845010f1 __block_global_6 + 129
8 libdispatch.dylib 0x00007fff8a9e0f01 _dispatch_call_block_and_release + 15
9 libdispatch.dylib 0x00007fff8a9dd0b6 _dispatch_client_callout + 8
10 libdispatch.dylib 0x00007fff8a9de1fa _dispatch_worker_thread2 + 304
11 libsystem_c.dylib 0x00007fff84877cdb _pthread_wqthread + 404
12 libsystem_c.dylib 0x00007fff84862191 start_wqthread + 13

@jeromelebel
Copy link
Owner

Can you reproduce it?

@theJC
Copy link
Author

theJC commented Oct 29, 2013

Every time I launch and attempt to connect to my mongo servers at work,this happens now, so I am no longer able to use MongoHub.

Its been some time since I used it, and I allowed it to auto-update, so I'm not sure which version introduced this issue.

@jeromelebel
Copy link
Owner

Can you try this version : https://mongohub.s3.amazonaws.com/MongoHub-test.zip ? Let me know what you have in the console just before the crash.

@theJC
Copy link
Author

theJC commented Oct 29, 2013

In the UI right before the crash, I've doube clicked on my replset, and
another window showed up to show the details it showed "Connecting" and
then "Server Stats" then kaboom.

Crashed Thread: 6 Dispatch queue: com.apple.root.default-priority

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
* Terminating app due to uncaught exception 'NSInvalidArgumentException',
reason: '
* -[__NSArrayM insertObject:atIndex:]: object cannot be nil'
terminate called throwing an exception
abort() called

Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff85052b06
__exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff840a33f0
objc_exception_throw + 43
2 CoreFoundation 0x00007fff8500327a -[__NSArrayM
insertObject:atIndex:] + 282
3 MongoHub 0x0000000100043051 __43-[MODServer
fetchDatabaseListWithCallback:]_block_invoke + 769
4 MongoHub 0x0000000100041527 __29-[MODServer
addQueryInQueue:]_block_invoke + 71
5 Foundation 0x00007fff845239cf
-[NSBlockOperation main] + 124
6 Foundation 0x00007fff844f9926
-[__NSOperationInternal start] + 684
7 Foundation 0x00007fff845010f1 __block_global_6

  • 129
    8 libdispatch.dylib 0x00007fff8a9e0f01
    _dispatch_call_block_and_release + 15
    9 libdispatch.dylib 0x00007fff8a9dd0b6
    _dispatch_client_callout + 8
    10 libdispatch.dylib 0x00007fff8a9de1fa
    _dispatch_worker_thread2 + 304
    11 libsystem_c.dylib 0x00007fff84877cdb
    _pthread_wqthread + 404
    12 libsystem_c.dylib 0x00007fff84862191 start_wqthread +
    13

On Tue, Oct 29, 2013 at 2:25 PM, Jérôme Lebel [email protected]:

Can you try this version :
https://mongohub.s3.amazonaws.com/MongoHub-test.zip ? Let me know what
you have in the console just before the crash.


Reply to this email directly or view it on GitHubhttps://github.com//issues/101#issuecomment-27335056
.

@jeromelebel
Copy link
Owner

The message should be in the console application. Or the best is to launch the application from the terminal.

@theJC
Copy link
Author

theJC commented Oct 29, 2013

~/Downloads/MongoHub.app/Contents/MacOS/MongoHub

WARNING: mongo_replset_init() is deprecated, please use
mongo_replica_set_init()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_connect() is deprecated, please use
mongo_replica_set_client()
2013-10-29 16:20:45.803 MongoHub[72562:4123] Database with no name {
"sorted_keys" = (
sizeOnDisk,
empty
);
empty = 1;
sizeOnDisk = 1;
}
2013-10-29 16:20:45.804 MongoHub[72562:4123] *** Assertion failure in
-[MODServer fetchDatabaseListWithCallback:],
/Users/jerome/Sources/MongoHub-Mac/Libraries/mongo-objc-driver/Sources/MODServer.m:227
2013-10-29 16:20:45.804 MongoHub[72562:4123] An uncaught exception was
raised
2013-10-29 16:20:45.805 MongoHub[72562:4123] no name
2013-10-29 16:20:45.808 MongoHub[72562:4123] (
0 CoreFoundation 0x00007fff85052b06
__exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff840a33f0
objc_exception_throw + 43
2 CoreFoundation 0x00007fff85052948 +[NSException
raise:format:arguments:] + 104
3 Foundation 0x00007fff844774c2
-[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] + 189
4 MongoHub 0x0000000103aa6ee3 __43-[MODServer
fetchDatabaseListWithCallback:]_block_invoke + 1043
5 MongoHub 0x0000000103aa5297 __29-[MODServer
addQueryInQueue:]_block_invoke + 71
6 Foundation 0x00007fff845239cf
-[NSBlockOperation main] + 124
7 Foundation 0x00007fff844f9926
-[__NSOperationInternal start] + 684
8 Foundation 0x00007fff845010f1 __block_global_6

  • 129
    9 libdispatch.dylib 0x00007fff8a9e0f01
    _dispatch_call_block_and_release + 15
    10 libdispatch.dylib 0x00007fff8a9dd0b6
    _dispatch_client_callout + 8
    11 libdispatch.dylib 0x00007fff8a9de1fa
    _dispatch_worker_thread2 + 304
    12 libsystem_c.dylib 0x00007fff84877cdb
    _pthread_wqthread + 404
    13 libsystem_c.dylib 0x00007fff84862191 start_wqthread +
    13
    )
    2013-10-29 16:20:45.809 MongoHub[72562:4123] *** Terminating app due to
    uncaught exception 'NSInternalInconsistencyException', reason: 'no name'
    *** First throw call stack:
    (
    0 CoreFoundation 0x00007fff85052b06
    __exceptionPreprocess + 198
    1 libobjc.A.dylib 0x00007fff840a33f0
    objc_exception_throw + 43
    2 CoreFoundation 0x00007fff85052948 +[NSException
    raise:format:arguments:] + 104
    3 Foundation 0x00007fff844774c2
    -[NSAssertionHandler
    handleFailureInMethod:object:file:lineNumber:description:] + 189
    4 MongoHub 0x0000000103aa6ee3 __43-[MODServer
    fetchDatabaseListWithCallback:]_block_invoke + 1043
    5 MongoHub 0x0000000103aa5297 __29-[MODServer
    addQueryInQueue:]_block_invoke + 71
    6 Foundation 0x00007fff845239cf
    -[NSBlockOperation main] + 124
    7 Foundation 0x00007fff844f9926
    -[__NSOperationInternal start] + 684
    8 Foundation 0x00007fff845010f1 __block_global_6
  • 129
    9 libdispatch.dylib 0x00007fff8a9e0f01
    _dispatch_call_block_and_release + 15
    10 libdispatch.dylib 0x00007fff8a9dd0b6
    _dispatch_client_callout + 8
    11 libdispatch.dylib 0x00007fff8a9de1fa
    _dispatch_worker_thread2 + 304
    12 libsystem_c.dylib 0x00007fff84877cdb
    _pthread_wqthread + 404
    13 libsystem_c.dylib 0x00007fff84862191 start_wqthread +
    13
    )
    libc++abi.dylib: terminate called throwing an exception
    Abort trap: 6

On Tue, Oct 29, 2013 at 4:03 PM, Jérôme Lebel [email protected]:

The message should be in the console application. Or the best is to launch
the application from the terminal.


Reply to this email directly or view it on GitHubhttps://github.com//issues/101#issuecomment-27343172
.

@jeromelebel
Copy link
Owner

You have a database with no name... that's weird.

@jeromelebel
Copy link
Owner

What is the result when you do : "show dbs" in mongo?

@jeromelebel
Copy link
Owner

Can you try again with: https://mongohub.s3.amazonaws.com/MongoHub-test2.zip ?

@theJC
Copy link
Author

theJC commented Oct 30, 2013

jchristiansen@HA001920:~$ ~/Downloads/MongoHub.app/Contents/MacOS/MongoHub
WARNING: mongo_replset_init() is deprecated, please use
mongo_replica_set_init()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_add_seed() is deprecated, please use
mongo_replica_set_add_seed()
WARNING: mongo_replset_connect() is deprecated, please use
mongo_replica_set_client()
2013-10-30 13:35:41.118 MongoHub[90439:432f] Database with no name {
"sorted_keys" = (
databases,
totalSize,
ok
);
databases = (
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 0;\n name = local;\n
sizeOnDisk = 2364538880;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 0;\n name =
mongoDbHashDaoTest;\n sizeOnDisk = 218103808;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 0;\n name = c3p0;\n
sizeOnDisk = 218103808;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
1380348563;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"<script>cross_site_scripting";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"<script>document";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = CFIDE;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = CVS;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
ConsoleHelp;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = DB4Web;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = HNAP1;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = IDMProv;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = MSWSMTP;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = NASApp;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = OvCgi;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = PUBLIC;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
Reporting;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = Sametime;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
SilverStream;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
SiteScope;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
SnoopServlet;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"WEB-INF";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = Webcam;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
Wsusadmin;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"_vti_bin";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = admin;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
altercast;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = apex;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = app;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
authenticate;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = axis;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = bigipgui;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
brightmail;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = builtin;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
caspadmin;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"cgi-bin";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = chassis;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = com;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
commoncgi;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = content;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = dagent;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = dev;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = dms2;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = doc;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = dwr;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = dyndev;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = en;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = etc;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = ews;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = examples;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = exchange;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = exchweb;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = f360;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = fogbugz;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = forum;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
hazelcast;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = help;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = horde;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = html;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = idm;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = ifx;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
iisadmpwd;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
iisprotect;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
iissamples;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = imp;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
interscan;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
intruvert;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = invoker;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = ivc2;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = js;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = ldap;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = mail;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = mainui;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = manual;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = map;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = mve;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = mxhelp;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = nnm;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = nps;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = pda;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = perl;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = php;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"platform-ui";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = pls;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = qwe;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"rails_info";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = rdweb;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = sabin;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = sapmc;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = sc3;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = scmadmin;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = scripts;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = search;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"securecgi-bin";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = servlet;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = setup;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = shared;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = sitemap;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = snoop;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = stream;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = struts;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"struts-showcase";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"struts2-showcase";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = support;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = sws;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = system;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = test;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = tmui;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"tomcat-docs";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = view;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = wcd;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"web-console";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = xampp;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name = xsql;\n
sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n name,\n
sizeOnDisk,\n empty\n );\n empty = 1;\n name =
"~nobody";\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n sizeOnDisk,\n
empty\n );\n empty = 1;\n sizeOnDisk = 1;\n}",
"{\n "sorted_keys" = (\n sizeOnDisk,\n
empty\n );\n empty = 1;\n sizeOnDisk = 1;\n}"
);
ok = 1;
totalSize = 2800746496;
}
2013-10-30 13:35:41.125 MongoHub[90439:432f] *** Assertion failure in
-[MODServer fetchDatabaseListWithCallback:],
/Users/jerome/Sources/MongoHub-Mac/Libraries/mongo-objc-driver/Sources/MODServer.m:227
2013-10-30 13:35:41.125 MongoHub[90439:432f] An uncaught exception was
raised
2013-10-30 13:35:41.126 MongoHub[90439:432f] no name
2013-10-30 13:35:41.128 MongoHub[90439:432f] (
0 CoreFoundation 0x00007fff85052b06
__exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff840a33f0
objc_exception_throw + 43
2 CoreFoundation 0x00007fff85052948 +[NSException
raise:format:arguments:] + 104
3 Foundation 0x00007fff844774c2
-[NSAssertionHandler
handleFailureInMethod:object:file:lineNumber:description:] + 189
4 MongoHub 0x000000010164cee3 __43-[MODServer
fetchDatabaseListWithCallback:]_block_invoke + 1043
5 MongoHub 0x000000010164b297 __29-[MODServer
addQueryInQueue:]_block_invoke + 71
6 Foundation 0x00007fff845239cf
-[NSBlockOperation main] + 124
7 Foundation 0x00007fff844f9926
-[__NSOperationInternal start] + 684
8 Foundation 0x00007fff845010f1 __block_global_6

  • 129
    9 libdispatch.dylib 0x00007fff8a9e0f01
    _dispatch_call_block_and_release + 15
    10 libdispatch.dylib 0x00007fff8a9dd0b6
    _dispatch_client_callout + 8
    11 libdispatch.dylib 0x00007fff8a9de1fa
    _dispatch_worker_thread2 + 304
    12 libsystem_c.dylib 0x00007fff84877cdb
    _pthread_wqthread + 404
    13 libsystem_c.dylib 0x00007fff84862191 start_wqthread +
    13
    )
    2013-10-30 13:35:41.129 MongoHub[90439:432f] *** Terminating app due to
    uncaught exception 'NSInternalInconsistencyException', reason: 'no name'
    *** First throw call stack:
    (
    0 CoreFoundation 0x00007fff85052b06
    __exceptionPreprocess + 198
    1 libobjc.A.dylib 0x00007fff840a33f0
    objc_exception_throw + 43
    2 CoreFoundation 0x00007fff85052948 +[NSException
    raise:format:arguments:] + 104
    3 Foundation 0x00007fff844774c2
    -[NSAssertionHandler
    handleFailureInMethod:object:file:lineNumber:description:] + 189
    4 MongoHub 0x000000010164cee3 __43-[MODServer
    fetchDatabaseListWithCallback:]_block_invoke + 1043
    5 MongoHub 0x000000010164b297 __29-[MODServer
    addQueryInQueue:]_block_invoke + 71
    6 Foundation 0x00007fff845239cf
    -[NSBlockOperation main] + 124
    7 Foundation 0x00007fff844f9926
    -[__NSOperationInternal start] + 684
    8 Foundation 0x00007fff845010f1 __block_global_6
  • 129
    9 libdispatch.dylib 0x00007fff8a9e0f01
    _dispatch_call_block_and_release + 15
    10 libdispatch.dylib 0x00007fff8a9dd0b6
    _dispatch_client_callout + 8
    11 libdispatch.dylib 0x00007fff8a9de1fa
    _dispatch_worker_thread2 + 304
    12 libsystem_c.dylib 0x00007fff84877cdb
    _pthread_wqthread + 404
    13 libsystem_c.dylib 0x00007fff84862191 start_wqthread +
    13
    )
    libc++abi.dylib: terminate called throwing an exception
    Abort trap: 6

On Tue, Oct 29, 2013 at 4:27 PM, Jérôme Lebel [email protected]:

Can you try again with:
https://mongohub.s3.amazonaws.com/MongoHub-test2.zip ?


Reply to this email directly or view it on GitHubhttps://github.com//issues/101#issuecomment-27345105
.

@theJC
Copy link
Author

theJC commented Oct 30, 2013

Blanked out over some hostnames, but here's a screenshot of the config for
the replset connection setup.

@jeromelebel
Copy link
Owner

With "show dbs" what do you have?

jeromelebel pushed a commit to jeromelebel/MongoObjCDriver that referenced this issue Nov 13, 2013
jeromelebel pushed a commit to jeromelebel/MongoObjCDriver that referenced this issue Nov 13, 2013
jeromelebel pushed a commit that referenced this issue Nov 13, 2013
@jeromelebel
Copy link
Owner

Fixed in 2.5.14, I let you close this issue after testing this new release.

@jeromelebel
Copy link
Owner

I'm guessing ti works now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants