Collection add() produces cache corruption

Hi
I have an Application object with a serviceProviders collection, and a ServiceProvider object with an application reference. I have tried both direct and indirect lists.
When working with UOW clones of both objects, when I try to add the ServiceProvider object to the Application object's serviceProvider collection, and then call printRegisteredObjects() and validateCache() on the UOW, I get a cache corrupt message. Should this be normal?
serviceProvider = new ServiceProvider();
          System.out.println("#######0000000000000000000000000########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
ServiceProvider serviceProviderWorkingCopy = (ServiceProvider)this.getUnitOfWork().registerObject(serviceProvider);
          System.out.println("#######11111111111111111111111111########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
Application applicationWorkingCopy = (Application)getUpdatableByUniqueKey(EntityManager.getApplication());
          System.out.println("#######22222222222222222222222222########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
serviceProviderWorkingCopy.setApplication(applicationWorkingCopy);
          System.out.println("#######33333333333333333333333333########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
applicationWorkingCopy.getServiceProviders().add(serviceProviderWorkingCopy);
          System.out.println("#######44444444444444444444444444########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
This code gives the output:
[TopLink Finer]: 2005.03.08 11:12:44.063--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--validate cache.
05/03/08 23:12:44 #######33333333333333333333333333########
[TopLink Severe]: 2005.03.08 11:12:44.067--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--
UnitOfWork identity hashcode: 1155110714
All Registered Clones:
Key: [1102] Identity Hash Code: 796423227 Object: com.abc.abcnet.core.ServiceProvider@2f78743b
Key: [702] Identity Hash Code: 519956410 Object: com.abc.abcnet.core.ServiceProvider@1efde7ba
Key: [603] Identity Hash Code: 864801658 Object: com.abc.abcnet.core.ServiceProvider@338bd37a
Key: [1152] Identity Hash Code: 219604438 Object: com.abc.abcnet.core.ServiceProvider@d16e5d6
Key: [1052] Identity Hash Code: 1136701046 Object: com.abc.abcnet.core.ServiceProvider@43c0ae76
Key: [1202] Identity Hash Code: 1514883920 Object: com.abc.abcnet.core.ServiceProvider@5a4b4b50
Key: [552] Identity Hash Code: 1180675534 Object: com.abc.abcnet.core.ServiceProvider@465fadce
Key: [952] Identity Hash Code: 592411083 Object: com.abc.abcnet.core.ServiceProvider@234f79cb
Key: [1] Identity Hash Code: 780745290 Object: com.abc.abcnet.core.Application@2e893a4a
Key: [1002] Identity Hash Code: 918884489 Object: com.abc.abcnet.core.ServiceProvider@36c51089
Key: [903] Identity Hash Code: 552143110 Object: com.abc.abcnet.core.ServiceProvider@20e90906
Key: [0] Identity Hash Code: 478684581 Object: com.abc.abcnet.core.ServiceProvider@1c8825a5
Key: [352] Identity Hash Code: 861005860 Object: com.abc.abcnet.core.ServiceProvider@3351e824
Key: [1253] Identity Hash Code: 87924608 Object: com.abc.abcnet.core.ServiceProvider@53d9f80
[TopLink Finer]: 2005.03.08 11:12:44.067--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--validate cache.
05/03/08 23:12:44 #######44444444444444444444444444########
[TopLink Severe]: 2005.03.08 11:12:44.071--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--
UnitOfWork identity hashcode: 1155110714
All Registered Clones:
Key: [1102] Identity Hash Code: 796423227 Object: com.abc.abcnet.core.ServiceProvider@2f78743b
Key: [702] Identity Hash Code: 519956410 Object: com.abc.abcnet.core.ServiceProvider@1efde7ba
Key: [603] Identity Hash Code: 864801658 Object: com.abc.abcnet.core.ServiceProvider@338bd37a
Key: [1152] Identity Hash Code: 219604438 Object: com.abc.abcnet.core.ServiceProvider@d16e5d6
Key: [1052] Identity Hash Code: 1136701046 Object: com.abc.abcnet.core.ServiceProvider@43c0ae76
Key: [1202] Identity Hash Code: 1514883920 Object: com.abc.abcnet.core.ServiceProvider@5a4b4b50
Key: [552] Identity Hash Code: 1180675534 Object: com.abc.abcnet.core.ServiceProvider@465fadce
Key: [952] Identity Hash Code: 592411083 Object: com.abc.abcnet.core.ServiceProvider@234f79cb
Key: [1] Identity Hash Code: 780745290 Object: com.abc.abcnet.core.Application@2e893a4a
Key: [1002] Identity Hash Code: 918884489 Object: com.abc.abcnet.core.ServiceProvider@36c51089
Key: [903] Identity Hash Code: 552143110 Object: com.abc.abcnet.core.ServiceProvider@20e90906
Key: [0] Identity Hash Code: 478684581 Object: com.abc.abcnet.core.ServiceProvider@1c8825a5
Key: [352] Identity Hash Code: 861005860 Object: com.abc.abcnet.core.ServiceProvider@3351e824
Key: [1253] Identity Hash Code: 87924608 Object: com.abc.abcnet.core.ServiceProvider@53d9f80
[TopLink Finer]: 2005.03.08 11:12:44.073--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--validate cache.
[TopLink Finer]: 2005.03.08 11:12:44.097--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--corrupt object referenced through mapping: oracle.toplink.mappings.OneToManyMapping[serviceProviders]
[TopLink Finer]: 2005.03.08 11:12:44.097--UnitOfWork(1155110714)--Thread(Thread[HttpRequestHandler-1662748359,5,main])--corrupt object: com.abc.abcnet.core.ServiceProvider@1c8825a5
Please help if you can,
James Carlyle

I have rewritten the offending code so that every UOW call is explicit:
ServiceProvider serviceProviderWorkingCopy = (ServiceProvider)this.getUnitOfWork().registerObject(new ServiceProvider());
Application appPrototype = new Application();
appPrototype.setDescription("SkyNet");
ReadObjectQuery query = new ReadObjectQuery(appPrototype.getClass());
query.setExampleObject(appPrototype);
Application applicationWorkingCopy = (Application) this.getUnitOfWork().executeQuery(query);
          System.out.println("#######33333333333333333333333333########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
serviceProviderWorkingCopy.setApplication(applicationWorkingCopy);
System.out.println("#######44444444444444444444444444########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
applicationWorkingCopy.getServiceProviders().add(serviceProviderWorkingCopy);
System.out.println("#######5555555555555555555555555########");
this.getUnitOfWork().printRegisteredObjects();
this.getUnitOfWork().validateCache();
It still produces a corrupt cache;
Connection(801042860)--SELECT DESCRIPTION, APPLICATIONID FROM APPLICATIONS WHERE (DESCRIPTION = 'SkyNet')
05/03/09 19:12:07 #######33333333333333333333333333########
UnitOfWork identity hashcode: 1944239527
Deleted Objects:
All Registered Clones:
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
Key: [1] Identity Hash Code:936899572 Object: com.aaa.bbb.core.Application@37d7f3f4
New Objects:
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
validate cache.
05/03/09 19:12:07 #######44444444444444444444444444########
UnitOfWork identity hashcode: 1944239527
Deleted Objects:
All Registered Clones:
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
Key: [1] Identity Hash Code:936899572 Object: com.aaa.bbb.core.Application@37d7f3f4
New Objects:
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
validate cache.
Connection(801042860)--SELECT REGION, SERVICEPROVIDERID, ADDRESSLINE2, ADDRESSLINE1, COUNTRY, NAME, TCAGREED, TOWN, TELEPHONEINT, POSTALCODE, TELEPHONENAT, SERVICEPROVIDERTYPEID, APPLICATIONID FROM SERVICEPROVIDERS WHERE (APPLICATIONID = 1)
05/03/09 19:12:07 #######5555555555555555555555555########
UnitOfWork identity hashcode: 1944239527
Deleted Objects:
All Registered Clones:
Key: [1902] Identity Hash Code:744381461 Object: com.aaa.bbb.core.ServiceProvider@2c5e5c15
Key: [1602] Identity Hash Code:400265102 Object: com.aaa.bbb.core.ServiceProvider@17db8f8e
Key: [1852] Identity Hash Code:314069021 Object: com.aaa.bbb.core.ServiceProvider@12b8501d
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
Key: [1802] Identity Hash Code:620665553 Object: com.aaa.bbb.core.ServiceProvider@24fe9ad1
Key: [1] Identity Hash Code:936899572 Object: com.aaa.bbb.core.Application@37d7f3f4
(some snipped for brevity)
New Objects:
Key: [0] Identity Hash Code:1667681887 Object: com.aaa.bbb.core.ServiceProvider@6366ce5f
validate cache.
stack of visited objects that refer to the corrupt object: [com.aaa.bbb.core.Application@37d7f3f4]
corrupt object referenced through mapping: oracle.toplink.mappings.OneToManyMapping[serviceProviders]
corrupt object: com.aaa.bbb.core.ServiceProvider@6366ce5f
The mapping descriptor is:
For Application
<database-mapping>
<attribute-name>serviceProviders</attribute-name>
<read-only>false</read-only>
<reference-class>com.aaa.bbb.core.ServiceProvider</reference-class>
<is-private-owned>true</is-private-owned>
<uses-batch-reading>false</uses-batch-reading>
<indirection-policy>
<mapping-indirection-policy>
<type>oracle.toplink.internal.indirection.TransparentIndirectionPolicy</type>
</mapping-indirection-policy>
</indirection-policy>
<container-policy>
<mapping-container-policy>
<container-class>oracle.toplink.indirection.IndirectList</container-class>
<type>oracle.toplink.internal.queryframework.ListContainerPolicy</type>
</mapping-container-policy>
</container-policy>
<source-key-fields>
<field>APPLICATIONS.APPLICATIONID</field>
</source-key-fields>
<target-foreign-key-fields>
<field>SERVICEPROVIDERS.APPLICATIONID</field>
</target-foreign-key-fields>
<type>oracle.toplink.mappings.OneToManyMapping</type>
</database-mapping>
For ServiceProvider:
<database-mapping>
<attribute-name>application</attribute-name>
<read-only>false</read-only>
<reference-class>com.aaa.bbb.core.Application</reference-class>
<is-private-owned>false</is-private-owned>
<uses-batch-reading>false</uses-batch-reading>
<indirection-policy>
<mapping-indirection-policy>
<type>oracle.toplink.internal.indirection.NoIndirectionPolicy</type>
</mapping-indirection-policy>
</indirection-policy>
<uses-joining>false</uses-joining>
<foreign-key-fields>
<field>SERVICEPROVIDERS.APPLICATIONID</field>
</foreign-key-fields>
<source-to-target-key-field-associations>
<association>
<association-key>SERVICEPROVIDERS.APPLICATIONID</association-key>
<association-value>APPLICATIONS.APPLICATIONID</association-value>
</association>
</source-to-target-key-field-associations>
<type>oracle.toplink.mappings.OneToOneMapping</type>
</database-mapping>

Similar Messages

  • Error "Method cache corrupted" when running Photoshop Elements 12 Editor on MAC

    Hello
    Here is a summary of the problem: I have bought Adobe Photoshop Elements 12 on Apple Store.
    Installation well done, no problem. But when and run it I have the error message below (truncated because very long). Not possible to use. I must close the application each time.
    Could you please help me?
    rocess:               Adobe Photoshop Elements 12 Editor [1227]
    Path:                  /Applications/Adobe Photoshop Elements 12 Editor.app/Contents/MacOS/Adobe Photoshop Elements 12 Editor
    Identifier:            com.adobe.pse12editor
    Version:               12.0 (12)
    App Item ID:           768610744
    App External ID:       192852631
    Code Type:             X86-64 (Native)
    Parent Process:        ??? [1]
    Responsible:           Adobe Photoshop Elements 12 Editor [1227]
    User ID:               503
    Date/Time:             2014-11-12 17:31:53.031 +0100
    OS Version:            Mac OS X 10.10 (14A389)
    Report Version:        11
    Anonymous UUID:        0315C57E-E64F-CD95-8347-D0D6B0ECFEDC
    Sleep/Wake UUID:       D1546A61-6A7F-47BF-80FF-D7779735687E
    Time Awake Since Boot: 35000 seconds
    Crashed Thread:        0  Dispatch queue: com.apple.main-thread
    Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes:       EXC_I386_GPFLT
    Application Specific Information:
    objc[1227]: Method cache corrupted. This may be a message to an invalid object, or a memory error somewhere else.
    objc[1227]: receiver 0x600002031ba0, SEL 0x7fff8cf07837, isa 0x1030f10a0, cache 0x1030f10b0, buckets 0x1002d3720, mask 0x861b0, occupied 0x1
    objc[1227]: receiver 32 bytes, buckets 0 bytes
    objc[1227]: selector 'path'
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   libsystem_c.dylib             0x00007fff968a8172 strlen + 18
    1   libsystem_c.dylib             0x00007fff968ecf22 __vfprintf + 4887
    2   libsystem_c.dylib             0x00007fff969159cf __v2printf + 679
    3   libsystem_c.dylib             0x00007fff968eb756 _vasprintf + 569
    4   libobjc.A.dylib               0x00007fff8e5533bb _objc_inform_now_and_on_crash + 161
    5   libobjc.A.dylib               0x00007fff8e5522a0 cache_t::bad_cache(objc_object*, objc_selector*, objc_class*) + 210
    6   libobjc.A.dylib               0x00007fff8e5521cd objc_msgSend_corrupt_cache_error + 9
    7   com.adobe.pse12editor         0x0000000100899551 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 8467121
    8   com.adobe.pse12editor         0x000000010073d051 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7040433
    9   com.adobe.pse12editor         0x0000000100744b72 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7071954
    10  com.adobe.pse12editor         0x000000010073d3d8 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7041336
    11  com.adobe.pse12editor         0x000000010073f8a9 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7050761
    12  com.adobe.pse12editor         0x00000001007e8738 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 7742616
    13  com.adobe.pse12editor         0x00000001002af523 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 2265731
    14  com.adobe.pse12editor         0x00000001002afb59 boost::exception_detail::copy_boost_exception(boost::exception*, boost::exception const*) + 2267321
    15  com.adobe.pse12editor         0x0000000100002df4 0x100000000 + 11764
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib         0x00007fff8f31f22e kevent64 + 10
    1   libdispatch.dylib             0x00007fff97231a6a _dispatch_mgr_thread + 52
    Thread 2:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 3:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 4:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 5:
    0   libsystem_kernel.dylib         0x00007fff8f31e946 __workq_kernreturn + 10
    1   libsystem_pthread.dylib       0x00007fff93d114a1 start_wqthread + 13
    Thread 6:
    Thread 7:
    0   libsystem_kernel.dylib         0x00007fff8f319582 semaphore_timedwait_trap + 10
    1   com.apple.CoreServices.CarbonCore 0x00007fff8f88a658 MPWaitOnSemaphore + 87
    2   MultiProcessor Support         0x000000011013e430 ThreadFunction(void*) + 61
    3   com.apple.CoreServices.CarbonCore 0x00007fff8f88a904 PrivateMPEntryPoint + 58
    4   libsystem_pthread.dylib       0x00007fff93d132fc _pthread_body + 131
    5   libsystem_pthread.dylib       0x00007fff93d13279 _pthread_start + 176
    6   libsystem_pthread.dylib       0x00007fff93d114b1 thread_start + 13
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 2
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 11487
        thread_create: 0
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=353.6M resident=236.1M(67%) swapped_out_or_unallocated=117.5M(33%)
    Writable regions: Total=247.5M written=51.8M(21%) resident=73.1M(30%) swapped_out=0K(0%) unallocated=174.4M(70%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    Activity Tracing                   2048K
    CG backing stores                  2308K
    CG image                            128K
    CG shared images                    560K
    CoreImage                             8K
    CoreUI image data                   104K
    Image IO                             64K
    Kernel Alloc Once                     8K
    MALLOC                            140.6M
    MALLOC (admin)                       32K
    Memory Tag 240                     16.0M
    Memory Tag 242                       12K
    Memory Tag 251                        8K
    OpenCL                               16K
    STACK GUARD                        56.1M
    Stack                              16.7M
    Stack (reserved)                    520K        reserved VM address space (unallocated)
    VM_ALLOCATE                        73.1M
    __DATA                             40.8M
    __IMAGE                             528K
    __LINKEDIT                         90.3M
    __TEXT                            263.3M
    __UNICODE                           544K
    mapped file                        63.4M
    shared memory                         4K
    ===========                      =======
    TOTAL                             767.1M
    TOTAL, minus reserved VM space    766.5M
    Model: iMac13,1, BootROM IM131.010A.B05, 4 processors, Intel Core i5, 2.9 GHz, 8 GB, SMC 2.9f5
    Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 512 MB
    Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54333531533643465238432D50422020
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF4), Broadcom BCM43xx 1.0 (7.15.124.12.8)
    Bluetooth: Version 4.3.0f10 14890, 3 services, 27 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: AirPort, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    USB Device: My Passport 07A8
    USB Device: Hub
    USB Device: USB 2.0 Hub
    USB Device: USB Receiver
    USB Device: Apple USB SuperDrive
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: ML-2160 Series
    USB Device: Hub
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: iMac, Apple Inc., 23.4

    "Any suggestions for work-around on this?"
    No! 
    Not untill Mac and Adobe and Canon get their collective acts together.  Mac (Apple) has the bad habit of upgrading their stuff and not being forthcoming with the particulars given to 3rd party companies like Canon and Adobe.
    Besides the cost difference of Mac's the compatibility issues are it's worst features. 
    EOS 1Ds Mk III, EOS 1D Mk IV EF 50mm f1.2 L, EF 24-70mm f2.8 L,
    EF 70-200mm f2.8 L IS II, Sigma 120-300mm f2.8 EX APO
    Photoshop CS6, ACR 8.7, Lightroom 5.7

  • Home Directories/font cache corruption

    I have a network of about 30+ Macs which all have their user folders served from OS X Server (10.4.1). Users login to their accounts over the network from their systems sitting on their desks. The computers vary, Mac Minis, iMac G4s and iMac G5s.
    All was very well until we upgraded all the workstations from 10.3.9 and 10.4.x to 10.4.5 then we started seeing trickles of font cache corruption. Now it's like an epidemic, everyone is seeing or has seen the problem, some just randomly, some everyday, some multiple times a day. It doesn't matter what hardware they are using.
    One user in particular sees the problem everyday, sometimes a couple of times. For instance, at lunch they log out, leave the machine, come back and log in. Somwhere in that process the font cache becomes corrupt and Mail, Safari and Filemaker Pro 7 all exhibit font display problems.
    I temporarily fix them by booting their system into Safe Mode and logging in as them which moves the font cache to the trash. I'll also delete com.apple.ATS out of /Library/Caches.
    Some systems have had multiple fonts (I presume thanks to MS Office) and I'll resolve those with Font Book, I'll also validate the fonts and delete any that Font Book has flagged as unusable. I've even resolved fonts while in Safe Boot but the problem still persists.
    I've even gone as far as just replacing the system with a new one in addition to ClamAV virus scans. There are never any virus' found and the problem evenually comes back.
    Any ideas?

    I saw this same problem when we upgraded to TIger last month. Fonts in Filemaker and a few other apps would appear garbled, and Word would report almost every font as corrupted. The fix was to delete the folder /Library/Caches/com.apple.ATS/ from the client machine and restart. My solution was to create a launchd .plist file that deletes the font cache folder when the client machine boots up, and also deletes the folder every morning at 2:30 A.M. just to be safe. I installed the launchd file on every client computer in /System/Library/LaunchDaemons/ and this seemed to solve the problem. I instructed our users to restart their computer if they were experiencing font problems and i haven't had any more complaints. Here is the plist file that i use: (I made it using Launchd Editor http://www.codepoetry.net/products/launchdeditor)
    !!!BEGIN fontcacheclear.plist
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <key>Label</key>
    <string>fontcacheclear</string>
    <key>Program</key>
    <string>/bin/rm</string>
    <key>ProgramArguments</key>
    <array>
    <string>/bin/rm</string>
    <string>-rf</string>
    <string>/Library/Caches/com.apple.ATS/</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>StandardErrorPath</key>
    <string>/Library/Logs/fontcacheclear.log</string>
    <key>StandardOutPath</key>
    <string>/Library/Logs/fontcacheclear.log</string>
    <key>StartCalendarInterval</key>
    <dict>
    <key>Hour</key>
    <integer>2</integer>
    <key>Minute</key>
    <integer>30</integer>
    </dict>
    <key>UserName</key>
    <string>root</string>
    </dict>
    </plist>
    !!!END
    1.8 DP G5   Mac OS X (10.4.6)  
    1.8 DP G5   Mac OS X (10.4.6)  

  • Add to cache or export

    the way I have been getting files out of FCS is by right clicking and choosing ADD TO CACHE. We usually deal with 6 minute video clips so in a minute, you get the dot and you are ready to drag the file to your desktop.
    I have been told at work that this method messes things up and we need to export the other way by choosing export. Is one way better that another. Thanks for any insight.

    Truth is, that book has everything you need to know to use and customize FCSvr in it. If you're looking for more, you're looking for a babysitter. After doing that book, you know everything there is to know about FCSvr, and are able to customize it to your hearts content, period. If you're looking for something more, the truth is, there is nothing more. That's how simple and easy FCSvr is, period. I simply does not get any more "advanced" than that book. Unless you really do need a babysitter. That is the simple fact of FCSvr life.
    Same as the original book? Not by a long shot! This one makes learning FCSvr much easier! The original book was a MESS! This one has formulas in it, shows you about everything you need to know to be able to move forward.
    You're both looking for babysitters, and such does not exist. It's a wonderful book, I teach it weekly all over the country, and my students and clients love it, learn it, and do amazing things with FCSvr after going through it. Fact.

  • Query for create manual tabular form using apex collection add row button functionality

    Hello everyone
    My requirement is i created a tabular form manually using apex collection but if i click on add row button then previously selected data refreshed and added new row in this form it is fine.but i don't want to refreshed previously selected data and click on add row button then add new row .how it is possible? plz help
    Thanks & Regards,
    Ujwala

    Ujwala
    Instead of starting a new thread with the same question as Query for create manual tabular form using apex collection add row button functionality.
    Could you answer the question about what you see while debug the javascript code.
    If you don't understand the question or have trouble debug javascript let us know.
    Nicolette

  • How to call Collection.add(E o) from JNI?

    Hi.
    JNI + Generics ???
    I just managed it to call methods like MyClass.f(String a) but i cannot figure out how to call methods with generics in its signatures.
    The signature string i used for the former method is: "(Ljava.lang.String;)V" and it works well but what is the corresponding signature string for Collection.add(E o)??
    Thanks in advance.

    Hi,
    I think it's a compiler problem here is a Generic class :
    public class test<T> {
            public void add(T o) {
                    System.err.println(o);
            public static  void main(String[] args) {
                    new test<Integer>().add(5);
    }I compiled it with javac (1.5.0_05)
    Then decompile it with jad
    // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
    // Jad home page: http://www.geocities.com/kpdus/jad.html
    // Decompiler options: packimports(3)
    // Source File Name:   test.java
    import java.io.PrintStream;
    public class test
        public test()
        public void add(Object obj)
            System.err.println(obj);
        public static void main(String args[])
            (new test()).add(Integer.valueOf(5));
    }As you can see T is now Object
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Running a cscript.exe as LOCAL SYSTEM account and IE cache corruption for that account.

    When running a cscript.exe wsf file that references a script that retrieved from the internet is it possible that some sort of IE cache corruption or permissions issue in
    C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows will cause the script to fail to retrieve the external resource?
    Also, is there some sort of known condition that will cause the permissions on C:\Windows\SysWOW64\config\systemprofile\AppData\Local\Microsoft\Windows to not be set to any valid user?

    The system profile is set to be protected.  It should not be modified.
    You cannot run a file downloaded from the Internet.  It is tagged  (blocked) and cannot be used until it is unblocked.
    PowerShell has a CmdLet that does this: Unblock-File <filename>
    ¯\_(ツ)_/¯

  • Collection.add(E e); override? what is "E"?

    to override a method, i need to know its signature,
    so, what is the Class of the parameter in the method
    Collection.add(E e);
    what the heck is _"E"_ ?
    where does it come from?
    i have extended the HashSet class, and now want to implement my own
    HashSet.add(E e);
    but i keep "missing" my override because (i assume) my method signature is wrong.
    in that, rather than lay my own method over the default, i am instead creating
    a new polymorphic method. for example:
    public class MySetOfStrings extends HashSet {
      public boolean add(String s) {....}
    }now it "seems" that i might have 2 polymorphic " *add()* " methods:
    public boolean add(E e);
    public boolean add(String s);
    where i really just want to override:
    public boolean add(E e);
    however, as a more comfounding point of fact, i have not even been able to ever* invoke:
    public boolean add(String s);
    even with a statement like:
    myStringSet.add((String) s);
    so, i really really don't understand this.
    anyway, i just want to override:
    HashSet.add(E e);

    Think of it this way.
    When you create a class... let's call it Triangle.
    Inside of Triangle, you can create some methods that deal with Triangles.
    Let's say one parameter computes the area, and takes 2 parameters. (Base and Height)
    public double getArea(double base, double height) {
      return 0.5 * base * height;
    }Simple enough right?
    We call the parameters base, and height. And they are both of the type "double"
    Now, if you ever used ArrayList, TreeMap, Queue, etc. then you've probably used Generics.
    ArrayList<Integer> myList = new ArrayList<Integer>();Now, this ArrayList can only contain Integers correct?
    In the class header of ArrayList, it would look something like this:
    public class ArrayList<E> {
    }Now you see that "E" again. This means that whoever is using this ArrayList can explicitly say that this ArrayList uses only the types of "E".
    In the above case, "E" was Integer.
    ArrayList<Integer>
    Now, the method parameter can contain "E", where E is just some data type.
    Just like our getArea(double base, double height) method.
    Base, and Height are simply double values.
    Collection.add(E e);Here, E is just the type you explicitly say it is.
    Collection.add(E e);
    E could be Double, Integer, String, Character, etc.
    Forgive me if the clarification is murky. It's late here.

  • Disk write cache corruption on an external hard disk

    Recently I purchased an external hard disk, to put all of my pictures of my baby due to space limitations on my internal laptop drive. Since my Canon camera 10 megapixel pictures take up a ton of space this was occurring at an alarming rate. My intention was also to back up to DVD but never got to it. This is both a comment and a question.
    Now said baby, is getting really good at pulling cords etc. He managed to do this on the external drive firewire cable. As far as i know the drive was not in the process of actually writing. However, after a few minutes and trying to re-plug the drive the OS crashed with a Grey Screen of Death hardware error that tells you that you need to push the power button..
    This apparently corrupted the drive's directory. Upon reboot the drive would not mount. Since there were time machine backups on the drive too Diskwarrior was not able to reconstruct the drive in the built in memory available on the computer. Time machine stores millions of files and Diskwarrior apparently wants to keep it all in memory at once. Since my computer has 2GB you would hope that would be enough but apparently not. So that failed. Other utilities seemed to be able to find the files but not restore the directory. I also took it to the apple store they were not able to recover it.
    I have to say this is extremely distressing, and hard to believe that a simple accident like this could cost the loss of thousands of pictures. I did send it to a rescue company but that was expensive but I think apple needs to do something about this situation.
    On Windows there is a way to disable the write cache for external drives. This is not available for Mac OS X. This would prevent this rather common occurrence of a plug accidentally becoming disengaged when the drive is not in the process of writing. This reduces the odds but I still think apple, in order to become clearly superior, needs a better solution.
    I know Apple has experimented with ZFS would this not eliminate this possibility of this kind of disaster? Is this in Snow Leopard desktop? I know they are thinking this is a business customer focused technology but clearly if it can eliminate this kind of thing then I think it is extremely useful to their non server customers. Perhaps there are other ways of dealing with this issue but ZFS is designed to deal with these issues. HFS+ is extremely fragile to disk corruption.
    I know my situation is not that uncommon and this is not the first time this has happened to me with an external drive. You would think I had learned. I hate to think of how many other people have had the same thing happen to them.

    Disabling a write cache would not help you with the problem you are having. Besides the write cache is on the hard drive and operates independently of the operating system. But nothing can protect you from disconnected an external drive improperly, and if the drive is in the process of being written to, and the problem comes from directory corruption, not file corruption, as in the case you have described, disabling a write cache would not have made any difference.
    For the future the magic word is: Backups.
    < Edited by Host >

  • Handling collections in coherence cache

    hi,
    In a mutithreaded environment, how does coherence cache handles collection like HashMap in a multithreaded environment where the large majority of method calls are read-only, instead of structural changes?
    Are the read calls non-synchronized by coherence? Is there any mechanism to handle the write calls different from the read calls?
    Thanks.
    suvasis

    Hi Suvasis,
    Coherence caches are coherent, and use a minimal (or zero if possible) amount of synchronization for read-access.
    Coherence does support double-checked locking for read-heavy access:
    <tt>
    Object value = cache.get(k);
    if (value == null)
      cache.lock(key, -1);
      try
        value = cache.get(key);
        if (value == null)
          value = {something};
          cache.put(key, value);
      finally
        cache.unlock(key);
    // read-access to value
    Object x = value.getSomeAttribute();
    </tt>
    It should be noted that Coherence does not "observe" objects outside of the Coherence API calls (get/put/lock/unlock/etc). So once you "get" a local object instance from Coherence, Coherence doesn't pay attention to that local object until you explicitly "put" it the modified object back into the cache.
    Jon Purdy
    Tangosol, Inc.

  • Lightroom 5.6 - photos in one of my collections have all been corrupted - they all become resized after I exported them

    I have recently exported two photo collections. However, one of them seems to have been corrupted. All the photos have been resized after I exported them to lightroom.adobe.com. In fact, whenever I try to open any of the images in Lightroom again they have all been resized (or cropped). Is there anyway of recovering the original edits I made. I can re-adjust the images one by one but there are over 1000!
    Thanks
    Mike

    Hi dj-paige
    Thanks for replying.
    I guess "corrupted" isn't the correct term to use. The problem is that I have been editing photos in Lightroom (well over a 1,000) and then put them in two collections, one called Birds (300+ images) and the other Dragonflies (1000+ images). I then uploaded these collections to Adobe-Lightroom so that I can view them online. However, when I view the Dragonfly collection, either online or in Lightroom, they have all changed, having all been cropped beyond recognition. What I want to know is, 1) has anyone experienced this problem before and 2) is there a way of recovering the photos with all the edits that I have painstakingly made over the past few weeks. I can go through the photos one by one and change the crop so that they appear fine but there are over a 1,000 images and it would take several weeks to go through them again.
    Cheers
    Mike

  • Looking for U.S. medical billing & collections add-on

    Is anyone aware of an SBO add-on with proven billing & collections capabilities for the US healthcare industry?
    Scenario: Doctor requires that patient use oxygen and a wheel chair. Hospital calls durable goods provider and orders both. Provider (a) delivers directly to patient and (b) invoices Medicare, and/or other insurance companies, for purchase and/or equipment rental fee. Billing could be split between insurance and patient. Collections/payments could be EFT, credit card, COD, etc.
    Sample of insurance companies/agencies:
    · Medicare (Part B)
    · Medicaid
    · Private Insurance (Blue Cross, Aetna, etc.)

    Which particular Mac OS are you running, psychmac?

  • Collection: add(E), remove(Object)

    Hello, all!
    First of all, I guess very strange see interface collection with
    add(E) and remove(Object)... Why is there such collision?
    LinkedList<String> list = new LinkedList<String>();
    Object o = null;
    list.remove(o);NetBeans shows a warning for the last line: Expected type String, actual type Object.
    Eclipse and java compiler do not point to it. So how can I understand this? Netbeans fixed remove(Object) to remove(E)?
    Can you please help to understand the collision?

    mfratto wrote:
    The only warning I get in netbeans is to assign the return value, a boolean, to a new variable.I use netbeans 6.7. Probably, You use another version of netbeans from me, so you do not get the same warning.
    [see screenshort of the netbeans warning|http://i055.radikal.ru/0907/b2/6203e7e22d79.jpg]
    But what that warning is saying is that you declared the LinkedList to contain String objects, but you are trying to remove an Object (which is a parent of String). You can do that, it's just weird to do so. Why wouldn't you just pass a object, a String in this case, of the same type back into list.remove()?
    Edited by: mfratto on Jul 23, 2009 5:42 PMwithout sense, I just would like to understand netbeans behavior and "collision" of add(E) and remove(Object) methods.
    Edited by: aeuo on Jul 23, 2009 8:47 PM the screenshort was changed to more illustrative one

  • How do I restore after preview cache corrupted message

    I had a power failure during a down load of images, now I have a message when trying to reopen Lightroom 5  that the preview cache is corrupted.
    How do I get into Lightroom? to restore or change the settings?

    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • Cache corrupted each startup

    I have a problem with my CS5 Dreamweaver. It was working ok before, but now it don't open as it has a corrupted cache. If I delete the cache Dreamweaver will open as usual. But then I can't open it again next time. Same error. So each time I want to open dreamweaver I have to delete the cache.
    Any ideas? Thanks!

    Hi,
    maybe your corrupted cache file is not deleted finally. Therefore I want to point out you to David Powers' tutorilal, published here:
    http://forums.adobe.com/thread/494811
    Hans-G.

Maybe you are looking for

  • MY BOOK Essential USB to Firewire Port

    MY BOOK Essential edition uses a USB connector. Is there an adapter/cable that would connect MY BOOK USB to my G4 Firewire port? I understand the speed will be limited to the USB hardware in MY BOOK.

  • Apple logo and spinning timer with grey background pls help

    I just get a grey background with apple logo in dark grey with a spinning timer thing below and you can here the fans running when I turn on my new mac book its a day old! I have tried removing battery holding down power button i've tried reseting pr

  • Is there any table/view of errors?

    Dear Experts, Is there any table/view in Oracle database where all the database errors can be viewed? Errors like ORA-00942, ..... I am on Oracle 10gR2. Thanks for taking your precious time in answering my question. Regards

  • Digital Input VI boolean indicator

    I am using the Example VI Digital Input as part of Fieldpoint. It works fine on its own. That is, I can place a voltage across the terminals of the DI module and the respective Boolean LED lights up on the front panel. I'd like to use the VI as a sub

  • Queue error handling

    From 2012 LabVIEW help for most Queue functions:  "This node runs normally even if an error occurred before this node runs." Tested True for Release Queue, but False for others: Enqueue, Dequeue, Status, Preview, etc.. They only produced the Enum U16