java.lang.AssertionError: replaced mapping for CGLIB$getBusiness$34$Method

Terracotta | vasu | 9 years ago
  1. 0

    java.lang.AssertionError when initializing spring application context

    Terracotta | 9 years ago | vasu
    java.lang.AssertionError: replaced mapping for CGLIB$getBusiness$34$Method
  2. 0

    This assertion error can happen for TC clustered quartz java.lang.AssertionError: missing reverse mapping for 14 at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:78) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:87) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at org.terracotta.cache.serialization.DsoSerializationStrategy.deserialize(DsoSerializationStrategy.java:37) at org.terracotta.quartz.Serializer.deserialize(ClusteredJobStore.java:1993) at org.terracotta.quartz.TriggerWrapper.getTrigger(ClusteredJobStore.java:1841) at org.terracotta.quartz.TriggerComparator.compare(ClusteredJobStore.java:1668) at org.terracotta.quartz.TriggerComparator.compare(ClusteredJobStore.java:1663) at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at org.terracotta.quartz.TriggerSet.insertLocal(TriggerSet.java:71) at org.terracotta.quartz.TriggerSet.__tc_applicator_put(TriggerSet.java:131) at com.tc.object.applicator.HashMapApplicator.apply(HashMapApplicator.java:74) at com.tc.object.applicator.HashMapApplicator.hydrate(HashMapApplicator.java:58) at com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:198) at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:118) at com.tc.object.tx.ClientTransactionManagerImpl.basicApply(ClientTransactionManagerImpl.java:338) at com.tc.object.tx.ClientTransactionManagerImpl.apply(ClientTransactionManagerImpl.java:365) at com.tc.object.handler.ReceiveTransactionHandler.handleEvent(ReceiveTransactionHandler.java:88) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:127)

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.AssertionError: missing reverse mapping for 14
  3. 0

    This assertion error can happen for TC clustered quartz java.lang.AssertionError: missing reverse mapping for 14 at org.terracotta.cache.serialization.ObjectStreamClassSerializer.getObjectStreamClassFor(ObjectStreamClassSerializer.java:78) at org.terracotta.cache.serialization.DsoSerializationStrategy$OIS.readClassDescriptor(DsoSerializationStrategy.java:87) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1534) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) at org.terracotta.cache.serialization.DsoSerializationStrategy.deserialize(DsoSerializationStrategy.java:37) at org.terracotta.quartz.Serializer.deserialize(ClusteredJobStore.java:1993) at org.terracotta.quartz.TriggerWrapper.getTrigger(ClusteredJobStore.java:1841) at org.terracotta.quartz.TriggerComparator.compare(ClusteredJobStore.java:1668) at org.terracotta.quartz.TriggerComparator.compare(ClusteredJobStore.java:1663) at java.util.TreeMap.compare(TreeMap.java:1093) at java.util.TreeMap.put(TreeMap.java:465) at java.util.TreeSet.add(TreeSet.java:210) at org.terracotta.quartz.TriggerSet.insertLocal(TriggerSet.java:71) at org.terracotta.quartz.TriggerSet.__tc_applicator_put(TriggerSet.java:131) at com.tc.object.applicator.HashMapApplicator.apply(HashMapApplicator.java:74) at com.tc.object.applicator.HashMapApplicator.hydrate(HashMapApplicator.java:58) at com.tc.object.TCClassImpl.hydrate(TCClassImpl.java:198) at com.tc.object.TCObjectImpl.hydrate(TCObjectImpl.java:118) at com.tc.object.tx.ClientTransactionManagerImpl.basicApply(ClientTransactionManagerImpl.java:338) at com.tc.object.tx.ClientTransactionManagerImpl.apply(ClientTransactionManagerImpl.java:365) at com.tc.object.handler.ReceiveTransactionHandler.handleEvent(ReceiveTransactionHandler.java:88) at com.tc.async.impl.StageImpl$WorkerThread.run(StageImpl.java:127)

    Terracotta Project Issue Tracker | 7 years ago | Tim Eck
    java.lang.AssertionError: missing reverse mapping for 14
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Unable to deploy EJB: ...Expected role in mapping - WL9.2 on XP

    Oracle Community | 10 years ago | 666705
    java.lang.AssertionError: Expected role in mapping
  6. 0

    I am getting message "Expected role in mapping" when I start my weblogic server

    Stack Overflow | 2 years ago | user3712627
    java.lang.AssertionError: Expected role in mapping

    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.lang.AssertionError

      replaced mapping for CGLIB$getBusiness$34$Method

      at com.tc.object.bytecode.InstrumentationSpec.buildFieldInfoMap()
    2. com.tc.object
      ClassProcessorHelper.defineClass0Pre
      1. com.tc.object.bytecode.InstrumentationSpec.buildFieldInfoMap(InstrumentationSpec.java:98)
      2. com.tc.object.bytecode.InstrumentationSpec.<init>(InstrumentationSpec.java:84)
      3. com.tc.object.bytecode.ClassAdapterBase.<init>(ClassAdapterBase.java:101)
      4. com.tc.object.bytecode.TransparencyClassAdapter.<init>(TransparencyClassAdapter.java:44)
      5. com.tc.object.config.StandardDSOClientConfigHelperImpl.createClassAdapterFor(StandardDSOClientConfigHelperImpl.java:1551)
      6. com.tc.object.config.StandardDSOClientConfigHelperImpl.createClassAdapterFor(StandardDSOClientConfigHelperImpl.java:1535)
      7. com.tc.object.bytecode.hook.impl.DefaultWeavingStrategy.transform(DefaultWeavingStrategy.java:328)
      8. com.tc.object.bytecode.hook.impl.DSOContextImpl.preProcess(DSOContextImpl.java:137)
      9. com.tc.object.bytecode.hook.impl.ClassProcessorHelper.defineClass0Pre(ClassProcessorHelper.java:549)
      9 frames
    3. Java RT
      Method.invoke
      1. java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      2. sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    4. Code Generation Library
      AbstractClassGenerator.create
      1. net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)
      2. net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)
      2 frames
    5. IDEA
      Enhancer.createClass
      1. net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)
      2. net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)
      2 frames
    6. Hibernate
      SingleTableEntityPersister.<init>
      1. org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:126)
      2. org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
      3. org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
      4. org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
      5. org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
      6. org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
      7. org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
      8. org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
      9. org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
      9 frames
    7. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
      2. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:215)
      2 frames
    8. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
      1 frame
    9. Hibernate
      LocalSessionFactoryBean.afterPropertiesSet
      1. org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:885)
      2. org.springframework.orm.hibernate3.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:797)
      2 frames
    10. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1143)
      2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1110)
      3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:431)
      4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
      5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
      6. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
      7. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
      8. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:271)
      9. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
      10. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1047)
      11. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:843)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:427)
      13. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:254)
      14. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:144)
      15. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:251)
      16. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:163)
      17. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:284)
      17 frames
    11. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
      1 frame
    12. Spring
      ContextLoaderListener.contextInitialized
      1. org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:241)
      2. org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
      3. org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
      3 frames
    13. Glassfish Core
      StandardHost.addChild
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
      3. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
      4. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
      5. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
      5 frames
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    15. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    16. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      2 frames
    17. Glassfish Core
      StandardContext.init
      1. org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
      1 frame
    18. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    19. Commons Modeler
      BaseModelMBean.invoke
      1. org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
      1 frame
    20. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
      2. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      2 frames
    21. org.jboss.web
      TomcatDeployer.performDeploy
      1. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
      2. org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
      2 frames
    22. JBoss Application Server Server
      WebModule.startService
      1. org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
      2. org.jboss.web.WebModule.startModule(WebModule.java:68)
      3. org.jboss.web.WebModule.startService(WebModule.java:46)
      3 frames
    23. JBoss Application Server System
      ServiceMBeanSupport.jbossInternalLifecycle
      1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
      2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
      2 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    25. org.jboss.mx
      ReflectedDispatcher.invoke
      1. org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      1 frame
    26. JBoss Application Server J2SE
      MBeanServerImpl.invoke
      1. org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      2. org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
      3. org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
      4. org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      4 frames
    27. JBoss Application Server System
      ServiceController$ServiceProxy.invoke
      1. org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
      1 frame
    28. Unknown
      $Proxy0.start
      1. $Proxy0.start(Unknown Source)
      1 frame