Skip to Content
0
May 08, 2013 at 06:15 PM

Netweaver v7.3 - EJB 2.x application problem

21 Views

Hello,

I have a EJB 2.x application that is running on Netweaver v7.1. I have deployed this application on Netweaver v7.3 successfully but when I run the application I am getting problems with entity beans. Specifically entity beans that have relationships with other entity beans.

Below is the error that I am receiving:

Exception while creating a new instance of class com.hmssoftware.module.security.ejb.domain.ProfileBean110Persistent.; nested exception is: javax.ejb.EJBException: com.sap.engine.services.ejb.exceptions.BaseEJBException: Exception while creating a new instance of class com.hmssoftware.module.security.ejb.domain.ProfileBean110Persistent.

java.lang.ArrayIndexOutOfBoundsException: 5

at com.sap.engine.services.ejb.entity.pm.TransactionContext.getRelationCache(TransactionContext.java:147)

at com.sap.engine.services.ejb.entity.pm.PersistenceManager.getRelationCache(PersistenceManager.java:330)

at com.hmssoftware.module.security.ejb.domain.ProfileBean110Persistent.initTransaction(ProfileBean110Persistent.java:119)

at com.sap.engine.services.ejb.entity.pm.PersistentCache.createNewInstance(PersistentCache.java:88)

at com.sap.engine.services.ejb.entity.pm.PersistentCache.supply(PersistentCache.java:77)

at com.hmssoftware.module.security.ejb.domain.ProfileBean110PM.ejbFindByPrimaryKey(ProfileBean110PM.java:364)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

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

at com.sap.engine.services.ejb3.util.BeanMethods.executeReflectMethod(BeanMethods.java:314)

at com.sap.engine.services.ejb3.jacc.ContainerJ2EESecurityProviderBaseImpl.doAs(ContainerJ2EESecurityProviderBaseImpl.java:280)

at com.sap.engine.services.ejb.entity70.EntityContainer.executeInstanceMethod(EntityContainer.java:741)

at com.sap.engine.services.ejb.entity70.FinderMethodTransactionalFragment.exec(FinderMethodTransactionalFragment.java:73)

at com.sap.engine.services.ejb.entity70.EntityContainer.execWithTransactionAssociation(EntityContainer.java:1276)

at com.sap.engine.services.ejb.entity70.EntityContainer.executeNCIMethod(EntityContainer.java:567)

at com.sap.engine.services.ejb.entity70.EntityLocalHomeHandler.invoke(EntityLocalHomeHandler.java:146)

at com.sap.engine.services.ejb.base.InterfaceImplementationHandler.invoke(InterfaceImplementationHandler.java:83)

at com.sap.engine.services.ejb.base.LocalInterfaceImplementationHandler.invoke(LocalInterfaceImplementationHandler.java:36)

at $Proxy544.findByPrimaryKey(Unknown Source)

Any help would be greatly appreciated.

Thank you,

Mike