Results 1 to 4 of 4
  1. #1
    eva
    eva is offline Member
    Join Date
    Dec 2007
    Posts
    49
    Rep Power
    0

    Default java.lang.StackOverflowError

    I have written a recursive module and I get java.lang.StackOverflowError. I got some output before this exception. I want to know after how much iteration this exception is raised. Wont Java compiler identify this recursive statement at compile time?

    - PEACE

  2. #2
    CaptainMorgan's Avatar
    CaptainMorgan is offline Moderator
    Join Date
    Dec 2007
    Location
    NewEngland, US
    Posts
    835
    Rep Power
    8

    Default

    Eva, please don't cross-post. You already asked this question here. I know you're looking for help, but you only got one reply from the other thread - you could post back to that one and inquire about your question further. Also, hardwired answered or partially answered your recursion question. Please read the rules of the forum pertaining to cross-posting.

  3. #3
    AralX is offline Member
    Join Date
    Dec 2007
    Location
    KSA, Riyadh
    Posts
    9
    Rep Power
    0

    Default

    well , I don't know at which level but that is a runTime error .. try to find a way to make the recursion more useful :d << just got that Error on my assignment a few weeks ago :D

  4. #4
    eva
    eva is offline Member
    Join Date
    Dec 2007
    Posts
    49
    Rep Power
    0

Similar Threads

  1. java.lang.StackOverflowError Exception
    By Marcus in forum Web Frameworks
    Replies: 4
    Last Post: 08-24-2012, 11:02 PM
  2. java.lang.OutOfMemoryError: Java heap space
    By paul in forum Advanced Java
    Replies: 11
    Last Post: 06-12-2010, 06:30 PM
  3. Replies: 3
    Last Post: 09-07-2009, 02:28 PM
  4. Replies: 2
    Last Post: 09-18-2008, 08:30 AM
  5. java.lang.OutOfMemoryError with java vector
    By mary in forum New To Java
    Replies: 3
    Last Post: 08-03-2007, 11:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •