Subject:
|
Re: What is exception "StackOverflowError" in method "<clinit>"
|
Newsgroups:
|
lugnet.robotics.rcx.java
|
Date:
|
Fri, 17 May 2002 18:30:14 GMT
|
Viewed:
|
3796 times
|
| |
| |
"fredsiva" <frederic.siva@wanadoo.be> writes:
> When running my program (made of several classes), I get the following:
> (Output from the Emulator, but I get similar result on the RCX of course)
>
> *** UNCAUGHT EXCEPTION/ERROR:
> -- Exception class : 7
> -- Thread : 1
> -- Method signature : 3
> -- Root method sig. : 0
> -- Bytecode offset : 7
>
> Here is a part of my signature file:
>
> Class 0: java/lang/Object
> Class 1: java/lang/Thread
> Class 2: java/lang/String
> Class 3: java/lang/Throwable
> Class 4: java/lang/Error
> Class 5: java/lang/OutOfMemoryError
> Class 6: java/lang/NoSuchMethodError
> Class 7: java/lang/StackOverflowError
> Class 8: java/lang/NullPointerException
> Class 9: java/lang/ClassCastException
> ....
> Signature 1: run()V
> Signature 2: <init>()V
> Signature 3: <clinit>()V
> Signature 4: notify()V
> Signature 5: notifyAll()V
> Signature 6: wait()V
>
> By putting some "traces", I see that the instruction that causes the crash
> is a pretty simple:
>
> TextLCD.print("MENU");
>
> Any clue what it could be ?
StackOverflowError could either be a stack overflow
(maximum depth is 10) or a thread that dies from whatever exception
(that seems to be a bug, but I couldn't yet figure out what causes it).
I suppose TextLCD.print should work, though I never used it,
so probably it is really a stack overflow.
Is the call deeply nested?
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message has 1 Reply:
Message is in Reply To:
5 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|