WLS10.3.2: NPE at com.bea.core.repackaged.aspectj.lang.reflect.AjTypeSystem.getAjType(AjTypeSystem.java:39) (Doc ID 1112293.1)

Last updated on JUNE 09, 2016

Applies to:

Oracle WebLogic Server - Version 10.3.2 to 10.3.4
Information in this document applies to any platform.

Symptoms

When doing a stress test on the Spring related application which is deployed on WLS 10.3.2, you will notice the following NullPointerException intermittently.

Caused By: java.lang.NullPointerException
at com.bea.core.repackaged.aspectj.lang.reflect.AjTypeSystem.getAjType(AjTypeSystem.java:39)
at com.bea.core.repackaged.springframework.aop.aspectj.annotation.AbstractAspectJAdvisorFactory.isAspect(AbstractAspectJAdvisorFactory.java:120)
at com.bea.core.repackaged.springframework.aop.aspectj.annotation.BeanFactoryAspectJAdvisorsBuilder.buildAspectJAdvisors(BeanFactoryAspectJAdvisorsBuilder.java:104)
at com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata.addAspectJAdvisors(InterceptionMetadata.java:813)
at com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata.createProxyIfNecessary(InterceptionMetadata.java:465)
at com.bea.core.repackaged.springframework.jee.intercept.InterceptionMetadata.createProxyIfNecessary(InterceptionMetadata.java:401)
at com.bea.core.repackaged.springframework.jee.spi.EjbComponentCreatorBrokerImpl.invokeCreateProxyIfNecessary(EjbComponentCreatorBrokerImpl.java:119)
at com.bea.core.repackaged.springframework.jee.spi.EjbComponentCreatorBrokerImpl.getBean(EjbComponentCreatorBrokerImpl.java:75)
at weblogic.ejb.container.injection.EjbComponentCreatorImpl.getBean(EjbComponentCreatorImpl.java:68)
at weblogic.ejb.container.manager.BaseEJBManager.createNewBeanInstance(BaseEJBManager.java:216)
at weblogic.ejb.container.manager.BaseEJBManager.allocateBean(BaseEJBManager.java:233)
at weblogic.ejb.container.manager.StatelessManager.createBean(StatelessManager.java:303)
at weblogic.ejb.container.pool.StatelessSessionPool.createBean(StatelessSessionPool.java:201)
at weblogic.ejb.container.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:127)
at weblogic.ejb.container.manager.StatelessManager.preInvoke(StatelessManager.java:150)
at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:239)
at weblogic.ejb.container.internal.BaseLocalObject.preInvoke(BaseLocalObject.java:186)
at weblogic.ejb.container.internal.StatelessLocalObject.preInvoke(StatelessLocalObject.java:52)

Changes

None.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms