View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003785 | SOGo | Web Address Book | public | 2016-08-02 09:55 | 2016-12-22 19:33 |
Reporter | sggs | Assigned To | ludovic | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | [Server] Linux | OS | Debian | OS Version | 8 (Jessie) |
Product Version | 3.1.4 | ||||
Summary | 0003785: unable to retrieve gloabaladress list by means of webdav | ||||
Description | trying to retrieve the global address list from a sogo-3.1.4 server resaults in an error message .. the following lines in the server log seem to be realated to this issue .. the same holds true for the latest nightly build Version 3.1.4 (@shiva.inverse 201608020641) | ||||
Steps To Reproduce | execute curl --user 'USR:PWD' -X PROPFIND 'http://sogo3.example.com/SOGo/dav/USR/Contacts/directory/' against a 3.1.4 server | ||||
Additional Information | executing curl --user 'USR:PWD' -X PROPFIND 'http://sogo2.example.com/SOGo/dav/USR/Contacts/directory/' against a sogo 2.3.12 server returns the desired information | ||||
Tags | No tags attached. | ||||
Can you provide an LDAP entry that triggers this exception? |
|
if a single ldap entry does trigger this exception, i need a hint what to search for in our 600+ ldap entries. any idea? |
|
The issue is probably caused by an attribute expected to have a single value but has many values. You can try debugging it yourself: https://sogo.nu/nc/support/faq/article/how-do-i-debug-sogo-2.html |
|
stacktrc-1.txt (9,011 bytes)
Breakpoint 1, -[NSException raise] (self=0x5555561803a0, _cmd=0x7ffff5875fc0 <_OBJC_SELECTOR_TABLE+384>) at NSException.m:960 960 NSException.m: No such file or directory. (gdb) bt #0 -[NSException raise] (self=0x5555561803a0, _cmd=0x7ffff5875fc0 <_OBJC_SELECTOR_TABLE+384>) at NSException.m:960 #1 0x00007ffff538c7a3 in +[NSException raise:format:] (self=0x7ffff58762c0 <_OBJC_Class_NSException>, _cmd=<optimized out>, name=0x7ffff5876950 <_OBJC_INSTANCE_4>, format=0x7ffff58a57b0 <_OBJC_INSTANCE_10>) at NSException.m:840 #2 0x00007ffff53e07f6 in -[NSObject doesNotRecognizeSelector:] (self=0x555556066b00, _cmd=<optimized out>, aSelector=<optimized out>) at NSObject.m:1765 #3 0x00007ffff54a0fd3 in GSFFIInvocationCallback (cif=0x5555561803a0, retp=0x7fffffffb690, args=0x555556220160, user=0x555556293bd0) at GSFFIInvocation.m:629 #4 0x00007ffff182abaf in ffi_closure_unix64_inner () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #5 0x00007ffff182af28 in ffi_closure_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6 #6 0x00007ffff703c265 in -[NSArray(NGCardsVersit) _renderAsSubValuesInString:asAttributes:] (self=0x555556246cf0, _cmd=0x7ffff72672a0 <_OBJC_SELECTOR_TABLE+160>, aString=0x55555618d410, asAttributes=0 '\000') at NSDictionary+NGCards.m:62 #7 0x00007ffff703c3c1 in -[NSArray(NGCardsVersit) _renderAsOrderedValuesInString:withKey:] (self=0x555556246c60, _cmd=0x7ffff7267350 <_OBJC_SELECTOR_TABLE+336>, aString=0x55555618d3d0, key=0x7ffff727f3e0 <_OBJC_INSTANCE_27>) at NSDictionary+NGCards.m:90 #8 0x00007ffff703c8ed in -[NSDictionary(NGCardsExtension) versitRenderInString:withKeyOrdering:asAttributes:] (self=0x5555561ac0e0, _cmd=0x7ffff726b4e0 <_OBJC_SELECTOR_TABLE+288>, aString=0x555555fd5660, ordering=0x0, asAttributes=0 '\000') at NSDictionary+NGCards.m:174 #9 0x00007ffff7042514 in -[CardVersitRenderer renderElement:] (self=0x5555561da120, _cmd=0x7ffff726b400 <_OBJC_SELECTOR_TABLE+64>, anElement=0x555556161190) at CardVersitRenderer.m:87 #10 0x00007ffff70421cf in -[CardVersitRenderer render:] (self=0x5555561da120, _cmd=0x7ffff726b5d0 <_OBJC_SELECTOR_TABLE+528>, anElement=0x555556161190) at CardVersitRenderer.m:47 #11 0x00007ffff7042968 in -[CardVersitRenderer renderGroup:] (self=0x5555561da120, _cmd=0x7ffff726b3f0 <_OBJC_SELECTOR_TABLE+48>, aGroup=0x5555561b1500) at CardVersitRenderer.m:151 #12 0x00007ffff70421a4 in -[CardVersitRenderer render:] (self=0x5555561da120, _cmd=0x7ffff72697e0 <_OBJC_SELECTOR_TABLE+736>, anElement=0x5555561b1500) at CardVersitRenderer.m:47 #13 0x00007ffff70400ae in -[CardElement versitString] (self=0x5555561b1500, _cmd=0x7ffff72800b0 <_OBJC_SELECTOR_TABLE+560>) at CardElement.m:485 #14 0x00007ffff705a703 in -[NGVCard versitString] (self=0x5555561b1500, _cmd=0x7fffecdf1190 <_OBJC_SELECTOR_TABLE+144>) at NGVCard.m:493 #15 0x00007fffecbdee65 in -[SOGoContactLDIFEntry contentAsString] (self=0x5555561a9d50, _cmd=0x7fffecdf12a0 <_OBJC_SELECTOR_TABLE+416>) at SOGoContactLDIFEntry.m:80 #16 0x00007fffecbdf2dd in -[SOGoContactLDIFEntry davEntityTag] (self=0x5555561a9d50, _cmd=0x555555fb8bf0) at SOGoContactLDIFEntry.m:152 #17 0x00007ffff53bee22 in ValueForKey (size=12, key=0x7fffffffbb00 "davEntityTag", self=0x5555561a9d50) at NSKeyValueCoding.m:236 #18 -[NSObject(KeyValueCoding) valueForKey:] (self=0x5555561a9d50, _cmd=<optimized out>, aKey=<optimized out>) at NSKeyValueCoding.m:529 #19 0x00007ffff53bbb5e in -[NSObject(KeyValueCoding) dictionaryWithValuesForKeys:] (self=0x5555561a9d50, _cmd=<optimized out>, keys=<optimized out>) at NSKeyValueCoding.m:272 #20 0x00007ffff6cd4ac6 in -[SoObjectDataSource davFlatQuery:inContext:] (self=0x555555dc84d0, _cmd=0x7ffff700cc30 <_OBJC_SELECTOR_TABLE+816>, _fs=0x555555f73ba0, _ctx=0x555555e92d00) at SoObjectDataSource.m:204 #21 0x00007ffff6cd500b in -[SoObjectDataSource fetchObjects] (self=0x555555dc84d0, _cmd=0x7ffff700c0a0 <_OBJC_SELECTOR_TABLE+608>) at SoObjectDataSource.m:277 #22 0x00007ffff6cd35fc in -[NSObject(SoObjectDAVQueries) performWebDAVDeepQuery:inContext:] (self=0x555555ebbba0, _cmd=0x7ffff700c260 <_OBJC_SELECTOR_TABLE+1056>, _fs=0x555555f73ba0, _ctx=0x555555e92d00) at SoObject+SoDAVQuery.m:150 #23 0x00007ffff6cd4113 in -[NSObject(SoObjectDAVQueries) performWebDAVQuery:inContext:] (self=0x555555ebbba0, _cmd=0x7ffff700f3a0 <_OBJC_SELECTOR_TABLE+1440>, _fs=0x555555f73ba0, _ctx=0x555555e92d00) at SoObject+SoDAVQuery.m:304 #24 0x00007ffff6cd73bf in -[SoObjectWebDAVDispatcher doPROPFIND:] (self=0x555555ee2cd0, _cmd=0x555555ab4dd0, _ctx=0x555555e92d00) at SoObjectWebDAVDispatcher.m:550 #25 0x00007ffff6cdbf4e in -[SoObjectWebDAVDispatcher performMethod:inContext:] (self=0x555555ee2cd0, _cmd=0x7ffff700f830 <_OBJC_SELECTOR_TABLE+2608>, _method=0x7ffff6f89ea0 <_OBJC_INSTANCE_17>, _ctx=0x555555e92d00) at SoObjectWebDAVDispatcher.m:1740 #26 0x00007ffff6cdc241 in -[SoObjectWebDAVDispatcher dispatchInContext:] (self=0x555555ee2cd0, _cmd=0x7ffff6ff2040 <_OBJC_SELECTOR_TABLE+1536>, _ctx=0x555555e92d00) at SoObjectWebDAVDispatcher.m:1775 #27 0x00007ffff6cb711c in -[SoObjectRequestHandler handleRequest:inContext:session:application:] (self=0x555555a7ecb0, _cmd=0x7ffff6f76450 <_OBJC_SELECTOR_TABLE+848>, _rq=0x555555eb3720, _ctx=0x555555e92d00, _sn=0x0, app=0x555555b233b0) at SoObjectRequestHandler.m:584 #28 0x00007ffff6c3e685 in -[WORequestHandler handleRequest:] (self=0x555555a7ecb0, _cmd=0x7ffff6f40110 <_OBJC_SELECTOR_TABLE+1616>, _request=0x555555eb3720) at WORequestHandler.m:237 #29 0x00007ffff6bff9cc in -[WOCoreApplication dispatchRequest:usingHandler:] (self=0x555555b233b0, _cmd=0x7ffff6f40160 <_OBJC_SELECTOR_TABLE+1696>, _request=0x555555eb3720, handler=0x555555a7ecb0) at WOCoreApplication.m:712 #30 0x00007ffff6bffcf3 in -[WOCoreApplication dispatchRequest:] (self=0x555555b233b0, _cmd=0x555555763cf0 <_OBJC_SELECTOR_TABLE+1648>, _request=0x555555eb3720) at WOCoreApplication.m:752 #31 0x000055555555c8b6 in -[SOGo dispatchRequest:] (self=0x555555b233b0, _cmd=0x7ffff6fda760 <_OBJC_SELECTOR_TABLE+1824>, _request=0x555555eb3720) at SOGo.m:565 #32 0x00007ffff6ca5cc2 in -[WOHttpTransaction _run] (self=0x555555fabe30, _cmd=0x7ffff6fda790 <_OBJC_SELECTOR_TABLE+1872>) at WOHttpTransaction.m:596 #33 0x00007ffff6ca6038 in -[WOHttpTransaction run] (self=0x555555fabe30, _cmd=0x7ffff6fd8450 <_OBJC_SELECTOR_TABLE+1168>) at WOHttpTransaction.m:649 #34 0x00007ffff6ca1be0 in -[WOHttpAdaptor runConnection:] (self=0x555555d4c5c0, _cmd=0x7ffff6fd84f0 <_OBJC_SELECTOR_TABLE+1328>, _socket=0x555555dd5e90) at WOHttpAdaptor.m:373 #35 0x00007ffff6ca1e00 in -[WOHttpAdaptor _handleAcceptedConnection:] (self=0x555555d4c5c0, _cmd=0x7ffff6fd8500 <_OBJC_SELECTOR_TABLE+1344>, _connection=0x555555dd5e90) at WOHttpAdaptor.m:407 #36 0x00007ffff6ca220b in -[WOHttpAdaptor _handleConnection:] (self=0x555555d4c5c0, _cmd=0x7ffff6fd85a0 <_OBJC_SELECTOR_TABLE+1504>, connection=0x555555dd5e90) at WOHttpAdaptor.m:466 #37 0x00007ffff6ca2685 in -[WOHttpAdaptor acceptConnection:] (self=0x555555d4c5c0, _cmd=0x7ffff6fd8410 <_OBJC_SELECTOR_TABLE+1104>, _notification=0x555555fadf60) at WOHttpAdaptor.m:527 #38 0x00007ffff53cfd07 in -[NSNotificationCenter _postAndRelease:] (self=0x555555899890, _cmd=<optimized out>, notification=0x555555fadf60) at NSNotificationCenter.m:1307 #39 0x00007ffff606c622 in -[NSObject(FileObjectWatcher) receivedEvent:type:extra:forMode:] (self=0x555555d55c80, _cmd=0x7ffff5931430 <_OBJC_SELECTOR_TABLE+304>, _fdData=0x7, _type=ET_RDESC, _extra=0x7, _mode=0x7ffff58c0770 <_OBJC_INSTANCE_2>) at NSRunLoop+FileObjects.m:58 #40 0x00007ffff54dab3b in -[GSRunLoopCtxt pollUntil:within:] (self=<optimized out>, _cmd=0x7ffff58bf900 <_OBJC_SELECTOR_TABLE+1216>, milliseconds=<optimized out>, contexts=<optimized out>) at GSRunLoopCtxt.m:642 #41 0x00007ffff5418840 in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x5555558b6eb0, _cmd=0x7ffff5875fc0 <_OBJC_SELECTOR_TABLE+384>, mode=0x7ffff58c0770 <_OBJC_INSTANCE_2>, limit_date=0x555555b229c0) at NSRunLoop.m:1217 #42 0x00007ffff5418cf2 in -[NSRunLoop runMode:beforeDate:] (self=0x5555558b6eb0, _cmd=0x555555ae99f0, mode=0x7ffff58c0770 <_OBJC_INSTANCE_2>, date=0x5555558de940) at NSRunLoop.m:1288 #43 0x00007ffff6bff202 in -[WOCoreApplication run] (self=0x555555b233b0, _cmd=0x555555763a20 <_OBJC_SELECTOR_TABLE+928>) at WOCoreApplication.m:584 #44 0x000055555555bb4e in -[SOGo run] (self=0x555555b233b0, _cmd=0x7ffff6f620d0 <_OBJC_SELECTOR_TABLE+208>) at SOGo.m:326 #45 0x00007ffff6c29289 in WOApplicationMain (_appClassName=0x555555761a00 <_OBJC_INSTANCE_0>, argc=13, argv=0x7fffffffec68) at WOApplicationMain.m:42 #46 0x00007ffff6c49ba7 in WOWatchDogApplicationMain (appName=0x555555761a00 <_OBJC_INSTANCE_0>, argc=13, argv=0x7fffffffec68) at WOWatchDogApplicationMain.m:1049 #47 0x000055555555a949 in main (argc=13, argv=0x7fffffffec68, env=0x7fffffffecd8) at sogod.m:51 |
|
please find attached a stack trace |
|
solved indeed, the issue was triggered by an ldap attribute having 2 values where a single value was expected. as far as i am concerned, this ticket may be closed. thanks francis for your assistance. |
|
Which LDAP attribute had two values? Thanks! |
|
sn |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-08-02 09:55 | sggs | New Issue | |
2016-08-02 15:27 | francis | Note Added: 0010554 | |
2016-08-02 15:52 | sggs | Note Added: 0010555 | |
2016-08-02 16:01 | francis | Note Added: 0010556 | |
2016-08-02 17:05 | sggs | File Added: stacktrc-1.txt | |
2016-08-02 17:06 | sggs | Note Added: 0010557 | |
2016-08-03 07:23 | sggs | Note Added: 0010558 | |
2016-08-03 11:34 | ludovic | Note Added: 0010559 | |
2016-08-03 12:04 | sggs | Note Added: 0010560 | |
2016-12-22 19:33 | ludovic | Status | new => closed |
2016-12-22 19:33 | ludovic | Assigned To | => ludovic |
2016-12-22 19:33 | ludovic | Resolution | open => no change required |