18 January 2026:
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.
Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.
Getting exceptions till sahi is unable to connect.
I'm running sahi on my ubuntu 12.04 headless server and i've configured sahi to work with phantomjs on port 9999
as soon as I run start_sahi.sh
time goes by and I get java.util.ConcurrentModificationException:
root@pinky:~/sahi/userdata/bin# ./start_sahi.sh
SAHI_HOME: ../..
SAHI_USERDATA_DIR: ../../userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file = /root/sahi/config/sahi.properties
Sahi user properties file = /root/sahi/userdata/config/userdata.properties
Added shutdown hook.
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from: /root/sahi/userdata/config/browser_types.xml
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
at java.util.HashMap$ValueIterator.next(HashMap.java:950)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:294)
at net.sf.sahi.session.Session$1.run(Session.java:93)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
at java.util.HashMap$ValueIterator.next(HashMap.java:950)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:294)
at net.sf.sahi.session.Session$1.run(Session.java:93)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Keytool command found at: keytool
Debug: concat.js: Diff domain: Could not add XHR to list for automatic monitoring TypeError: Cannot read property "XHRs" from undefined
ran some small tests on Jenkins which pass ok, but after a while they get stuck.
I dunno what seems to be the problem but I guess it's classpath related.
please help!
as soon as I run start_sahi.sh
time goes by and I get java.util.ConcurrentModificationException:
root@pinky:~/sahi/userdata/bin# ./start_sahi.sh
SAHI_HOME: ../..
SAHI_USERDATA_DIR: ../../userdata
SAHI_EXT_CLASS_PATH:
Sahi properties file = /root/sahi/config/sahi.properties
Sahi user properties file = /root/sahi/userdata/config/userdata.properties
Added shutdown hook.
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
Reading browser types from: /root/sahi/userdata/config/browser_types.xml
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
at java.util.HashMap$ValueIterator.next(HashMap.java:950)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:294)
at net.sf.sahi.session.Session$1.run(Session.java:93)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
at java.util.HashMap$ValueIterator.next(HashMap.java:950)
at net.sf.sahi.session.Session.removeInactiveSessions(Session.java:294)
at net.sf.sahi.session.Session$1.run(Session.java:93)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Keytool command found at: keytool
Debug: concat.js: Diff domain: Could not add XHR to list for automatic monitoring TypeError: Cannot read property "XHRs" from undefined
ran some small tests on Jenkins which pass ok, but after a while they get stuck.
I dunno what seems to be the problem but I guess it's classpath related.
please help!