Created on 2019-02-14.12:21:28 by vigneshkumarsadasivam, last changed 2019-02-18.22:41:54 by jeff.allen.
||Author: Vigneshkumar Sadasivam (vigneshkumarsadasivam)
ArrayIndexOutOfBoundsException is thrown while calling from EASE scripting engine
- Load Python scripting engine
- Execute some scripts
- Exception will be thrown
- It is not reproducible always
||Author: Jeff Allen (jeff.allen)
Might this be a concurrency problem?
The logic of org.python.core.PyStringMap.stringmap_keys seems to me to be thread-unsafe. It gets a collection size, to size the destination array, then iterates the collection on the assumption the size has not changed. This is only based on a cursory inspection of the method named. It would be worth questioning other methods of this class too.
|2019-02-18 22:41:54||jeff.allen||set||priority: normal|
milestone: Jython 2.7.0 ->