Experts,
I have a cache config file that worked fine in 12.1.2 in the Eclipse 4.3.0 IDE, but it is throwing an error in 12.1.3 and the Eclipse 4.3.1 IDE. The error is "Could not inject a value into the instance 'DefaultPartitionedCacheDependencies...". There doesn't seem to be any doc on this error.
The cache config file and error is below. Any suggestions on how to fix the file?
Thanks,
2013-11-15 11:41:32.406/1.216 Oracle Coherence GE 12.1.3.0.0 <Info> (thread=main, member=n/a): Loaded cache configuration from"file:/C:/home/oracle/workspace/Contacts/appClientModule/contacts-cache-config.xml"
Exception in thread "main" (Wrapped: Failed to instantiate a class from the xmlConfiguration
<?xml version='1.0'?>
<cache-config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xmlns='http://xmlns.oracle.com/coherence/coherence-cache-config'
xsi:schemaLocation='http://xmlns.oracle.com/coherence/coherence-cache-config
http://xmlns.oracle.com/coherence/coherence-cache-config/1.2/coherence-cache-config.xsd'>
<!--
The defaults element defines factory-
wide default settings.
-->
<defaults>
<serializer system-property='tangosol.coherence.serializer'/>
<socket-provider system-property='tangosol.coherence.socketprovider'/>
</defaults>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
<service-name>PartitionedPofCache</service-name>
<serializer>
<instance>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type> <param-value>contacts-pof-config.xml</param-value>
</init-param>
</init-params>
</instance>
</serializer>
<backing-map-scheme>
<local-scheme>
<!--
each node will be limited to 250MB
-->
<high-units>250M</high-units> <unit-calculator>binary</unit-calculator>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>
) com.tangosol.config.ConfigurationException: Configuration Exception
-----------------------
Problem : Could not inject a value into the instance
'DefaultPartitionedCacheDependencies{RequestTimeoutMillis=0,
SerializerFactory=null, WorkerThreadCount=-1, TaskHungThresholdMillis=0, TaskTimeoutMillis=0, ThreadPriority=10, EventDispatcherThreadPriority=10, WorkerThreadPriority=5}{ActionPolicy={NullActionPolicy
allowed-actions=*}, GuardianTimeout=-1, MemberListeners=null, ServiceFailurePolicy=null, Transport=null}{PreferredBackupCount=1,
DistributionAggressiveness=20, DistributionSynchronized=true,
KeyAssociator=com.tangosol.net.partition.DefaultKeyAssociator@2f952e89
KeyPartitioningStrategy=null, OwnershipCapable=true, PreferredPartitionCount=257, PartitionListeners=[], PartitionAssignmentStrategy=SimpleAssignmentStrategy{},
TransferThreshold=524288, AsyncBackupEnabled=false, PersistenceDependencies=null}' using reflection produced by the annotated method 'public com.tangosol.net.ServiceDependencies
com.tangosol.coherence.config.scheme.AbstractServiceScheme.getServiceDependencies()'
of 'com.tangosol.coherence.config.scheme.DistributedScheme'
Advice : Please resolve the causing exception.
Caused By : java.lang.NullPointerException
at com.tangosol.util.Base.ensureRuntimeException(Base.java:287)
at
com.tangosol.net.ScopedCacheFactoryBuilder.instantiateFactory(ScopedCacheFactoryBuilder.java:433)