Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-12-03 Thread Anto Aravinth
Thanks for the reply. I'm actually running my UftTest class of guava with my aspects. As you said only this particular class is not ending the execution at all. Other test classes of guava works fine. I'm yet to attach a debugger and find a root cause for it. On 4 Dec 2015 01:42, "Andy Clement"

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-12-03 Thread Andy Clement
I work better with complete failing samples rather than just the aspects. I’m not sure what the actual code looks like that you are running it against - I can guess but that doesn’t mean there isn’t a quirk in your code that is causing an infinite loop. I created something that your aspect would

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-28 Thread Alexander Kriegisch
Usually you get a StackOverflowError if you have en endless recursion or circular call problem. Is that what you are seeing? -- Alexander Kriegisch http://scrum-master.de     Frank Pavageau schrieb am 28.11.2015 19:08: Well, have you tried attaching a debugger to see if it actually loops infi

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-28 Thread Frank Pavageau
Well, have you tried attaching a debugger to see if it actually loops infinitely? Or even doing a simple thread dump? You can use the jstack CLI for that. If you're trying to use aspects, that should be accessible. Regards, Frank Le 28 nov. 2015 18:25, "ants" a écrit : > Any solutions for this

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-28 Thread ants
Any solutions for this issue? On 26 Nov 2015 15:44, "ants [via AspectJ]" < ml-node+s2085585n4651987...@n4.nabble.com> wrote: > Sorry this the right code: > > aspect GuavaAspect{ > > public boolean trackState; > declare precedence : GuavaAspect, *; > protected pointcut trace

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-26 Thread ants
Sorry this the right code: aspect GuavaAspect{ public boolean trackState; declare precedence : GuavaAspect, *; protected pointcut traceMethods() :(execution(* junit.framework.TestCase+.*(..))&& within(com.google..*) && !cflow(within(GuavaAspect))); p

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-26 Thread ants
Here is the actual code: aspect GuavaAspect{ public boolean trackState; declare precedence : GuavaAspect, *; protected pointcut traceMethods() :(execution(* junit.framework.TestCase+.*(..))&&!cflow(within(GuavaAspect))); protected pointcut traceMethods2

Re: [aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-25 Thread Alexander Kriegisch
Hi Anto. How about sharing some actual code? -- Alexander Kriegisch http://scrum-master.de > Am 25.11.2015 um 16:39 schrieb Anto Aravinth : > > Hi All, > > I have two pointcuts designed in my aspectj file. First pointcut checks > whether the class under execution has extended a particular cl

[aspectj-users] Is It Possible For Two PointCut To Go Infinite Loop?

2015-11-25 Thread Anto Aravinth
Hi All, I have two pointcuts designed in my aspectj file. First pointcut checks whether the class under execution has extended a particular class. If so sets a state and another point cut there on track all the method calls into a file ( until the first pointcut sets the state to false in its aft