How to fix... On this page, we've collected together a few common exceptons and problems that occur in Java programs. We look at how they are typically caused and resolved. Topics currently covered: StreamCorruptedException (a common Java serialisation error) If you think there's some other problem that should be included here, then let us know by posting a message to the Javamex forum . recursive algorithm — a method that calls itself (or a chain of methods that repeatedly calls itself)— but there is not enough stack space for the recursive calls; you're accidentally making a method (or chain of methods) repeatedly call itself uncontrolledly. In the second case, which is probably more common, you need to correct the algorithm so that it doesn't infinitely call itself. However, if you are sure that your algorithm doesn't contain a bug, but you just need to allow it to recurse to a greater depth (bearing in mind that with an average number of parameters,
Read full article from How to fix... in Java
No comments:
Post a Comment