[jboss-jira] [JBoss JIRA] Commented: (JBAOP-480) NPE in concurrent join point generation
Jason T. Greene (JIRA)
jira-events at lists.jboss.org
Thu Oct 25 13:51:01 EDT 2007
[ http://jira.jboss.com/jira/browse/JBAOP-480?page=comments#action_12384411 ]
Jason T. Greene commented on JBAOP-480:
---------------------------------------
There are 2 unit tests in in the pojo cache project that hit it frequently, (about 1 in 4 runs triggers it on my system)
svn co https://svn.jboss.org/repos/jbosscache/pojo/trunk pojocache-trunk
cd pojocache-trunk
mvn -Dtest=LocalConcurrentTest test
The failure logs for whichever test failes are in target/surefire-reports/
Is this sufficient?
> NPE in concurrent join point generation
> ---------------------------------------
>
> Key: JBAOP-480
> URL: http://jira.jboss.com/jira/browse/JBAOP-480
> Project: JBoss AOP
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 2.0.0.beta1
> Reporter: Jason T. Greene
> Assigned To: Flavia Rainone
> Fix For: 2.0.0.beta2
>
>
> Recently I have noticed intermittent failures in join point generation. It appears to happen when there are concurrent inocations on an advised method.
> Caused by: java.lang.RuntimeException: Error generating joinpoint class for joinpoint Method[method=public java.lang.Object org.jboss.cache.pojo.impl.PojoCacheImpl.detach(org.jboss.cache.Fqn,java.lang.String) throws org.jboss.cache.pojo.PojoCacheException]
> at org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:304)
> at org.jboss.aop.instrument.JoinPointGenerator.access$100(JoinPointGenerator.java:75)
> at org.jboss.aop.instrument.JoinPointGenerator$GenerateJoinPointClassAction$2.generateJoinPointClass(JoinPointGenerator.java:1627)
> at org.jboss.aop.instrument.JoinPointGenerator.generateJoinPointClass(JoinPointGenerator.java:240)
> at org.jboss.aop.GeneratedClassAdvisor.generateJoinPointClass(GeneratedClassAdvisor.java:1020)
> at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplAdvisor.detach_N_6302035201148273652(PojoCacheImpl$PojoCacheImplAdvisor.java)
> at org.jboss.cache.pojo.impl.PojoCacheImpl$PojoCacheImplInstanceAdvisor.detach_N_6302035201148273652(PojoCacheImpl$PojoCacheImplInstanceAdvisor.java)
> at org.jboss.cache.pojo.impl.PojoCacheImpl.detach(PojoCacheImpl.java)
> at org.jboss.cache.pojo.impl.PojoCacheDelegate.putObjectII(PojoCacheDelegate.java:143)
> at org.jboss.cache.pojo.impl.PojoCacheImpl.putObject(PojoCacheImpl.java:135)
> at org.jboss.cache.pojo.impl.PojoCacheImpl.org$jboss$cache$pojo$impl$PojoCacheImpl$attach$aop(PojoCacheImpl.java:100)
> at org.jboss.cache.pojo.impl.PojoCacheImpl$JoinPoint_attach3085019539260813833.dispatch(PojoCacheImpl$JoinPoint_attach3085019539260813833.java)
> at org.jboss.cache.pojo.impl.JoinPoint_attach3085019539260813833_1.invokeNext(JoinPoint_attach3085019539260813833_1.java)
> at org.jboss.cache.pojo.interceptors.PojoTxUndoSynchronizationInterceptor.invoke(PojoTxUndoSynchronizationInterceptor.java:42)
> at org.jboss.cache.pojo.impl.JoinPoint_attach3085019539260813833_1.invokeNext(JoinPoint_attach3085019539260813833_1.java)
> at org.jboss.cache.pojo.interceptors.PojoTxLockInterceptor.invoke(PojoTxLockInterceptor.java:38)
> at org.jboss.cache.pojo.impl.JoinPoint_attach3085019539260813833_1.invokeNext(JoinPoint_attach3085019539260813833_1.java)
> at org.jboss.cache.pojo.interceptors.PojoFailedTxMockupInterceptor.invoke(PojoFailedTxMockupInterceptor.java:46)
> at org.jboss.cache.pojo.impl.JoinPoint_attach3085019539260813833_1.invokeNext(JoinPoint_attach3085019539260813833_1.java)
> at org.jboss.cache.pojo.interceptors.PojoTxInterceptor.invoke(PojoTxInterceptor.java:77)
> ... 14 more
> Caused by: java.lang.NullPointerException
> at org.jboss.aop.JoinPointInfo.getAdviceString(JoinPointInfo.java:184)
> at org.jboss.aop.instrument.JoinPointGenerator.doGenerateJoinPointClass(JoinPointGenerator.java:263)
> ... 33 more
--
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
More information about the jboss-jira
mailing list