Please note that Sahi's development and support teams do not actively monitor this. This is more a community forum. If you are a Sahi Pro user looking for commercial support, please email support @ sahipro.com with your query.

Getting exceptions till sahi is unable to connect.

AroundafurAroundafur Members
edited July 2014 in Sahi - Open Source
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!
Sign In or Register to comment.