| | What is exception "StackOverflowError" in method "<clinit>" Frédéric Siva
|
| | 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 (...) (23 years ago, 13-May-02, to lugnet.robotics.rcx.java)
|
| | |
| | | | Re: What is exception "StackOverflowError" in method "<clinit>" Juergen Stuber
|
| | | | (...) 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 (...) (23 years ago, 17-May-02, to lugnet.robotics.rcx.java)
|
| | | | |
| | | | | | Re: What is exception "StackOverflowError" in method "<clinit>" Roger Glassey
|
| | | | (...) I have tried TextLCD.print() and it really does work. Roger (23 years ago, 17-May-02, to lugnet.robotics.rcx.java)
|
| | | | |
| | | | | | Re: What is exception "StackOverflowError" in method "<clinit>" Frédéric Siva
|
| | | | (...) Yes, you are both right (Thanks anyway) 1. TextLCD.print() works perfectly when called from simple programs 2. My code is most probably using too deep calls (Why is this not covered in the 10/10 'Core' book of Bagnall) BUT, QUESTION FOR YOU (...) (23 years ago, 22-May-02, to lugnet.robotics.rcx.java)
|
| | | | |
| | | | | | Re: What is exception "StackOverflowError" in method "<clinit>" Juergen Stuber
|
| | | | (...) The first time a method is called the class gets initialized, and the stack overflow happened in the initialization method <clinit>, so nothing mysterious there. (...) If your program uses a lot of memory (less than 3K free) this is a side (...) (23 years ago, 23-May-02, to lugnet.robotics.rcx.java)
|
| | | | |