Python - Ignite 2.8.0 - java.lang.NullPointerException

classic Classic list List threaded Threaded
4 messages Options
dbutkovic dbutkovic
Reply | Threaded
Open this post in threaded view
|

Python - Ignite 2.8.0 - java.lang.NullPointerException

Hi,

random string insert/update test fails from time to time.
Tested with python 3.6 , pyignite and Ignite 2.8.0
On Ignite 2.7.6 work fine.
All logs and examples and py code for test in attachment.

Best regards
Dren

Ignite_log.txt (11K) Download Attachment
Ignite_DDL_test.sql (820 bytes) Download Attachment
test_insert_update.py (2K) Download Attachment
dbutkovic dbutkovic
Reply | Threaded
Open this post in threaded view
|

Re: Python - Ignite 2.8.0 - java.lang.NullPointerException

I have one small error in py code, please remove last "," from UPDATE
statement in test_insert_update.py

SQL_UPDATE =''' UPDATE TEST SET
                                        COL1 = ?,
                                        COL2 = ?,
                                        COL3 = ?,
                                        COL4 = ?,
                                        COL5 = ?,
                                        COL6 = ?,
                                        COL7 = ?,
                                        COL8 = ?,
                                        COL9 = ?,
                                        COL10= ?,
                                        COL11= ?,
                                        COL12= ?
                                        WHERE ID = ?
                        '''

regardless of this sintax error, insert on Ignite 2.8.0 is not ok.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
ezhuravlev ezhuravlev
Reply | Threaded
Open this post in threaded view
|

Re: Python - Ignite 2.8.0 - java.lang.NullPointerException

Hi,

I'm running this reproducer and I don't see any issues. Do you use pyignite from the same version? Can you please share the full log file, maybe we're missing something?

Thanks,
Evgenii

пт, 20 мар. 2020 г. в 08:11, dbutkovic <[hidden email]>:
I have one small error in py code, please remove last "," from UPDATE
statement in test_insert_update.py

SQL_UPDATE =''' UPDATE TEST SET
                                        COL1 = ?,
                                        COL2 = ?,
                                        COL3 = ?,
                                        COL4 = ?,
                                        COL5 = ?,
                                        COL6 = ?,
                                        COL7 = ?,
                                        COL8 = ?,
                                        COL9 = ?,
                                        COL10= ?,
                                        COL11= ?,
                                        COL12= ?
                                        WHERE ID = ?
                        '''

regardless of this sintax error, insert on Ignite 2.8.0 is not ok.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/
dbutkovic dbutkovic
Reply | Threaded
Open this post in threaded view
|

Re: Python - Ignite 2.8.0 - java.lang.NullPointerException

Hi Evgenii,
yesterday and in several previous days i was doing some testing on Ignite
2.8.0.
Yesterday i did a fresh install (rm $ IGNITE_HOME/work) on test instance and
now on a freshly started instance I can't reproduce the problem.
For now, we can close the case, if I succeed to reproduce the problem again
I will reopen post.

Best regards

Dren



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/