[
http://jira.jboss.com/jira/browse/JBAS-5212?page=comments#action_12398415 ]
Kabir Khan commented on JBAS-5212:
----------------------------------
I am currently debugging a similar issue, probably the same root cause
NPE at
org.jboss.aop.pointcut.FieldMatcher.visit(FieldMatcher.java:181) at shutdown
-----------------------------------------------------------------------------------
Key: JBAS-5212
URL:
http://jira.jboss.com/jira/browse/JBAS-5212
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: AOP
Reporter: Dimitris Andreadis
Assigned To: Kabir Khan
Priority: Critical
Fix For: JBossAS-5.0.0.Beta4
00:16:43,109 INFO [TransactionManagerService] Stopping recovery manager
00:16:43,171 WARN [CreateDestroyLifecycleAction] Error during destroy for Aspec
tManager
java.lang.RuntimeException: Problem destroying AspectManager
at org.jboss.aop.deployers.AbstractAspectManager.destroy(AbstractAspectM
anager.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(Reflec
tionUtils.java:56)
at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(
ReflectMethodInfoImpl.java:110)
at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethod
JoinPoint.java:66)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$Joi
npointDispatchWrapper.execute(KernelControllerContextAction.java:214)
at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(Executio
nWrapper.java:45)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
patchExecutionWrapper(KernelControllerContextAction.java:108)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dis
patchJoinPoint(KernelControllerContextAction.java:69)
at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionIn
ternal(LifecycleAction.java:249)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uni
nstallAction(KernelControllerContextAction.java:167)
at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uni
nstallAction(KernelControllerContextAction.java:46)
at org.jboss.dependency.plugins.action.SimpleControllerContextAction.sim
pleUninstallAction(SimpleControllerContextAction.java:79)
at org.jboss.dependency.plugins.action.AccessControllerContextAction.uni
nstall(AccessControllerContextAction.java:131)
at org.jboss.dependency.plugins.AbstractControllerContextActions.uninsta
ll(AbstractControllerContextActions.java:58)
at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(Abst
ractControllerContext.java:333)
at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractCon
troller.java:1323)
at org.jboss.dependency.plugins.AbstractController.uninstallContext(Abst
ractController.java:1009)
at org.jboss.dependency.plugins.AbstractController.uninstallContext(Abst
ractController.java:936)
at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractCon
troller.java:463)
at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractCon
troller.java:426)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeployBe
an(AbstractKernelDeployer.java:384)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeployBe
ans(AbstractKernelDeployer.java:363)
at org.jboss.kernel.plugins.deployment.AbstractKernelDeployer.undeploy(A
bstractKernelDeployer.java:162)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.undeploy(Basi
cKernelDeployer.java:88)
at org.jboss.kernel.plugins.deployment.xml.BasicXMLDeployer.undeploy(Bas
icXMLDeployer.java:95)
at org.jboss.kernel.plugins.deployment.BasicKernelDeployer.shutdown(Basi
cKernelDeployer.java:102)
at org.jboss.bootstrap.microcontainer.ServerImpl.doShutdown(ServerImpl.j
ava:135)
at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerI
mpl.java:520)
at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServe
rImpl.java:824)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Nul
lPointerException
at org.jboss.aop.pointcut.FieldMatcher.visit(FieldMatcher.java:181)
at org.jboss.aop.pointcut.ast.ASTAll.jjtAccept(ASTAll.java:41)
at org.jboss.aop.pointcut.MatcherHelper.visit(MatcherHelper.java:89)
at org.jboss.aop.pointcut.MatcherHelper.matches(MatcherHelper.java:83)
at org.jboss.aop.pointcut.PointcutExpression.matchesGet(PointcutExpressi
on.java:154)
at org.jboss.aop.ClassAdvisor.resolveFieldPointcut(ClassAdvisor.java:437
)
at org.jboss.aop.ClassAdvisor.updateInterceptorChains(ClassAdvisor.java:
648)
at org.jboss.aop.ClassAdvisor.doRebuildInterceptors(ClassAdvisor.java:90
9)
at org.jboss.aop.ClassAdvisor$RebuildInterceptorsAction$2.rebuildInterce
ptors(ClassAdvisor.java:2037)
at org.jboss.aop.ClassAdvisor.rebuildInterceptors(ClassAdvisor.java:889)
at org.jboss.aop.ClassAdvisor.removeAdviceBindings(ClassAdvisor.java:427
)
at org.jboss.aop.AspectManager.removeBindings(AspectManager.java:1383)
at org.jboss.aop.AspectXmlLoader.bulkUndeploy(AspectXmlLoader.java:1212)
at org.jboss.aop.AspectXmlLoader.undeployXML(AspectXmlLoader.java:1203)
at org.jboss.aop.deployers.AbstractAspectManager.destroy(AbstractAspectM
anager.java:170)
... 32 more
Caused by: java.lang.RuntimeException: java.lang.NullPointerException
at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:559)
at org.jboss.aop.pointcut.FieldMatcher.visit(FieldMatcher.java:177)
... 46 more
Caused by: java.lang.NullPointerException
at org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory.getTempURL(
JBoss5ClassPoolFactory.java:77)
at org.jboss.aop.asintegration.jboss5.JBoss5ClassPoolFactory.create(JBos
s5ClassPoolFactory.java:68)
at org.jboss.aop.asintegration.jboss5.JBoss5Integration.create(JBoss5Int
egration.java:103)
at javassist.scopedpool.ScopedClassPoolRepositoryImpl.createScopedClassP
ool(ScopedClassPoolRepositoryImpl.java:99)
at javassist.scopedpool.ScopedClassPoolRepositoryImpl.registerClassLoade
r(ScopedClassPoolRepositoryImpl.java:125)
at org.jboss.aop.classpool.AOPClassPoolRepository.registerClassLoader(AO
PClassPoolRepository.java:158)
at org.jboss.aop.AspectManager.registerClassLoader(AspectManager.java:73
0)
at org.jboss.aop.AspectManager.findClassPool(AspectManager.java:720)
at org.jboss.aop.util.ReflectToJavassist.classToJavassist(ReflectToJavas
sist.java:48)
at org.jboss.aop.util.ReflectToJavassist.fieldToJavassist(ReflectToJavas
sist.java:55)
at org.jboss.aop.annotation.PortableAnnotationElement.isAnyAnnotationPre
sent(PortableAnnotationElement.java:115)
at org.jboss.aop.Advisor.hasAnnotation(Advisor.java:554)
... 47 more
00:16:43,281 INFO [ServerImpl] Shutdown complete
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira