java.lang.ArrayIndexOutOfBoundsException: 0

Spring JIRA | Christian Dupuis | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    {code} java.lang.ArrayIndexOutOfBoundsException: 0 at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:185) at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:175) at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:226) at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesForBean(AopReferenceModelBuilder.java:336) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromAspectDefinition(AopReferenceModelBuilder.java:378) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:458) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:186) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder####BuildJob.run(AopReferenceModelBuilder.java:125) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code} the corresponding aspect definition {code} <bean class="com.accenture.adsj.refapp.batch.advice.LogAdvice" id="logAdvice" /> <aop:config> <aop:aspect id="tradeLogging" ref="logAdvice"> <aop:around pointcut-ref="tradePointcut" method="doBasicLogging"/> <aop:pointcut id="tradePointcut" expression="execution(* org.springframework.batch.container.*.*(..))" /> </aop:aspect> </aop:config> {code}

    Spring JIRA | 10 years ago | Christian Dupuis
    java.lang.ArrayIndexOutOfBoundsException: 0
  2. 0

    {code} java.lang.ArrayIndexOutOfBoundsException: 0 at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:185) at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:175) at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:226) at org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:254) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesForBean(AopReferenceModelBuilder.java:336) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromAspectDefinition(AopReferenceModelBuilder.java:378) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:458) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:186) at org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder####BuildJob.run(AopReferenceModelBuilder.java:125) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58) {code} the corresponding aspect definition {code} <bean class="com.accenture.adsj.refapp.batch.advice.LogAdvice" id="logAdvice" /> <aop:config> <aop:aspect id="tradeLogging" ref="logAdvice"> <aop:around pointcut-ref="tradePointcut" method="doBasicLogging"/> <aop:pointcut id="tradePointcut" expression="execution(* org.springframework.batch.container.*.*(..))" /> </aop:aspect> </aop:config> {code}

    Spring JIRA | 10 years ago | Christian Dupuis
    java.lang.ArrayIndexOutOfBoundsException: 0

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      0

      at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression()
    2. Spring AOP
      AspectJExpressionPointcut.matches
      1. org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointcutExpression(AspectJExpressionPointcut.java:185)
      2. org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyToMatch(AspectJExpressionPointcut.java:175)
      3. org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:226)
      4. org.springframework.aop.aspectj.AspectJExpressionPointcut.matches(AspectJExpressionPointcut.java:254)
      4 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    4. org.springframework.ide
      AopReferenceModelBuilder.buildAopModel
      1. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesForBean(AopReferenceModelBuilder.java:336)
      2. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromAspectDefinition(AopReferenceModelBuilder.java:378)
      3. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopReferencesFromFile(AopReferenceModelBuilder.java:458)
      4. org.springframework.ide.eclipse.aop.core.model.builder.AopReferenceModelBuilder.buildAopModel(AopReferenceModelBuilder.java:186)
      4 frames