com.gemstone.gemfire.SerializationException: Could not create an instance of com.gemstone.org.jgroups.stack.GossipData .

Stack Overflow | Aniruddh Joshi | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Gemfire 8.2.2 crashed after 3 days

    Stack Overflow | 4 months ago | Aniruddh Joshi
    com.gemstone.gemfire.SerializationException: Could not create an instance of com.gemstone.org.jgroups.stack.GossipData .
  2. 0

    Using a Registered Class ID for Deserialization – All Help & Support

    pivotal.io | 2 years ago
    com.gemstone.gemfire.SerializationException: While deserializing query result
  3. 0

    Pdx Serialization and interfaces/abstract classes (Java) – All Help & Support

    zendesk.com | 10 months ago
    com.gemstone.gemfire.ToDataException: PdxSerializer failed when calling toData on class com.ccn.datafabric.enterprise.core.domain.tenant.TenantStorageArea
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    This bug is a knock-on from SGF-85. In order to reproduce... 1) Configure SGF to use pdx-disk-store and point it to the disk-store configured in the cache.xml. 2) Start gemfire. (1st time will start correctly) 3) Add data into cache. 4) Shut down gemfire. 5) Restart gemfire. The following exception is thrown: 2012-06-27 11:13:24,478 | | | ERROR | main | ApplicationContextProvider | 118 | Exception initializing App context: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cache-with-xml': Invocation of init method failed; nested exception is com.gemstone.gemfire. pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:567) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93) at com.anz.markets.luxor.commons.ApplicationContextProvider.createApplicationContext(ApplicationContextProvider.java:109) at com.anz.markets.luxor.commons.ApplicationContextProvider.<clinit>(ApplicationContextProvider.java:71) at com.anz.markets.luxor.server.ServerLauncher.main(ServerLauncher.java:18) Caused by: com.gemstone.gemfire.pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created. at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getIdToType(PeerTypeRegistration.java:117) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.suspendTX(PeerTypeRegistration.java:532) at com.gemstone.gemfire.pdx.internal.PeerTypeRegistration.getType(PeerTypeRegistration.java:371) at com.gemstone.gemfire.pdx.internal.TypeRegistry.getType(TypeRegistry.java:104) at com.gemstone.gemfire.internal.InternalDataSerializer.readPdxSerializable(InternalDataSerializer.java:2974) at com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2798) at com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3217) at com.gemstone.gemfire.internal.util.BlobHelper.deserializeBlob(BlobHelper.java:81) at com.gemstone.gemfire.internal.cache.EntryEventImpl.deserialize(EntryEventImpl.java:1288) at com.gemstone.gemfire.internal.cache.Oplog.deserializeKey(Oplog.java:6302) at com.gemstone.gemfire.internal.cache.Oplog.readKrf(Oplog.java:1623) at com.gemstone.gemfire.internal.cache.Oplog.recoverCrf(Oplog.java:1923) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.recoverRegionsThatAreReady(DiskStoreImpl.java:2123) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.initializeIfNeeded(DiskStoreImpl.java:2050) at com.gemstone.gemfire.internal.cache.DiskStoreImpl.doInitialRecovery(DiskStoreImpl.java:2054) at com.gemstone.gemfire.internal.cache.DiskStoreFactoryImpl.create(DiskStoreFactoryImpl.java:129) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.createDiskStore(CacheCreation.java:507) at com.gemstone.gemfire.internal.cache.xmlcache.CacheCreation.create(CacheCreation.java:386) at com.gemstone.gemfire.internal.cache.xmlcache.CacheXmlParser.create(CacheXmlParser.java:285) at com.gemstone.gemfire.internal.cache.GemFireCacheImpl.loadCacheXml(GemFireCacheImpl.java:3712) at org.springframework.data.gemfire.CacheFactoryBean.afterPropertiesSet(CacheFactoryBean.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)

    Spring JIRA | 5 years ago | Udo Kohlmeyer
    pdx.PdxInitializationException: PDX registry could not be initialized because the disk store ds1 was not created.

  1. jpvee 4 times, last 5 months ago
8 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.EOFException

    No message provided

    at java.io.DataInputStream.readFully()
  2. Java RT
    DataInputStream.readFully
    1. java.io.DataInputStream.readFully(DataInputStream.java:197)
    1 frame
  3. com.gemstone.org
    IpAddress.fromData
    1. com.gemstone.org.jgroups.stack.IpAddress.fromData(IpAddress.java:705)
    1 frame
  4. com.gemstone.gemfire
    DataSerializer.readObject
    1. com.gemstone.gemfire.internal.InternalDataSerializer.invokeFromData(InternalDataSerializer.java:2480)
    2. com.gemstone.gemfire.internal.DSFIDFactory.create(DSFIDFactory.java:1080)
    3. com.gemstone.gemfire.internal.InternalDataSerializer.basicReadObject(InternalDataSerializer.java:2797)
    4. com.gemstone.gemfire.DataSerializer.readObject(DataSerializer.java:3219)
    4 frames
  5. com.gemstone.org
    GossipData.fromDataPre_GFE_8_0_0_0
    1. com.gemstone.org.jgroups.stack.GossipData.fromDataPre_GFE_8_0_0_0(GossipData.java:196)
    1 frame