[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Getting exception while compiling.

This is a question for aspectj-users@xxxxxxxxxxx,
not for support@xxxxxxxxxxx or aspectj-dev@xxxxxxxxxxxx

Also, you'll have to provide more information to get help
(e.g., which version of AspectJ you're using); see the 
FAQ entries on writing email queries, e.g.,
 
http://dev.eclipse.org/viewcvs/indextech.cgi/~checkout~/aspectj-home/doc/faq.html#q:writingbugsandemails

Thanks -
Wes

unmesh joshi wrote:
> 
> I am getting following exception while compiling the attached aspect. Please
> help. Its urgent.
> 
> Thanks You very much for help,
> 
> Unmesh
> 
> java.lang.ArrayIndexOutOfBoundsException
> java.lang.ArrayIndexOutOfBoundsException
>         at org.aspectj.compiler.base.ast.Exprs.get(Exprs.java:122)
>         at
> org.aspectj.compiler.crosscuts.ast.AroundAdviceDec.checkPlan(AroundAd
> viceDec.java:1244)
>         at
> org.aspectj.compiler.crosscuts.ast.AroundAdviceDec.wrapStmts(AroundAd
> viceDec.java:104)
>         at
> org.aspectj.compiler.crosscuts.ast.AdviceDec.wrapJoinPoint(AdviceDec.
> java:88)
>         at
> org.aspectj.compiler.crosscuts.joinpoints.AdvicePlan.wrapJoinPoint(Ad
> vicePlan.java:79)
>         at
> org.aspectj.compiler.crosscuts.joinpoints.JoinPoint.implementPlans(Jo
> inPoint.java:668)
>         at org.aspectj.compiler.crosscuts.AdviceWeave
> r.implementPlans(AdviceWeav
> er.java:77)
>         at
> org.aspectj.compiler.crosscuts.AdviceWeaver.weaveInto(AdviceWeaver.ja
> va:61)
>         at
> org.aspectj.compiler.crosscuts.AdviceWeaver.postProcess(AdviceWeaver.
> java:53)
>         at org.aspectj.compiler.base.ast.Walker.process(Walker.java:47)
>         at org.aspectj.compiler.base.ast.ASTObject.walk(ASTObject.java:245)
>         at org.aspectj.compiler.base.ast.Walker.process(Walker.java:46)
>         at org.aspectj.compiler.base.ast.ASTObject.walk(ASTObject.java:245)
>         at org.aspectj.compiler.base.ast.Walker.process(Walker.java:46)
>         at
> org.aspectj.compiler.base.WalkerPass.transform(WalkerPass.java:51)
>  &nb sp;      at
> org.aspectj.compiler.base.WalkerPass.transformWorld(WalkerPass.java:4
> 5)
>         at
> org.aspectj.compiler.base.JavaCompiler.internalCompile(JavaCompiler.j
> ava:359)
>         at
> org.aspectj.compiler.base.JavaCompiler.compile(JavaCompiler.java:144)
> 
>         at org.aspectj.tools.ajc.Main.run(Main.java:187)
>         at org.aspectj.tools.ajc.Main.compile(Main.java:145)
>         at org.aspectj.tools.ajc.Main.realMain(Main.java:132)
>         at org.aspectj.tools.ajc.Main.main(Main.java:93)
> 
> 
> 
> ----------------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now
> 
>                            Name: ReferenceValue.aj
>                            Type: unspecified type
>    ReferenceValue.aj             (application/octet-stream)
>                        Encoding: base64
>                     Description: ReferenceValue.aj