1 Reply Latest reply on Jun 4, 2004 2:57 AM by Alexey Loubyansky

    Problem reading CMP field on 3.2.4RC2

    craig.berry Newbie

      Using 3.2.4RC2, we're occasionally seeing exceptions like the one below. They are not solid, and often go away on the next similar attempt. In the example shown, 'rankConstant' is a Long CMP field of the Paragraph bean. These were very common when using on-load readahead, and have become far less common but still occasionally happening with the "none" readahead strategy. Any ideas?


      2004-06-03 12:43:41,918 ERROR [david77.test] LogInterceptor:handleException- TransactionRolledbackLocalException in method: public abstra

      ct java.lang.Long com.portblue.model.creation.page.ParagraphLocal.getRankConstant(), causedBy:

      javax.ejb.EJBException: Could not load field value: rankConstant

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.getInstanceValue(JDBCCMP2xFieldBridge.java:179)

      at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.getValue(JDBCAbstractCMPFieldBridge.java:208)

      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler$FieldGetInvoker.invoke(EntityBridgeInvocationHandler.java:133)

      at org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:91)

      at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)

      at com.portblue.model.creation.page.ParagraphCMP$Proxy.getRankConstant()

      at sun.reflect.GeneratedMethodAccessor158.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:324)

      at org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1114)

      at org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)

      at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:317)

      at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)

      at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:71)

      at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:175)

      at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)

      at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:54)

      at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)

      at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316)

      at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149)

      at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118)

      at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)

      at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)

      at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:484)

      at org.jboss.ejb.Container.invoke(Container.java:713)

      at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:375)

      at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:44)

      at $Proxy186.getRankConstant(Unknown Source)

      at com.portblue.model.creation.page.PageFacadeBean.sortParagraphsUsingStaticAndDynamicRanks(PageFacadeBean.java:1244)

      at com.portblue.model.creation.page.PageFacadeBean.getUsageParagraphKeys(PageFacadeBean.java:1091)