Uploaded image for project: 'JBoss AOP'
  1. JBoss AOP
  2. JBAOP-480

NPE in concurrent join point generation

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2.0.0.beta1
    • Fix Version/s: 2.0.0.CR2
    • Component/s: None
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  flavia.rainone Flavia Rainone
                  Reporter:
                  jason.greene Jason Greene
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: