The latest release of the STAX service is Version 3.5.9. Note that this
STAX version provides support for Jython 2.5.2 (instead of Jython 2.1
which is what is supported by STAX V3.4.5 and earlier). There were
significant changes in Jython from 2.1 to 2.5.2. This is talked about in
the STAX History file and on the STAX download web page at
http://staf.sourceforge.net/getstax.php. Jython is used to execute the
code within a <script> element in a STAX job.
If you provide the content of your <script> element at line 333 in file
/home/hydragui/ATF/lib/framework.xml, I can try to help you resolve the
issue. The Jython error message states that in line 10 within this
<script> element, it is encountering error: "OverflowError: an integer is
required". And what is the value of the variable(s) used in line 10 of
this <script> element? It appears that an integer is not being used for
something that requires an integer. Integer operations that flow outside
the range of integer values raise an OverflowError. If an integral
numeric risks exceeding the maximum value for a PyInteger (2147483647), it
should be made a long integer (PyLong) by adding the L suffix (e.g. 0L
instead of 0). You can also google for more information on this
Jython/Python error message.
--------------------------------------------------------------
Sharon Lucas
IBM Austin, luc...@us.ibm.com
(512) 286-7313 or Tieline 363-7313
From: deepak bhatt <engdeepak_bh...@yahoo.co.in>
To: "staf-users@lists.sourceforge.net"
<staf-users@lists.sourceforge.net>,
Date: 06/19/2014 08:41 AM
Subject: [staf-users] Python issue with new STAF
Hi ,
I recently updated my STAF version . I am getting below error while
execution which I never got with old version.
Did anybody have any idea what could be the issue.
---------------------------------------------------------------------------\
===== XML Information =====
File: /home/hydragui/ATF/lib/framework.xml, Machine: local
Line 333: Error in element type "script".
===== Python Error Information =====
com.ibm.staf.service.stax.STAXPythonEvaluationException:
Traceback (most recent call last):
File "<pyExec string>", line 10, in <module>
OverflowError: an integer is required
===== Call Stack for STAX Thread 1 =====
[
function: testSequence (Line: 12, File: /hom
--------------------------------------
Thanks in advance.
Regards,
Deepak
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
staf-users mailing list
staf-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/staf-users