From: Garcia, M. <mg...@Bu...> - 2001-06-01 14:56:07
|
This is a very common problem when working with arrays. You have probably accessed an index that is out of the range of the array you are processing. Try backing off of your length check. It would be helpful to see code that is generating this. mick -----Original Message----- From: HEINECKE Johannes FTRD/DMI/LAN To: 'jython' Sent: 6/1/01 5:17 AM Subject: [Jython-users] jython error: java.lang.ArrayIndexOutOfBoundsException: -53781288 Hello, I'm a newbie to jython but not to python. I have a rather complex application in python, which I would like to run under jython. The organisation is already `java-compatible' (ie one file per class of the same name, no global variables etc) but every time I launche jython programme.py it crashes with a java error message like File "programme.py", line 0, in GlobInit java.lang.ArrayIndexOutOfBoundsException: -53781288 at org.python.core.PyTableCode.call(Compiled Code) at org.python.core.PyTableCode.call(Compiled Code) at org.python.core.PyTableCode.call(Compiled Code) at org.python.core.PyFunction.__call__(Compiled Code) ... java.lang.ArrayIndexOutOfBoundsException: java.lang.ArrayIndexOutOfBoundsException: -53781288 under python the programme runs fine. The puzzling thing is, that the the list of error message is never identical. I tried jython 2.0 and jython 2.1a under java 1.2 and java 1.3 respectively under Solaris 8 and Linux (redhat 7.0) Is there anybody out there who has had a similar probleme and found a solution? Thanks for any hint! Johannes -- Johannes Heinecke Email: joh...@fr... _______________________________________________ Jython-users mailing list Jyt...@li... http://lists.sourceforge.net/lists/listinfo/jython-users |