Issue489168

classification
Title: Parse error, java traceback
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: bckfnn Nosy List: bckfnn, xoltar
Priority: normal Keywords:

Created on 2001-12-05.01:16:46 by xoltar, last changed 2001-12-20.17:19:59 by bckfnn.

Messages
msg498 (view) Author: Bryn Keller (xoltar) Date: 2001-12-05.01:16:46
With 2.1b1 on WinNT, jdk 1.3.1, sorry I can't provide
the source without NDAs, blah blah blah. This problem
did not occur with 2.1a3. Line 27 in jfcclient.py is:

from GuiFactory.jfc import JFCGuiKit, session


Traceback (innermost last):
  File "<string>", line 1, in ?
  File
"D:\NGClean\main\src\magellan\bin\..\src\python\jfcclient.py",
line 27, i
n ?
java.lang.ArrayIndexOutOfBoundsException
        at
org.python.parser.PythonGrammarTokenManager.TokenLexicalActions(Pytho
nGrammarTokenManager.java)
        at
org.python.parser.PythonGrammarTokenManager.getNextToken(PythonGramma
rTokenManager.java)
        at
org.python.parser.PythonGrammar.jj_ntk(PythonGrammar.java)
        at
org.python.parser.PythonGrammar.file_input(PythonGrammar.java)
        at org.python.core.parser.parse(parser.java)
        at org.python.core.imp.compileSource(imp.java)
        at org.python.core.imp.compileSource(imp.java)
        at org.python.core.imp.createFromSource(imp.java)
        at org.python.core.imp.loadFromPath(imp.java)
        at org.python.core.PyModule.impAttr(PyModule.java)
        at org.python.core.imp.import_next(imp.java)
        at org.python.core.imp.import_logic(imp.java)
        at org.python.core.imp.import_name(imp.java)
        at org.python.core.imp.importName(imp.java)
        at
org.python.core.ImportFunction.load(__builtin__.java)
        at
org.python.core.ImportFunction.__call__(__builtin__.java)
        at org.python.core.PyObject.__call__(PyObject.java)
        at
org.python.core.__builtin__.__import__(__builtin__.java)
        at org.python.core.PyModule.impHook(PyModule.java)
        at
org.python.core.PyModule.__findattr__(PyModule.java)
        at org.python.core.imp.importFromAs(imp.java)
        at org.python.core.imp.importFrom(imp.java)
        at
jfcclient$py.f$0(D:\NGClean\main\src\magellan\bin\..\src\python\jfccl
ient.py:27)
        at
jfcclient$py.call_function(D:\NGClean\main\src\magellan\bin\..\src\py
thon\jfcclient.py)
        at
org.python.core.PyTableCode.call(PyTableCode.java)
        at org.python.core.PyCode.call(PyCode.java)
        at org.python.core.imp.createFromCode(imp.java)
        at org.python.core.imp.createFromSource(imp.java)
        at org.python.core.imp.loadFromPath(imp.java)
        at org.python.core.imp.loadFromPath(imp.java)
        at org.python.core.imp.load(imp.java)
        at org.python.core.imp.import_next(imp.java)
        at org.python.core.imp.import_name(imp.java)
        at org.python.core.imp.importName(imp.java)
        at
org.python.core.ImportFunction.load(__builtin__.java)
        at
org.python.core.ImportFunction.__call__(__builtin__.java)
        at org.python.core.PyObject.__call__(PyObject.java)
        at
org.python.core.__builtin__.__import__(__builtin__.java)
        at org.python.core.imp.importOne(imp.java)
        at org.python.pycode._pyx0.f$0(<string>:1)
        at org.python.pycode._pyx0.call_function(<string>)
        at
org.python.core.PyTableCode.call(PyTableCode.java)
        at org.python.core.PyCode.call(PyCode.java)
        at org.python.core.Py.runCode(Py.java)
        at org.python.core.Py.exec(Py.java)
        at
org.python.util.PythonInterpreter.exec(PythonInterpreter.java)
        at org.python.util.jython.main(jython.java)

java.lang.ArrayIndexOutOfBoundsException:
java.lang.ArrayIndexOutOfBoundsExcepti
on
msg499 (view) Author: Finn Bock (bckfnn) Date: 2001-12-19.19:09:20
Logged In: YES 
user_id=4201

Added as test351.py
msg500 (view) Author: Finn Bock (bckfnn) Date: 2001-12-20.17:19:59
Logged In: YES 
user_id=4201

Fixed in python.jjt: 2.17.
History
Date User Action Args
2001-12-05 01:16:46xoltarcreate