The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

java.util.ConcurrentModificationException while automating

adithya | Last updated: Sep 03, 2018 01:07PM UTC

Hi, I am trying to replay every requests in proxyhistory and modify headers and makeHTTPRequest and compare the requests. while I do this, I am getting this ConcurrentModification Exception error. I believe this happens when the iterator which I am running on proxyhistory moves to the next iteration before closing the previous one. I tried searching for a workaround on this and found people usually do hasNext(). Well, as I am using Jython I didn't get any answers. As proxyhistory type refers to a nested array and every subsequent request will be burp.ckd which I don't understand the type. What is the best possible solution for this exception in Jython for burp?

PortSwigger Agent | Last updated: Sep 03, 2018 01:17PM UTC

Could you please let us know the version of Burp you're using, and provide a link to your extension source code?

quincybatten | Last updated: Feb 13, 2023 04:22AM UTC