Sparksee java crashing

18 views
Skip to first unread message

s thomas

unread,
Jan 18, 2018, 8:14:36 AM1/18/18
to Sparksee
Hello,
 
I am using sparkseejava (5.2) in a multi-threaded java application. However, I find that the program is crashing and the error stack mentions problematic frame as sparkseecore:TxGraph:ObjectsCanClose()\

Please advise on what should be done.

-S. Thomas
 



c3po.ac

unread,
Jan 18, 2018, 9:21:26 AM1/18/18
to Sparksee
Hi,

You could check that the ObjectsIterators are explicitly closed before closing the Objects, also make sure to use only one single thread per session.

Best Regards,

El dijous, 18 gener de 2018 14:14:36 UTC+1, s thomas va escriure:

s thomas

unread,
Jan 19, 2018, 2:40:48 AM1/19/18
to Sparksee
Hi,
  I have ensured explicitly closing ObjectIterators then closing Objects. Further, the session is being created within the run() function of the thread and hence there is only one thread per session. On completion of the run() function of the thread, the Graph object is deleted and then the Session is closed. Is there anything I am missing?

Rgds
S Thomas

c3po.ac

unread,
Jan 19, 2018, 4:59:03 AM1/19/18
to Sparksee

Hi,

To get more useful information you could try setting the log level to “Debug”, then run it again and check the log file. Also, check if the Sparksee and Databases instances are also closed after the sessions threads have finished, if you don’t explicitly close them later the java garbage collector may decide to destroy them while the session thread is still running. 

Could you tell us which operating system and java version are you using? 

Best regards,

El divendres, 19 gener de 2018 8:40:48 UTC+1, s thomas va escriure:
Reply all
Reply to author
Forward
0 new messages