TreeSet and Comparator problem

Hi all ,
I am using jdk1.3 , jbuilder4.0 , Apache Tomcat 1.3.14 and Window 98 and Access Database.
I have comparator code below which give me some problem
public int compare(Object x, Object y) {
CompanyJB a = (CompanyJB)x , b = (CompanyJB)y;
double aMinratio = a.getMinratio();
double bMinratio = b.getMinratio();
int aCompid = a.getCompanyid();
int bCompid = b.getCompanyid();
String aRankstr = a.getRank();
String bRankstr = b.getRank();
int tmp;
tmp = new Integer(aCompid).compareTo(new Integer(bCompid));
if (tmp == 0) {
return tmp;
tmp = a.getRank().compareTo(b.getRank());
if (tmp !=0) {
return tmp;
tmp = new Double(a.getMinratio()).compareTo(new Double(b.getMinratio()));
if (tmp !=0) {
return tmp;
return new Double(a.getMinratio()).compareTo(new Double(b.getMinratio()));
Client source code below :
TreeSet list2 = new TreeSet(new test());
//list2.add(new test(2,1.9,4.2,"NA")); // 1
list2.add(new test(11,8.5,8.5,"2")); // 3
list2.add(new test(1,0.6,0.6,"NA")); // 2
list2.add(new test(11,2.5,2.3,"NA")); // 4
list2.add(new test(12,0.3,0.3,"1")); // 5
list2.add(new test(2,1.9,1.2,"NA"));
list2.add(new test(12,0.9,0.9,"NA"));
Iterator iterator2 = list2.iterator();
while(iterator2.hasNext()){
System.out.println(((test)iterator2.next()).getCompanyid());
My problem is that the print out display duplicate company id "12" in the set.
It should not display the duplicate company id in the set.
What is the problem here ?? Anybody have ideas ??

Actually, a Set, as defined in java.util.Set, should not contain duplicate members. With SortedSets, however, there must also be consistency between equals() and the compareTo() (or Comparator.compare()). In other words, equal objects must sort to the same or an adjacent place in order for the Set semantics to work.
In your example, "equal" objects can appear in completely different positions in the sort order, throwing off this consistency. When adding, it's traversing the tree in Rank,MinRatio order. If by chance it runs across a node that has the same company id, it stops and leaves the trees alone (as it does with id=11). If you try graphing the tree out by hand using your compare() as left/right criteria (negative left, positive right, 0 don't change), it'll become immediately clear what's happening.
Also of interest: you'll find that you can't add test(34,1.9,1.2,"NA") to the list: because it's Rank and MinOrder is the same as the id=2 entry, it'll never get added.

Similar Messages

  • Treeset and Comparator

    I am trying to implement a schedule using a TreeSet and a Comparator.
    The TreeSet constructor receives a Comparator.
    Then I start adding objects that implement an Interface called ScehdulableInterface.
    All objects that implement this interface have a method:
    Public Date getDate()
    The Comparator compare method is defined like this:
    public int compare(Object o1, Object o2) {
    return ((SchedulableInterface)o1).getEndDate().compareTo(((SchedulableInterface)o2).getEndDate());
    My problem is the TreeSet is not accepting objects in the same date. Is there any other Collection that accepts the Comparator interface and accepts objects with the same date ?
    Thanks.
    Eli

    Of course with something like this:public int compare(Object o1, Object o2) {
       // checks for null and other error handling omitted...
       SchedulableInterface si1 = (SchedulableInterface) o1;
       SchedulableInterface si2 = (SchedulableInterface) o2;
       int endDateCompare = s1.getEndDate().compareTo(s2.getEndDate();
       if (endDateCompare == 0) {
           return s1.getSubject().compareTo(s2.getSubject());
       } else {
           return endDateCompare;

  • TreeSet and Comparable

    Say I have a class called Player which implements Comparable. And I want to put the Player object into a TreeSet. Inside the Player class I have a compareTo method. Will then the TreeSet be automatically use the compareTo method inside the Player class to put the Player elements inside the TreeSet??

    the weird tning is that whenever I tried to erase the
    compareTo method on the Player class, I can't
    add/remove player from the tree setRead the docs. You have to either provide elements that implement Comparable, or you have to provide a Comparator. Ignore reply 1. He doesn't know what he's talking about.

  • On save as: Unexpected and unrecoverable problem has occurred. Photoshop will now exit. (Mac 10.7.3)

    Hello,
    We are working on Macinthosh intel - Mac Pro Intel Xeon september 2007, with MacOs 10.7.3.
    After trying to install the beta version of Photoshop CS6, we got serious problems.
    - The CS5 Photoshop and Acrobat 9 is not working anymore.
    When we want to "save as…", both application will crash.
    When we do "save as weboptimized", un error says that the file already exists.
    We did not manage to install the CS6 Photoshop beta neither.
    I tried EVERYTHING supposed to do in other forums and in the adobe forums, like:
    - latest version of AdobeApplication Manager
    - Adobe cleaner tool
    - Adobe support advisor
    - cleaning manually everything on the disk which containes CS6
    - Reparing Autorisation
    - Trying to reinstall CS5 (but without issue
    - trash prefs
    - deactivate and reactivate PHotoshop
    and some others…
    When trying to "save as" or save as weboptimized…", the following errors appears:
    The operation could not be completed.
    An unexpected and unrecoverable problem has occurred. Photoshop will now exit.
    When trying to "save as weboptimized" the following error appears:
    A file or directory already exists with the same name.
    When exporting or "save as" in Acrobat:
    Acrobat is blocked, everything in the application menu is turned gray but there is not open window.
    I have to exit with "esc+Alt+Command"
    All this problems occured after installation of Photoshop Beta CS6, which could not be completed because of some more errors causing a licence conflict with CS5.
    We were also trying the Adobe support advisor, we got the following error massage:
    Exit Code: 16
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW039 ...
    -------------------------------------- Summary --------------------------------------
      - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW039: Failed to load deployment File
    AND
    Exit Code: 7
    Please see specific errors and warnings below for troubleshooting. For example,  ERROR: DW013 ... WARNING: DW017 ...
    -------------------------------------- Summary --------------------------------------
      - 0 fatal error(s), 1 error(s), 1 warning(s)
    WARNING: DW017: PayloadPolicyNode.SetAction: IN payload {463D65D7-CD43-4FAC-A6C7-7D24CB5DB93B} Adobe Media Player 1.8.0.0 is required by {7DFEBBA4-81E1-425B-BBAA-06E9E5BBD97E} Adobe Photoshop CS5 Core 12.0.0.0 but isn't free. Reason: Language not supported
    ERROR: DW013: Unable to locate volume for path. Please verify that path [UserDocuments] is a valid path. Please ensure that if any intermediate directories exist, they are valid directories and not files/symlinks
    Here is the content of the Crash Report:
    Process:    
    Adobe Photoshop CS5 [1403]
    Path:       
    /Applications/Adobe Photoshop CS5/Adobe Photoshop CS5.app/Contents/MacOS/Adobe Photoshop CS5
    Identifier: 
    com.adobe.Photoshop
    Version:    
    12.0.4 (12.0.4x20110407.r.1265] [12.0.4)
    Code Type:  
    X86-64 (Native)
    Parent Process:  launchd [299]
    Date/Time:  
    2012-04-17 10:10:50.329 +0200
    OS Version: 
    Mac OS X 10.7.3 (11D50)
    Report Version:  9
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Application Specific Information:
    objc[1403]: garbage collection is OFF
    abort() called
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib   
    0x00007fff86d78ce2 __pthread_kill + 10
    1   libsystem_c.dylib        
    0x00007fff90a0c7d2 pthread_kill + 95
    2   libsystem_c.dylib        
    0x00007fff909fda7a abort + 143
    3   com.adobe.Photoshop      
    0x00000001002369eb 0x100000000 + 2320875
    4   libc++abi.dylib          
    0x00007fff897d8001 safe_handler_caller(void (*)()) + 11
    5   libc++abi.dylib          
    0x00007fff897d7ff6 __cxxabiv1::__terminate(void (*)()) + 9
    6   libc++abi.dylib          
    0x00007fff897d8346 __cxa_call_terminate + 59
    7   libc++abi.dylib          
    0x00007fff897d87c3 __gxx_personality_v0 + 207
    8   libunwind.dylib          
    0x00007fff8a21f4c6 unwind_phase2 + 160
    9   libunwind.dylib          
    0x00007fff8a21e96e _Unwind_RaiseException + 218
    10  com.apple.FinderKit      
    0x00007fff8b3a2b64 -[FI_TColumnViewController closeTarget] + 243
    11  com.apple.FinderKit      
    0x00007fff8b3de1d0 -[FIFinderViewGutsController destroyBrowserView] + 238
    12  com.apple.FinderKit      
    0x00007fff8b3dbdcc -[FIFinderViewGutsController prepareToHide] + 369
    13  com.apple.FinderKit      
    0x00007fff8b3dbee4 -[FIFinderViewGutsController setExpanded:] + 44
    14  com.apple.FinderKit      
    0x00007fff8b3e40ab -[FIFinderView viewWillMoveToWindow:] + 265
    15  com.apple.AppKit         
    0x00007fff8c5b9e31 -[NSView _setWindow:] + 238
    16  com.apple.AppKit         
    0x00007fff8c4e6c08 __NSViewRecursionHelper + 25
    17  com.apple.CoreFoundation 
    0x00007fff8fbecea4 CFArrayApplyFunction + 68
    18  com.apple.AppKit         
    0x00007fff8c5ba766 -[NSView _setWindow:] + 2595
    19  com.apple.AppKit         
    0x00007fff8c4e6c08 __NSViewRecursionHelper + 25
    20  com.apple.CoreFoundation 
    0x00007fff8fbecea4 CFArrayApplyFunction + 68
    21  com.apple.AppKit         
    0x00007fff8c5ba766 -[NSView _setWindow:] + 2595
    22  com.apple.AppKit         
    0x00007fff8c4e6c08 __NSViewRecursionHelper + 25
    23  com.apple.CoreFoundation 
    0x00007fff8fbecea4 CFArrayApplyFunction + 68
    24  com.apple.AppKit         
    0x00007fff8c5ba766 -[NSView _setWindow:] + 2595
    25  com.apple.AppKit         
    0x00007fff8c4e6c08 __NSViewRecursionHelper + 25
    26  com.apple.CoreFoundation 
    0x00007fff8fbecea4 CFArrayApplyFunction + 68
    27  com.apple.AppKit         
    0x00007fff8c5ba766 -[NSView _setWindow:] + 2595
    28  com.apple.AppKit         
    0x00007fff8c6dfb57 -[NSWindow dealloc] + 1262
    29  com.apple.AppKit         
    0x00007fff8c9e34f4 -[NSSavePanel dealloc] + 612
    30  com.apple.AppKit         
    0x00007fff8c4e0145 -[NSWindow release] + 535
    31  libobjc.A.dylib          
    0x00007fff897ed03c (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 434
    32  com.apple.CoreFoundation 
    0x00007fff8fbecb05 _CFAutoreleasePoolPop + 37
    33  com.apple.Foundation     
    0x00007fff8423a51d -[NSAutoreleasePool release] + 154
    34  com.adobe.Photoshop      
    0x00000001012f2d2e AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16869522
    35  com.adobe.Photoshop      
    0x00000001000824f8 0x100000000 + 533752
    36  com.adobe.Photoshop      
    0x0000000100c3243c AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 9789344
    37  com.adobe.Photoshop      
    0x0000000100080e25 0x100000000 + 527909
    38  com.adobe.Photoshop      
    0x0000000100c327e2 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 9790278
    39  com.adobe.Photoshop      
    0x00000001004ca733 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 2024087
    40  com.adobe.Photoshop      
    0x0000000100074b6f 0x100000000 + 478063
    41  com.adobe.Photoshop      
    0x00000001000711ba 0x100000000 + 463290
    42  com.adobe.Photoshop      
    0x00000001000665d3 0x100000000 + 419283
    43  com.adobe.Photoshop      
    0x0000000100066696 0x100000000 + 419478
    44  com.adobe.Photoshop      
    0x00000001012e1ef4 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16800344
    45  com.apple.AppKit         
    0x00007fff8c4a31f2 -[NSApplication run] + 555
    46  com.adobe.Photoshop      
    0x00000001012e04a4 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16793608
    47  com.adobe.Photoshop      
    0x00000001012e0f01 AWS_CUI_GetVersionComments(OpaqueWindowPtr*, adobe::q::QDocument&, adobe::q::QString&, adobe::q::QAttributeList&, adobe::q::QDocument*, adobe::q::QProject*, long) + 16796261
    48  com.adobe.Photoshop      
    0x00000001000682e6 0x100000000 + 426726
    49  com.adobe.Photoshop      
    0x00000001002371f1 0x100000000 + 2322929
    50  com.adobe.Photoshop      
    0x0000000100237281 0x100000000 + 2323073
    51  com.adobe.Photoshop      
    0x00000001000022f4 0x100000000 + 8948
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib   
    0x00007fff86d797e6 kevent + 10
    1   libdispatch.dylib        
    0x00007fff84b045be _dispatch_mgr_invoke + 923
    2   libdispatch.dylib        
    0x00007fff84b0314e _dispatch_mgr_thread + 54
    Thread 2:
    0   libsystem_kernel.dylib   
    0x00007fff86d79192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff90a0c594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff90a0db85 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib   
    0x00007fff86d79192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff90a0c594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff90a0db85 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.amt.services   
    0x0000000108723c53 AMTConditionLock::LockWhenCondition(int) + 37
    3   com.adobe.amt.services   
    0x000000010871ccce _AMTThreadedPCDService::PCDThreadWorker(_AMTThreadedPCDService*) + 92
    4   com.adobe.amt.services   
    0x0000000108723cbe AMTThread::Worker(void*) + 28
    5   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    6   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 5:
    0   libsystem_kernel.dylib   
    0x00007fff86d79192 __workq_kernreturn + 10
    1   libsystem_c.dylib        
    0x00007fff90a0c594 _pthread_wqthread + 758
    2   libsystem_c.dylib        
    0x00007fff90a0db85 start_wqthread + 13
    Thread 6:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 7:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 8:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 9:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 10:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 11:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 12:
    0   libsystem_kernel.dylib   
    0x00007fff86d776ce semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore
    0x00007fff8761e3be MPWaitOnSemaphore + 77
    2   MultiProcessor Support   
    0x0000000110a00b93 ThreadFunction(void*) + 69
    3   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    4   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    5   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 13:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 14:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 15:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 16:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 17:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 18:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 19:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   AdobeACE                 
    0x000000010598b18d 0x105951000 + 237965
    6   AdobeACE                 
    0x000000010598ab3a 0x105951000 + 236346
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 20:
    0   libsystem_kernel.dylib   
    0x00007fff86d78e42 __semwait_signal + 10
    1   libsystem_c.dylib        
    0x00007fff909c0dea nanosleep + 164
    2   com.adobe.PSAutomate     
    0x00000001166dbe4b ScObjects::Thread::sleep(unsigned int) + 59
    3   com.adobe.PSAutomate     
    0x00000001166bdd83 ScObjects::BridgeTalkThread::run() + 163
    4   com.adobe.PSAutomate     
    0x00000001166dbf46 ScObjects::Thread::go(void*) + 166
    5   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    6   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 21:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 22:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 23:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 24:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 25:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 26:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 27:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 28:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.adobe.adobeswfl      
    0x000000012dbb289d APXGetHostAPI + 2465805
    3   com.adobe.adobeswfl      
    0x000000012d96b5e9 APXGetHostAPI + 77145
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 29:
    0   libsystem_kernel.dylib   
    0x00007fff86d7767a mach_msg_trap + 10
    1   libsystem_kernel.dylib   
    0x00007fff86d76d71 mach_msg + 73
    2   com.apple.CoreFoundation 
    0x00007fff8fbeb6fc __CFRunLoopServiceMachPort + 188
    3   com.apple.CoreFoundation 
    0x00007fff8fbf3e64 __CFRunLoopRun + 1204
    4   com.apple.CoreFoundation 
    0x00007fff8fbf3676 CFRunLoopRunSpecific + 230
    5   com.apple.CoreMediaIO    
    0x00007fff90148541 CMIO::DAL::RunLoop::OwnThread(void*) + 159
    6   com.apple.CoreMediaIO    
    0x00007fff9013e6b2 CAPThread::Entry(CAPThread*) + 98
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 30:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e2a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x000000012dbb2869 APXGetHostAPI + 2465753
    3   com.adobe.adobeswfl      
    0x000000012dbcf0ec APXGetHostAPI + 2582620
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 31:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e2a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x000000012dbb2869 APXGetHostAPI + 2465753
    3   com.adobe.adobeswfl      
    0x000000012dd4ce6f APXGetHostAPI + 4146655
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 32:
    0   libsystem_kernel.dylib   
    0x00007fff86d78d7a __recvfrom + 10
    1   ServiceManager-Launcher.dylib
    0x0000000119885982 Invoke + 54020
    2   ServiceManager-Launcher.dylib
    0x0000000119884adf Invoke + 50273
    3   ServiceManager-Launcher.dylib
    0x0000000119883b26 Invoke + 46248
    4   ServiceManager-Launcher.dylib
    0x0000000119883b81 Invoke + 46339
    5   ServiceManager-Launcher.dylib
    0x0000000119883c02 Invoke + 46468
    6   ServiceManager-Launcher.dylib
    0x000000011987e30d Invoke + 23695
    7   ServiceManager-Launcher.dylib
    0x000000011987e4a6 Invoke + 24104
    8   ServiceManager-Launcher.dylib
    0x000000011987ef2f Invoke + 26801
    9   ServiceManager-Launcher.dylib
    0x000000011987f01d Invoke + 27039
    10  ServiceManager-Launcher.dylib
    0x000000011988231f Invoke + 40097
    11  ServiceManager-Launcher.dylib
    0x00000001198825c5 Invoke + 40775
    12  ServiceManager-Launcher.dylib
    0x0000000119882b84 Invoke + 42246
    13  ServiceManager-Launcher.dylib
    0x0000000119882d71 Invoke + 42739
    14  ServiceManager-Launcher.dylib
    0x0000000119874daf Login + 1773
    15  ServiceManager-Launcher.dylib
    0x0000000119876295 Login + 7123
    16  ServiceManager-Launcher.dylib
    0x00000001198832a8 Invoke + 44074
    17  ServiceManager-Launcher.dylib
    0x00000001198856c1 Invoke + 53315
    18  libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    19  libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 33:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e2a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x000000012dbb2869 APXGetHostAPI + 2465753
    3   com.adobe.adobeswfl      
    0x000000012dbcf0ec APXGetHostAPI + 2582620
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 34:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e2a6 _pthread_cond_wait + 890
    2   com.adobe.adobeswfl      
    0x000000012dbb2869 APXGetHostAPI + 2465753
    3   com.adobe.adobeswfl      
    0x000000012dd4ce6f APXGetHostAPI + 4146655
    4   com.adobe.adobeswfl      
    0x000000012dbb29b1 APXGetHostAPI + 2466081
    5   com.adobe.adobeswfl      
    0x000000012dbb2d1a APXGetHostAPI + 2466954
    6   com.adobe.adobeswfl      
    0x000000012dbb2e49 APXGetHostAPI + 2467257
    7   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    8   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 35:
    0   libsystem_kernel.dylib   
    0x00007fff86d776b6 semaphore_wait_trap + 10
    1   com.adobe.CameraRaw      
    0x00000001279ec791 EntryFM + 2523937
    2   com.adobe.CameraRaw      
    0x0000000127a1eaa3 EntryFM + 2729523
    3   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    4   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 36:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   com.adobe.CameraRaw      
    0x00000001276e86c9 0x12749b000 + 2414281
    6   com.adobe.CameraRaw      
    0x00000001276e7920 0x12749b000 + 2410784
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 37:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   com.adobe.CameraRaw      
    0x00000001276e86c9 0x12749b000 + 2414281
    6   com.adobe.CameraRaw      
    0x00000001276e7920 0x12749b000 + 2410784
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 38:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   com.adobe.CameraRaw      
    0x00000001276e86c9 0x12749b000 + 2414281
    6   com.adobe.CameraRaw      
    0x00000001276e7920 0x12749b000 + 2410784
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13
    Thread 39:
    0   libsystem_kernel.dylib   
    0x00007fff86d78bca __psynch_cvwait + 10
    1   libsystem_c.dylib        
    0x00007fff90a0e274 _pthread_cond_wait + 840
    2   com.apple.CoreServices.CarbonCore
    0x00007fff87646bae TSWaitOnCondition + 106
    3   com.apple.CoreServices.CarbonCore
    0x00007fff875d928a TSWaitOnConditionTimedRelative + 127
    4   com.apple.CoreServices.CarbonCore
    0x00007fff8761dfd1 MPWaitOnQueue + 181
    5   com.adobe.CameraRaw      
    0x00000001276e86c9 0x12749b000 + 2414281
    6   com.adobe.CameraRaw      
    0x00000001276e7920 0x12749b000 + 2410784
    7   com.apple.CoreServices.CarbonCore
    0x00007fff8761ee36 PrivateMPEntryPoint + 58
    8   libsystem_c.dylib        
    0x00007fff90a0a8bf _pthread_start + 335
    9   libsystem_c.dylib        
    0x00007fff90a0db75 thread_start + 13

    Hi again,
    We found the solution. I trie to give some details, if some other folks have a similar problem, perhaps they can find their solution with everything discussed in this topic.
    All this was not working, after trying it several times:
         Disk Utility> Repair Disk & Repair Permissions
         Cocktail OSX (clear all caches)
         Reboot and test
         delete all printers
         then look for a CS6 cleaner like http://www.adobe.com/support/contact/cscleanertool.html
         rebuild diskstructure and filestructure with several utilities like Techtool, Onyx.
    We could not uninstall the complete Photoshop cs5 only, because in case of uninstalling the whole Mastercollection, this is much to much work to reinstall all of the extension from Dreamweaver which have to be activated and installed one by one.
    What has been working is:
          TRY a New User Account (to rule out User preference/settings) !!!
    So this gave us un idea:
    Compare the library of both USER-ACCOUNTS : "ALICE" and the new one we called "TEST".
    Then we RENAMED the following folders in the /USER/LIBRARY: "Caches", "Recent Servers", "Saved Application State" and crated a new folder with the same name (we deleted it after, in case there will be some problems to restore the old ones)
    We put all the INVISIBLE FILES and FOLDERS present in the USER folder which names are beginning with a .dot, like .filename (e.g.: ".adobe", ".bash_history", ".BridgeCache", etc.) into another folder which we are going to delete later on.
    Finally we deleted all files "suspected" not to be there in the ALICE user account, in comparision to the TEST USER ACCOUNT.
    And "miracle": Everything is working again, after 2 days of searching…
    Thanks to everyone of you.
    Best regards,
    Alice

  • Project Documentation tab: can you 'freeze' a graph so another can be added and compared against?

    I've been using the Project Documentation view recently to quickly compare dc signals against changes that I make to an electrical system. What I'm trying to do is capture a few seconds of a DC signal, stop acquisition, make a change in the system, then capture a few more seconds of the same signal and compare the two.
    Project Documentation view is nice because I can drag the graphs onto the document for quick on the fly comparison.
    Problem is, I drag a acquired signal's graph onto the document expecting the waveform to 'freeze' so that I can capture another segment of data and drag that graph onto the document for comparison. But once I acquire this second burst of data the first graph captures the live waveform, overwriting the baseline waveform I'm trying to compare against.
    Is there a way to screencapture or freeze the graph so that multiple graphs can be stacked within the document form without them all updating?
    SCXI- 1000 Chassis w/ 1346 adapter
    PCI 6281 DAQ card
    SCXI- 1520 Bridge Board w/ 1314 Terminal Block (x2)
    SCXI- 1180 Feedthrough Panel w/ 1302 Block
    Signal Express 2014.
    Win7 Enterprise

    Hi OKors,
    I’m not sure if you can do exactly what you want. If it were me, I would take the first reading, then save it to an LVM file, then take the second reading, store that to an LVM file, then load the files to compare.
    TimC
    National Instruments
    Applications Engineer

  • I want to make 2 thesaurus and compare between them?????????Help

    Hi everybody,
    I have a Problem,I want to make 2 thesaurus and compare between them.
    I mean : I have a File Like This-----with lexicographical Order----
    ENG GERMAN
    Any Jede
    I ich
    Two Zwei
    when i write a sentence an german the Program must look the synonym of English an write it.
    Please help me as soon as possible
    Thanks

    Cross posted:
    http://forum.java.sun.com/thread.jspa?threadID=5259185 http://forum.java.sun.com/thread.jspa?threadID=5259240

  • Dtrace and io problem

    Hi,
    We have an M4000 which is connected to numerous HDS USPV1 LUN's (not sure of the HDS configuration).
    The problem is when a Database load occurs the response time goes from 50ms upto 100ms. There is no io/wait, load average is low, no CPU or memory problems but %b on iostat is constantly at 99/100%.
    Im told the maximum number of IOPS from hds LUN is 720 (and there are 15 LUN's presented to zpool's).
    I turned to dtrace in the hope of finding something which would explain the problem but after reading up countless blogs, PDF's im still at a loss. I downloaded the dtrace toolkit and ran iotop, iosnoop etc etc which although produced a lot of info it was in fact too much info and didnt really show what the problem was (although didnt think it would be that easy).
    In fact when running iosnoop/iowait I received the following:
    dtrace: 679 dynamic variable drops
    dtrace: 1 dynamic variable drop with non-empty rinsing list
    dtrace: 664 dynamic variable drops with non-empty dirty list
    dtrace: 1712 dynamic variable drops
    dtrace: 2074 dynamic variable drops
    dtrace: 2123 dynamic variable drops
    I'll be investigating and reading up further on dtrace but in the meantime if anyone could point me in the direction of a dtrace command which could enlighten me as to the IO problem it would be appreciated. Appreciate its a far reaching question but anything would help!!!
    Thanks.

    Thanks try and go through them one by one.....
    the %b/busy column in iostat is commonly mis-understood. There is a good document in the my support knowledge base explaining why busy is at 100%. It hard to generalise but if %b is 100% with little signs of issues its normally the application (database in this case) is not utilising the hardware, eg going stuff in serials instead of parallel.
    What Does %b (or %Busy) Actually Mean in the Output of iostat(1M)? [ID 1003635.1]
    The 'dtrace: xxxx dynamic variable drops' messages are associated with the internal dtrace log buffers overfilling. Off the top of my head the easier way to address this is reduce the amount of data you are logging, increase the buffer size of increase the rate these buffers are flushed. Try looking at the following two documents. You may be interested in bufsize, dynvarsize and cleanrate.
    http://wikis.sun.com/display/DTrace/Buffers+and+Buffering
    http://wikis.sun.com/display/DTrace/Options+and+Tunables
    No idea where 720 IOPS came from. Very rough rule of thumbs is if you are getting 500 iops from a standard disk your are doing well. With someone workloads you may only see 150 iops. If you look at the specs for some of the arrays your talking 100k iops if not more.
    Stuff changes all the time but last time I looked response times within iostat are the amount of time an io is on the wire PLUS the time to complete that io in software PLUS the time to schedule the next io. So get the numbers iostat reports and compare it those the array is reporting. Are they the same (array saturated?) or different (software issue?) or something else.
    Anyway, play with dtrace and see what you can work out.
    All rather interesting for a nerd.

  • I allowed Apple updates about two weeks ago and now Safari is way too slow.  I have tried using Airport and Ethernet and the problem is the same.  Yesterday, I updgraded to Safari 5.1 and the problem is now worse.  Any solutions?

    I allowed Apple updates about two weeks ago and now Safari is way too slow.   I have tried using Airport and Ethernet and the problem is the same.  Yesterday, I upgraded to Safari 5.1 and now the problem is worse.  Any solutions?

    I can't stand peremptory affirmations like "Nothing is wrong with Safari".
    Thousands of users can't be wrong (see the discussions).
    If I read you the right way, it's never software' fault, it's the user who's the culprit.
    Amazing!
    In this very case, the fact is we can't give to "christinefromfonthill" a good solution because weren't sitting in front of her Mac.
    You give her a good advice which could, perhaps, lead to an improvement.
    But must also admit that Safari is a very slow browser compared to Firefox or Chrome.
    And you can't ignore all the problems which arose when upgrading to Lion and were related to the new build and specs of Safari 5.1.
    The best example is the apparition of "garbage type" (use of Last Resort font) when reading numerous sites. This never occured before and is the direct consequence of Safari compliance to Web Open Type. This standard prohibits the use of Type 1 Postscript Fonts and is the reason why so many people are in trouble.
    I use a Mac for more than 25 years.
    I am a very "clean" user who hates the bells and whistles of third party.
    My Mac is always up-to-date and despite all my Mac loving care, I run into some problems.
    Imagine the nightmare which can occurs for the vulgum pecus who isn't, by definition, a power user aware of all the requirements for running a System in optimal conditions.
    May be Safari is one step in advance on its time but lambda users are paying the price for it.

  • Need Help with Array.sort and compare

    Hi
    I have a big problem, i try to make a java class, where i can open a file and add new words, and to sort them in a right order
    Ok everthing works fine, but i get a problem with lower and upper cases.
    So i need a comparator, i tried everything but i just dont understand it.
    How do i use this with Array.sort??
    I hope someone can help me

    Okay, you want to ignore case when sorting.
    There are two possibilities: Truly ignore case, so that any of the following are possible, and which one you'll actually get is undefined, and may vary depending on, say, which order the words are entered in the first place:
    English english German german
    english English german German
    English english german German
    english English German german
    The second possibility is that you do consider case, but it's of lower priority--it's only considered if the letters are the same. This allows only the first two orderings above.
    Either way, you need to write a comparator, and call an Arrays.sort method that takes both array and Comparator.
    The first situation is simpler. Just get an all upper or lower case copy of the strings, and then compare thosepublic int compare(Object o1, Object o2) {
        String s1 = ((String)o1).toUpper();
        String s2 = ((String)o1).toUpper();
        return s1.compareTo(s2);
    } You'll need to add your own null check if you need one.
    For the second way, your comparator will need to iterate over each pair of characters. If the characters are equal, ignoring case, then you compare them based on case. You pick whether upper is greater or less than lower.
    Of course, the need to do this assumes that such a method doesn't alrady exist. I don't know of one, but I haven't looked.

  • I got the image on the vi,now I want to take rectangle potion from that image and compare with other image

    Hi,
    Now i have a image on VI ,i want to take rectangale postion of the image and compare with the other image(In this image also i need to take a small postionof it) and  show the result.
    Both image are equal or not....if it is equal show pass if the image is not ok fail.
    Regards,
    Sri.

    First i would like to thanks for the inputs,
    I have made one Vi for comparing the two images and display  equal or not.
    Problem:if there is a small change in the picture it is showing false ,but the image is ok only the contract ,clarity ,inclination is the problem... i need your help in controlling that image......like controlling the colors and telling if the color , shade, projection of the image of the image is in between this range show it as ok....
    i started with cluster taking the out put of the BMP file, but i am not able to do....can u help me on this.
    i am attaching the file what i have made...
    Regards,
    Sri
    Color
    Attachments:
    image.ppt ‏52 KB

  • Comparable and Comparator Interface - Collections

    Hi All
    Please let me know when to use Comparable interface and Comparator interface. ?
    Any sort of information is highly appreciable .
    Matt

    Matt wrote:
    @ jverd      
    So, when you googled, and found tutorials, and worked through those tutorials, and read the javadocs for those classes, what in particular did you not understand?If everything would work like that what will be the use of forums like this , It does work like that, for people who aren't lazy. The use of these forums, as indicated by my first reply, is among other things, when you've done your own research, as you should do, and run into something you don't understand.
    so dont try to be smart :(Maybe you should try to be smarter.
    Lets try not to abuse the forum with exchanges like this. The only abuse so far has been you expecting the forum to be a substitute for doing your own research.
    I know how to use Comparable and Comparator but dont know when to use these in a real time application.That statement says nothing about your problem. The only information it carries is that you don't know what the term "real time" means.

  • Arch64 and 2 problems

    hi folks,
    first problem
    i've just recently installed arch64 and read through the many pages of "world of warcraft" search in the forum.
    when i run it i get an error that says "Please install a 3D accelerator card with dual-TMU support." according to the gentoo wiki, it says to use a different nvidia drivers so i pulled nvidia-169 from the testing repo and that still happen.  has anyone gotten wow to run?  i'll try to set up a chroot environment later.
    second problem.
    installed mythtv and when i scan for channels i would get an error like so
    mythtv-setup: xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.
    tried reinstall libxcb and it doesn't seem to help.
    any ideas?
    solved the TMU issue, now wow run in a huge resolution 3050x1050 because i have twinview setup.  gotta figure out a way to get it back to 1680x1050
    Last edited by canucks604 (2008-01-12 08:03:11)

    I saw your latency thingy... though that aint so bad
    PING fk-in-f147.google.com (209.85.129.147) 56(84) bytes of data.
    64 bytes from fk-in-f147.google.com (209.85.129.147): icmp_seq=1 ttl=242 time=146 ms
    Pinging from norway to... wherever that node is.
    and compare that to a norwegian host
    PING www.sau.no (194.63.248.23) 56(84) bytes of data.
    64 bytes from web.domeneshop.no (194.63.248.23): icmp_seq=1 ttl=47 time=86.6 ms
    all in all, you should not be so annoyed unless your used to sub 10 ms ofc.. but this is still very quick for a webhost, atleast i think so.

  • Create files and compare data

    I have an aplication that can recive data (an integer and string), it stores it in a datafile and adds the date and time.  However, I need that everytime a new set of data cames, it ctompares it with the rest of the data stored in the same file.  If it the integer (key)  is repeated, it should be stored in a different file if not, it should be stored there.  
    I been able to read and write data files in different vi, but I can't makean  application that does everything at the same time.  I will appreaciate any suggestions.   I'm new with LabView and there is a lot I dont know yet. 
    Thank you!!!!

    Thanks for your suggestion.  However, the main problem is not how to read and write together but how to compare the data.  I started by writing and reading vi becuase I wanted to insolate every part of my program, be sure it works and then build on top of it.   The complete application should do something like:
    --Open two files, one for new data, one for repeted data
    -- User enters data -> a key as integer and some string
    -- compare the new key with ALL the keys already stored in the file.
          -- if the file is empty or no key is found in the file, write the data in the file for new data
         -- If the key is repeted, write the data in the file for repeted data
    -- Keep doing this until the user stops the application.
    What I really need is to be able to compare the recent entered data to what was entered before.  I chose to save data in a datalog because it seemed the best solution and because I also needed to store the date and time.  However, if there is any other way to store the data and compare it, please let me know.  I tried arrays and clusters by themselves but it wasnt easy.  Datalogs worked fine storing data but now comparing is too hard because I dont know how to read the file, record by record while comparing it to the new data I just got.
    I hope this is a little bit clearer!

  • Sync and compare with remote

    Have just installed DWmx 8 on a new machine and found that
    the context
    menu for sync and compare with remote is not enabled..
    I assume it is something to do with the way I have configured
    my sites...
    Any ideas???

    Can you log into .mac mail? That will tell you if your username and password are OK.
    I recently had a similar problem, so I unregistered my work and home computers (using the Advanced tab of .mac preferences) from .mac then re-registered them. At that point, you are offered the initial sync choices like the first time you connected to .mac.
    Be careful that you don't overwrite your data. I highly suggest making backups of your Address Book, Safari Bookmarks, iCal, iDisk files, etc. on all computers before starting the process.
    - Wayne
    PowerMac G5   Mac OS X (10.4.8)  

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

Maybe you are looking for

  • Getting error in make to order

    hi all, while configureing MAKE TO ORDER i am getting the following errors 1)while saving the sales order it's asking for a g/l account no. 2) after forcefully saving the sales order i have tried to create the production order but getting error "no r

  • Filesystem Storage

    Hi there, I'm currently evaluating Kodo 3.2.3 and couldn't find a satisfying solution to the following problem: Due to customer requirements we need to provide a store which makes use only of files and directories of the filsystem. Performance issuse

  • AQ: How rows are appeared in AQ$_QUEUETAB_H ?

    Hi guys, there is AQ table with N subscribers. I do enqueueing into the queue. After it QUEUETAB table contains 1 row (message which I inserted). AQ$_QUEUETAB_H contains N rows (message * subscribers) where each message contains status of dequeuing b

  • DB13 - what does job UpAllStats do?

    Hi, One job in DB13 calender failed. It runs with program RSDBAJOB (Weekly). Pls advice what this job do. Searched a lot, however could not get much. Regards, Surjit

  • Install Upgrades

    I purchases CS5.5 as an upgrade from CS3. I then purchases the CS6 upgrade from CS5.5. Now I have a new computer and want to put CS6 on that computer as well. What is the best way to go about that since I have bought upgrades from older versions of C