This discussion is archived
0 Replies Latest reply: Dec 19, 2013 6:55 AM by user6456885 RSS

NullPointerException in com.tangosol.net.ExtensibleConfigurableCacheFactory$Manager.isBackupPartitioned from Coherence 3.7.1 to 12

user6456885 Newbie
Currently Being Moderated

Hi all,

I recently upgrated my Coherence grid from 3.7.1 to 12.1.2. Sometimes I got this error and I need to restart the whole cluster

 

Does anyone have the same problem ?

 

Thank you

 

Oracle Coherence Version 12.1.2.0.0 Build 44396

Grid Edition: Development mode

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved

 

java.lang.NullPointerException

at com.tangosol.net.ExtensibleConfigurableCacheFactory$Manager.isBackupPartitioned(ExtensibleConfigurableCacheFactory.java:1735)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage$BackingManager.parseConfiguration(PartitionedCache.CDB:16)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.instantiateBackupMap(PartitionedCache.CDB:23)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.setCacheName(PartitionedCache.CDB:29)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.ensureKnownStorage(PartitionedCache.CDB:20)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.finalizeAcceptingClients(PartitionedCache.CDB:17)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.finalizeStartup(PartitionedService.CDB:15)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onServiceStarted(PartitionedService.CDB:83)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onServiceStarted(PartitionedCache.CDB:30)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$MemberWelcomeRequest$Poll.onCompletion(Grid.CDB:82)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService$MemberWelcomeRequest$Poll.onCompletion(PartitionedService.CDB:1)

at com.tangosol.coherence.component.net.Poll.close(Poll.CDB:10)

at com.tangosol.coherence.component.net.Poll.onResponded(Poll.CDB:43)

at com.tangosol.coherence.component.net.Poll.onResponse(Poll.CDB:3)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$MemberWelcomeRequest$Poll.onResponse(Grid.CDB:6)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$MemberWelcomeRequest$Poll.onResponse(PartitionedCache.CDB:29)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:53)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:23)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)

at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)

at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:51)

 

Message was edited by: user6456885 this is my cache configuration I set it up using  CacheFactory.getCacheFactoryBuilder().setCacheConfiguration(Thread.currentThread().getContextClassLoader(), cacheconfig); <?xml version='1.0'?> <cache-config>   <caching-scheme-mapping>     <cache-mapping>       <cache-name>idc-*</cache-name>       <scheme-name>near</scheme-name>     </cache-mapping>     <cache-mapping>       <cache-name>system</cache-name>       <scheme-name>replicated</scheme-name>     </cache-mapping>   </caching-scheme-mapping>   <caching-schemes>     <distributed-scheme>       <scheme-name>distributed</scheme-name>       <autostart>true</autostart>       <backing-map-scheme>         <local-scheme>           <unit-calculator>BINARY</unit-calculator>         </local-scheme>       </backing-map-scheme>     </distributed-scheme>     <replicated-scheme>       <scheme-name>replicated</scheme-name>       <autostart>true</autostart>       <backing-map-scheme>         <local-scheme/>       </backing-map-scheme>     </replicated-scheme>     <near-scheme>       <scheme-name>near</scheme-name>       <autostart>true</autostart>       <invalidation-strategy>all</invalidation-strategy>       <front-scheme>         <local-scheme>           <eviction-policy>HYBRID</eviction-policy>           <high-units>10000</high-units>           <expiry-delay>1h</expiry-delay>         </local-scheme>       </front-scheme>       <back-scheme>         <distributed-scheme>           <scheme-ref>distributed</scheme-ref>         </distributed-scheme>       </back-scheme>     </near-scheme>   </caching-schemes> </cache-config>

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points