Issue2485

classification
Title: getArray method for PyList, PyTuple throws java.lang.StackOverflowError
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Milestone: Jython 2.7.0
process
Status: closed Resolution: invalid
Dependencies: Superseder:
Assigned To: Nosy List: threenine, zyasoft
Priority: Keywords:

Created on 2016-03-14.15:21:01 by threenine, last changed 2016-09-14.16:24:08 by zyasoft.

Messages
msg10819 (view) Author: Three Nine (threenine) Date: 2016-03-14.22:33:11
I am using Jython in a JSR-223 application. The application retrieves a PyList or PyTuple object from the script engine into the parent environment (in this case Nashorn JavaScript). There, getArray() throws  java.lang.StackOverflowError. I tried instantiating an instance of PyList in Groovy, adding two items, then using getArray(). But it throws java.lang.NullPointerException. Is geArray() implemented for these classes?
msg10821 (view) Author: Jim Baker (zyasoft) Date: 2016-03-14.23:51:55
Please submit a test case that replicates this problem.
msg10827 (view) Author: Three Nine (threenine) Date: 2016-03-18.23:16:36
Thank you for your quick response. I was able to determine that the error was not generated by getArray(). Rookie error. I apologize for the false alarm.
History
Date User Action Args
2016-09-14 16:24:08zyasoftsetstatus: open -> closed
resolution: invalid
2016-03-18 23:16:37threeninesetmessages: + msg10827
2016-03-14 23:51:55zyasoftsetnosy: + zyasoft
messages: + msg10821
2016-03-14 22:33:11threeninesetmessages: + msg10819
2016-03-14 15:21:01threeninecreate