Results 1 to 5 of 5
Thread: Exception: max stack exceeded
- 11-28-2007, 10:21 AM #1
Member
- Join Date
- Nov 2007
- Posts
- 2
- Rep Power
- 0
Exception: max stack exceeded
I get the following exception which I could not locate any information about on the internet:
Exception in thread "Thread-140" java.lang.VerifyError: max stack exceeded (class: aspects/MSDCoordinatorAspect method: <clinit>()V) at pc: 3
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java: 59)
at java.lang.J9VMInternals.initialize(J9VMInternals.j ava:120)
at seller.BuyerProxy.run(BuyerProxy.java:77)
at java.lang.Thread.run(Thread.java:797)
BuyerProxy implements Runnable and I run it in a new thread:
Thread t = new Thread(proxy);
t.start();
when I wrote BuyerProxy as extending Thread and used the line:
proxy.start();
to run it, everything worked well. but I need it to run several times so I had to switch to the Runnable approach. (the exception happens on the first time it runs and it runs alone when it happens)
I don't know if the following is relevant but the mentioned class: aspects/MSDCoordinatorAspect is an aspect written in AspectJ.
Appreciate any help or hints,
thanks, Ouri.
- 01-26-2008, 09:28 PM #2
Member
- Join Date
- Nov 2007
- Posts
- 2
- Rep Power
- 0
If anyone ever gets this error (which I doubt), what you should do is simply clean and rebuild your project.
This is what solved the problem for me.
Ouri.
- 01-27-2008, 12:36 AM #3
Vote for the new slogan to our beloved Java Forums! (closes on September 4, 2008)
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
- 04-23-2008, 06:33 PM #4
"max stack exceeded" might also show you that you have a recursive algorithm problem.
Daniel @ [www.littletutorials.com]
Language is froth on the surface of thought
- 05-27-2008, 10:05 PM #5
Member
- Join Date
- May 2008
- Posts
- 21
- Rep Power
- 0
Similar Threads
-
Implementing a Stack Using two Queues
By rhm54 in forum New To JavaReplies: 3Last Post: 12-01-2010, 10:28 AM -
Trouble with factory method - unhandled exception type Exception
By desmond5 in forum New To JavaReplies: 1Last Post: 03-08-2008, 06:41 PM -
Stack not popping
By bugger in forum New To JavaReplies: 2Last Post: 01-28-2008, 04:59 PM -
Stack Trace
By Java Tip in forum Java TipReplies: 0Last Post: 12-10-2007, 05:29 PM -
Help with heap and stack
By coco in forum Advanced JavaReplies: 1Last Post: 08-06-2007, 02:21 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks