Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-28-2007, 11:21 AM
Member
 
Join Date: Nov 2007
Posts: 2
ourip is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-26-2008, 10:28 PM
Member
 
Join Date: Nov 2007
Posts: 2
ourip is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 01-27-2008, 01:36 AM
CaptainMorgan's Avatar
Moderator
 
Join Date: Dec 2007
Location: NewEngland, US
Posts: 644
CaptainMorgan will become famous soon enoughCaptainMorgan will become famous soon enough
Send a message via AIM to CaptainMorgan
Quote:
Originally Posted by ourip View Post
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.
Qurip, I want to thank you for posting your solution and concern for others with the same issue. I truly appreciate it. If more members with problems posted their updated solution to assist others, the forums would be a better and more efficient space.

Thank you.
-Capt
__________________
Want to voice your opinion on your IDE/Editor of choice? Vote now!
Got a little Capt'n in you? (drink responsibly)
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-23-2008, 07:33 PM
danielstoner's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 117
danielstoner is on a distinguished road
"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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with factory method - unhandled exception type Exception desmond5 New To Java 1 03-08-2008 07:41 PM
Implementing a Stack Using two Queues rhm54 New To Java 2 01-29-2008 04:00 AM
Stack not popping bugger New To Java 2 01-28-2008 05:59 PM
Stack Trace Java Tip Java Tips 0 12-10-2007 06:29 PM
Help with heap and stack coco Advanced Java 1 08-06-2007 03:21 PM


All times are GMT +3. The time now is 04:02 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org