microsoft/playwright-java

[Bug]: Popup windows click on "OK" button will close the windows (execute javascript to close the popup) throw exception.

Closed this issue · 3 comments

Version

1.47

Steps to reproduce

Click button(execute javascript) to close popup windows(browser) throw exception. Look like there is another internal after click, playwright tries to execute navigation but could not find the session (since windows is closed). This were working fine with v1.42

Here is java playwright exception
com.microsoft.playwright.PlaywrightException: Error {
message='Target page, context or browser has been closed
name='TargetClosedError
stack='TargetClosedError:Target page, context or browser has been closed
Error
at captureRawStack (C:\Users\EPhung\AppData\Local\Temp\playwright-java-12292174363546017510\package\lib\utils\stackTrace.js:50:17)
at LongStandingScope._race (C:\Users\EPhung\AppData\Local\Temp\playwright-java-12292174363546017510\package\lib\utils\manualPromise.js:91:52)
at LongStandingScope.race (C:\Users\EPhung\AppData\Local\Temp\playwright-java-12292174363546017510\package\lib\utils\manualPromise.js:84:17)
at ElementHandleDispatcher._handleCommand (C:\Users\EPhung\AppData\Local\Temp\playwright-java-12292174363546017510\package\lib\server\dispatchers\dispatcher.js:96:36)
at DispatcherConnection.dispatch (C:\Users\EPhung\AppData\Local\Temp\playwright-java-12292174363546017510\package\lib\server\dispatchers\dispatcher.js:362:39)
}
Call log:

  • attempting click action
  • waiting for element to be visible, enabled and stable
  • forcing action
    
  • element is visible, enabled and stable
  • scrolling into view if needed
  • done scrolling
  • performing click action
  • click action done
  • waiting for scheduled navigations to finish

com.microsoft.playwright.impl.WaitableResult.get(WaitableResult.java:54)

Here is the playwright enable debug log on click action I highlight (in bold) the exception). Look like it try to navigate after click action and since windows is close the session cannot found.

2024-10-11T20:04:43.796Z pw:api attempting click action
2024-10-11T20:04:43.796Z pw:api waiting for element to be visible, enabled and stable
2024-10-11T20:04:43.796Z pw:protocol SEND ► {"id":52316,"method":"DOM.describeNode","params":{"objectId":"5773431018424887701.25.7"},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.797Z pw:protocol ◀ RECV {"id":52316,"result":{"node":{"nodeId":0,"backendNodeId":499,"nodeType":1,"nodeName":"DIV","localName":"div","nodeValue":"","childNodeCount":1,"attributes":["class","popupWindowButton tenBtn","onclick","doAction();","style","color: rgb(245, 40, 135); border: 1px dashed rgb(39, 245, 149);"]}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.797Z pw:protocol SEND ► {"id":52317,"method":"DOM.resolveNode","params":{"backendNodeId":499,"executionContextId":26},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.797Z pw:protocol ◀ RECV {"id":52317,"result":{"object":{"type":"object","subtype":"node","className":"HTMLDivElement","description":"div.popupWindowButton.tenBtn","objectId":"5773431018424887701.26.26"}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.797Z pw:protocol SEND ► {"id":52318,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"(injected, e) => 'JSHandle@' + injected.previewNode(e)"},{"value":2},{"value":{"h":0}},{"value":{"h":1}},{"objectId":"5773431018424887701.26.2"},{"objectId":"5773431018424887701.26.26"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.797Z pw:protocol SEND ► {"id":52319,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":false},{},{"value":"([injected, node, {\n states,\n force\n }]) => {\n return injected.waitForElementStatesAndPerformAction(node, states, force, () => 'done');\n }"},{"value":1},{"value":{"a":[{"h":0},{"h":1},{"o":[{"k":"states","v":{"a":["visible","enabled","stable"],"id":3}},{"k":"force","v":true}],"id":2}],"id":1}},{"objectId":"5773431018424887701.26.2"},{"objectId":"5773431018424887701.26.26"}],"returnByValue":false,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.798Z pw:protocol ◀ RECV {"id":52318,"result":{"result":{"type":"string","value":"JSHandle@<div onclick="doAction();" class="popupWindowButton t…>OK"}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.798Z pw:protocol ◀ RECV {"id":52319,"result":{"result":{"type":"object","className":"Object","description":"Object","objectId":"5773431018424887701.26.27"}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.798Z pw:protocol SEND ► {"id":52320,"method":"Runtime.releaseObject","params":{"objectId":"5773431018424887701.26.26"},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.798Z pw:protocol SEND ► {"id":52321,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"poll => poll.takeNextLogs()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.798Z pw:protocol SEND ► {"id":52322,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"poll => poll.run()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:protocol ◀ RECV {"id":52320,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:protocol ◀ RECV {"id":52321,"result":{"result":{"type":"object","value":{"a":[{"o":[{"k":"message","v":" forcing action"}],"id":2}],"id":1}}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:api forcing action
2024-10-11T20:04:43.799Z pw:protocol SEND ► {"id":52323,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"poll => poll.takeNextLogs()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:protocol ◀ RECV {"id":52322,"result":{"result":{"type":"string","value":"done"}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:protocol SEND ► {"id":52324,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"poll => poll.takeLastLogs()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.799Z pw:protocol ◀ RECV {"id":52323,"result":{"result":{"type":"object","value":{"a":[],"id":1}}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol SEND ► {"id":52325,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"poll => poll.takeNextLogs()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol ◀ RECV {"id":52324,"result":{"result":{"type":"object","value":{"a":[],"id":1}}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol SEND ► {"id":52326,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"p => p.cancel()"},{"value":2},{"value":{"h":0}},{"value":{"v":"undefined"}},{"objectId":"5773431018424887701.26.27"}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol ◀ RECV {"id":52325,"result":{"result":{"type":"object","value":{"a":[],"id":1}}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol ◀ RECV {"id":52326,"result":{"result":{"type":"undefined"}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol SEND ► {"id":52327,"method":"Runtime.releaseObject","params":{"objectId":"5773431018424887701.26.27"},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:api element is visible, enabled and stable
2024-10-11T20:04:43.800Z pw:api scrolling into view if needed
2024-10-11T20:04:43.800Z pw:protocol SEND ► {"id":52328,"method":"DOM.scrollIntoViewIfNeeded","params":{"objectId":"5773431018424887701.25.7"},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol ◀ RECV {"id":52327,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:protocol ◀ RECV {"id":52328,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.800Z pw:api done scrolling
2024-10-11T20:04:43.800Z pw:protocol SEND ► {"id":52329,"method":"DOM.getContentQuads","params":{"objectId":"5773431018424887701.25.7"},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:protocol SEND ► {"id":52330,"method":"Runtime.callFunctionOn","params":{"functionDeclaration":"(utilityScript, ...args) => utilityScript.evaluate(...args)","objectId":"5773431018424887701.26.1","arguments":[{"objectId":"5773431018424887701.26.1"},{"value":true},{"value":true},{},{"value":"() => ({\n width: innerWidth,\n height: innerHeight\n })"},{"value":1},{"value":{"v":"undefined"}}],"returnByValue":true,"awaitPromise":true,"userGesture":true},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:protocol ◀ RECV {"id":52329,"result":{"quads":[[213.40000915527344,250.40000915527344,290,250.40000915527344,290,276,213.40000915527344,276]]},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:protocol ◀ RECV {"id":52330,"result":{"result":{"type":"object","value":{"o":[{"k":"width","v":500},{"k":"height","v":280}],"id":1}}},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:api performing click action
2024-10-11T20:04:43.801Z pw:protocol SEND ► {"id":52331,"method":"Input.dispatchMouseEvent","params":{"type":"mouseMoved","button":"none","buttons":0,"x":251.7,"y":263.2,"modifiers":0},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:protocol SEND ► {"id":52332,"method":"Input.dispatchMouseEvent","params":{"type":"mousePressed","button":"left","buttons":1,"x":251.7,"y":263.2,"modifiers":0,"clickCount":1},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.801Z pw:protocol SEND ► {"id":52333,"method":"Input.dispatchMouseEvent","params":{"type":"mouseReleased","button":"left","buttons":0,"x":251.7,"y":263.2,"modifiers":0,"clickCount":1},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.802Z pw:protocol ◀ RECV {"id":52331,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.802Z pw:protocol ◀ RECV {"id":52332,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.824Z pw:protocol ◀ RECV {"id":52333,"result":{},"sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.824Z pw:api click action done
2024-10-11T20:04:43.824Z pw:api waiting for scheduled navigations to finish
2024-10-11T20:04:43.824Z pw:protocol SEND ► {"id":52334,"method":"Page.enable","sessionId":"242A471652BCB411C9FEF2E63A12139F"}
2024-10-11T20:04:43.824Z pw:protocol ◀ RECV {"method":"Network.requestWillBeSent","params":{"requestId":"25180.1573","loaderId":"3D5BDA1889ADB7216596855C1E710C94","documentURL":"https://tmcbonds.uat1.ice.com/tmc/cURL_Auth","request":{"url":"https://tmcbonds.uat1.ice.com/tmc/servlet/com.muni.web.servlets.TradeAcknowledgeServlet?tradeID=1282746&userID=18478","method":"GET","headers":{"sec-ch-ua":"\"Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"","Referer":"https://tmcbonds.uat1.ice.com/tmc/cURL_Auth","X-Requested-With":"XMLHttpRequest","sec-ch-ua-mobile":"?0","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36","sec-ch-ua-platform":""Windows""},"mixedContentType":"none","initialPriority":"High","referrerPolicy":"strict-origin-when-cross-origin","isSameSite":true},"timestamp":5039.535064,"wallTime":1728677083.823224,"initiator":{"type":"script","stack":{"callFrames":[{"functionName":"i","scriptId":"19","url":"https://tmcbonds.uat1.ice.com/tmc/JSO?scriptGroupId=webbase&privateLabelId=twa3&screenId=TMC&v=24.3.35","lineNumber":19,"columnNumber":18807},{"functionName":"request","scriptId":"19","url":"https://tmcbonds.uat1.ice.com/tmc/JSO?scriptGroupId=webbase&privateLabelId=twa3&screenId=TMC&v=24.3.35","lineNumber":19,"columnNumber":19318},{"functionName":"submitAck","scriptId":"23","url":"https://tmcbonds.uat1.ice.com/tmc/JSO?scriptGroupId=TMC&privateLabelId=twa3&screenId=TMC&v=24.3.35","lineNumber":12902,"columnNumber":243},{"functionName":"doAction","scriptId":"3071","url":"https://tmcbonds.uat1.ice.com/tmc/servlet/com.muni.web.servlets.TradeExecutedNotificationServlet?notificationType=TEN&msgType=TR_TRADE&desc=undefined&time=16:04:20&onDestinationTime=1728677060876&cusip=943436FF7&debtType=MUNI&bouid=undefined&from=943436FF7%20135%20OH%20WAUSEON%20OHIO%20EX%20250.000%20of%2025%20&tradeID=1282746&msgId=0&orderId=64434008&orderCnt=135&clientID=18478&destination=TOPIC.CLIENT.TRADE&filter=undefined&viewID=&TTL=undefined&unadjustedCustomerPrice=0&adjustedCustomerPrice=0&riskPremium=-999&platformFee=-999&statusText=&listID=0&itemID=0&displayListID=0&displayItemID=0&dontShowPriceImprove=false&userID=18478","lineNumber":346,"columnNumber":36},{"functionName":"onclick","scriptId":"3094","url":"https://tmcbonds.uat1.ice.com/tmc/servlet/com.muni.web.servlets.TradeExecutedNotificationServlet?notificationType=TEN&msgType=TR_TRADE&desc=undefined&time=16:04:20&onDestinationTime=1728677060876&cusip=943436FF7&debtType=MUNI&bouid=undefined&from=943436FF7%20135%20OH%20WAUSEON%20OHIO%20EX%20250.000%20of%2025%20&tradeID=1282746&msgId=0&orderId=64434008&orderCnt=135&clientID=18478&destination=TOPIC.CLIENT.TRADE&filter=undefined&viewID=&TTL=undefined&unadjustedCustomerPrice=0&adjustedCustomerPrice=0&riskPremium=-999&platformFee=-999&statusText=&listID=0&itemID=0&displayListID=0&displayItemID=0&dontShowPriceImprove=false&userID=18478","lineNumber":622,"columnNumber":66}]}},"redirectHasExtraInfo":false,"type":"XHR","frameId":"273BDBFF3C3329DD6EBEF05517947A1C","hasUserGesture":false},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
2024-10-11T20:04:43.827Z pw:protocol ◀ RECV {"method":"Target.detachedFromTarget","params":{"sessionId":"242A471652BCB411C9FEF2E63A12139F","targetId":"0EFB32F1F389E765164339F52AEEC08D"}}
2024-10-11T20:04:43.827Z pw:api navigations have finished
2024-10-11T20:04:43.832Z pw:protocol ◀ RECV {"method":"Network.requestWillBeSentExtraInfo","params":{"requestId":"25180.1573","associatedCookies":[{"cookie":{"name":"JSESSIONID","value":"77B32B9A891F541A5B7007BDD0BC9C83","domain":"tmcbonds.uat1.ice.com","path":"/webmsg","expires":-1,"size":42,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":["NotOnPath"],"exemptionReason":"None"},{"cookie":{"name":"JSESSIONID","value":"D20323F146E231BE0C8F049353EFF124","domain":"tmcbonds.uat1.ice.com","path":"/tmc","expires":-1,"size":42,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"DWRSESSIONID","value":"ApR3lWTda8kvgRW7vUWx0mb2VCLcIDrbZ0p","domain":"tmcbonds.uat1.ice.com","path":"/tmc","expires":-1,"size":47,"httpOnly":false,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"JSESSIONID","value":"515BFCE8D1CF813945E09FE7D0D30E26","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":42,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"AFFINITY_LOGIN","value":"!v8/cf+ejfa9fktv2kGfnvEGign2qJbbzY8wG0dqQKTByMCBmd9EkwatPwhHMGpS5B7Hap2BMIzEVTQ==","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":95,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"_cfuvid","value":"cGCR5RUaBtbTeJV3c3nC50s2vtiIIDYqP_u7_dmpSk0-1728676999980-0.0.1.1-604800000","domain":".ice.com","path":"/","expires":-1,"size":82,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"AFFINITY_WEBMSG","value":"!tkE6TOE3Mtu+Z0H2kGfnvEGign2qJRjdbp/iXhUiEzZIm0U3w7jgahLxvucCssg9H2EctER0orI3kA==","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":96,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"TMC3","value":"G3sEKmVpVwxuerB531KmTcZLMQxP2pkfv02iQgP8NZqxpmBxNizDsK9xoxLBiB-oANUfXar9yBRkAfXvzsinfM8ZdEX8V_Z9Fm7kdEjsr0=","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":112,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"AFFINITY_TMC","value":"!dXA3iUYE/M8AQgL2kGfnvEGign2qJXsDmuNbFiG30DNuuzWnKQO7FtTpEK/wziaoogxg+ry8gNfa9A==","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":93,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"},{"cookie":{"name":"AFFINITY","value":"!CQbTeUxUuRIHoNz2kGfnvEGign2qJR2xSnu/U5ZDjuQtuaU6FR+9v7JSk6PKZ4KT83My/ML+Q7obZA==","domain":"tmcbonds.uat1.ice.com","path":"/","expires":-1,"size":90,"httpOnly":true,"secure":true,"session":true,"sameSite":"None","priority":"Medium","sameParty":false,"sourceScheme":"Secure","sourcePort":443},"blockedReasons":[],"exemptionReason":"None"}],"headers":{"Accept":"/","Accept-Encoding":"gzip, deflate, br, zstd","Accept-Language":"en-US,en;q=0.9","Connection":"keep-alive","Cookie":"JSESSIONID=D20323F146E231BE0C8F049353EFF124; DWRSESSIONID=ApR3lWTda8kvgRW7vUWx0mb2VCLcIDrbZ0p; JSESSIONID=515BFCE8D1CF813945E09FE7D0D30E26; AFFINITY_LOGIN=!v8/cf+ejfa9fktv2kGfnvEGign2qJbbzY8wG0dqQKTByMCBmd9EkwatPwhHMGpS5B7Hap2BMIzEVTQ==; _cfuvid=cGCR5RUaBtbTeJV3c3nC50s2vtiIIDYqP_u7_dmpSk0-1728676999980-0.0.1.1-604800000; AFFINITY_WEBMSG=!tkE6TOE3Mtu+Z0H2kGfnvEGign2qJRjdbp/iXhUiEzZIm0U3w7jgahLxvucCssg9H2EctER0orI3kA==; TMC3=G3sEKmVpVwxuerB531KmTcZLMQxP2pkfv02iQgP8NZqxpmBxNizDsK9xoxLBiB-oANUfXar9yBRkAfXvzsinfM8ZdEX8V_Z9Fm7kdEjsr0=; AFFINITY_TMC=!dXA3iUYE/M8AQgL2kGfnvEGign2qJXsDmuNbFiG30DNuuzWnKQO7FtTpEK/wziaoogxg+ry8gNfa9A==; AFFINITY=!CQbTeUxUuRIHoNz2kGfnvEGign2qJR2xSnu/U5ZDjuQtuaU6FR+9v7JSk6PKZ4KT83My/ML+Q7obZA==","Host":"tmcbonds.uat1.ice.com","Referer":"https://tmcbonds.uat1.ice.com/tmc/cURL_Auth","Sec-Fetch-Dest":"empty","Sec-Fetch-Mode":"cors","Sec-Fetch-Site":"same-origin","User-Agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36","X-Requested-With":"XMLHttpRequest","sec-ch-ua":""Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":""Windows""},"connectTiming":{"requestTime":5039.535464},"clientSecurityState":{"initiatorIsSecureContext":true,"initiatorIPAddressSpace":"Public","privateNetworkRequestPolicy":"Allow"},"siteHasCookieInOtherPartition":false},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
### 2024-10-11T20:04:43.832Z pw:protocol ◀ RECV {"id":52334,"error":{"code":-32001,"message":"Session with given id not found."}}
2024-10-11T20:04:43.948Z pw:protocol ◀ RECV {"method":"Network.responseReceivedExtraInfo","params":{"requestId":"25180.1573","blockedCookies":[],"headers":{"CF-Cache-Status":"DYNAMIC","CF-RAY":"8d117603592e3901-IAD","Cache-Control":"no-cache","Connection":"keep-alive","Content-Encoding":"gzip","Content-Security-Policy":"script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;","Content-Security-Policy-Report-Only":"script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; frame-ancestors 'self'; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;","Content-Type":"text/html;charset=ISO-8859-1","Date":"Fri, 11 Oct 2024 20:04:44 GMT","P3P":"CP="CAO PSA OUR"","Pragma":"no-cache","Server":"cloudflare","Set-Cookie":"TMC3=G3sEKmVpVwxuerB531KmTcZLMQxP2pkfv02iQgP8NZqxpmBxNizDsK9xoxLBiB-_i0AVw196FUxKmAx6VLb_dWF6vSW1oHOewSHqyzVB00U=; Path=/; Secure; HttpOnly; samesite=none\nAFFINITY_TMC=!RE9ZKArLkMhnunr2kGfnvEGign2qJaK75tZK7+ajbQrJOw97DLNWtphQ+eHU+QDUK8Jz6AHip9DTig==; path=/; Httponly; Secure; samesite=none","Strict-Transport-Security":"max-age=31536000;includeSubDomains","Transfer-Encoding":"chunked","X-XSS-Protection":"1; mode=block"},"resourceIPAddressSpace":"Public","statusCode":200,"headersText":"HTTP/1.1 200\r\nDate: Fri, 11 Oct 2024 20:04:44 GMT\r\nContent-Type: text/html;charset=ISO-8859-1\r\nTransfer-Encoding: chunked\r\nConnection: keep-alive\r\nContent-Security-Policy: script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;\r\nContent-Security-Policy-Report-Only: script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; frame-ancestors 'self'; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;\r\nX-XSS-Protection: 1; mode=block\r\nCache-Control: no-cache\r\nPragma: no-cache\r\nStrict-Transport-Security: max-age=31536000;includeSubDomains\r\nP3P: CP="CAO PSA OUR"\r\nSet-Cookie: TMC3=G3sEKmVpVwxuerB531KmTcZLMQxP2pkfv02iQgP8NZqxpmBxNizDsK9xoxLBiB-_i0AVw196FUxKmAx6VLb_dWF6vSW1oHOewSHqyzVB00U=; Path=/; Secure; HttpOnly; samesite=none\r\nSet-Cookie: AFFINITY_TMC=!RE9ZKArLkMhnunr2kGfnvEGign2qJaK75tZK7+ajbQrJOw97DLNWtphQ+eHU+QDUK8Jz6AHip9DTig==; path=/; Httponly; Secure; samesite=none\r\nCF-Cache-Status: DYNAMIC\r\nServer: cloudflare\r\nCF-RAY: 8d117603592e3901-IAD\r\nContent-Encoding: gzip\r\n\r\n","cookiePartitionKey":"https://ice.com","cookiePartitionKeyOpaque":false,"exemptedCookies":[]},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
2024-10-11T20:04:43.949Z pw:protocol ◀ RECV {"method":"Network.responseReceived","params":{"requestId":"25180.1573","loaderId":"3D5BDA1889ADB7216596855C1E710C94","timestamp":5039.659849,"type":"XHR","response":{"url":"https://tmcbonds.uat1.ice.com/tmc/servlet/com.muni.web.servlets.TradeAcknowledgeServlet?tradeID=1282746&userID=18478","status":200,"statusText":"","headers":{"Pragma":"no-cache","Date":"Fri, 11 Oct 2024 20:04:44 GMT","Content-Security-Policy":"script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;","Content-Encoding":"gzip","Strict-Transport-Security":"max-age=31536000;includeSubDomains","CF-Cache-Status":"DYNAMIC","Server":"cloudflare","Transfer-Encoding":"chunked","Content-Security-Policy-Report-Only":"script-src 'unsafe-inline' 'self' 'unsafe-eval'; style-src * 'unsafe-inline' data: ; img-src * data: blob:; frame-src 'self' mailto: tel: buildamerica.com creditsummaries.assuredguaranty.com *.lumesis.com munipoints.com www.munipoints.com; frame-ancestors 'self'; connect-src www.google-analytics.com 'self' ; default-src 'self' data:; report-uri /tmc/servlet/error/csp;","Content-Type":"text/html;charset=ISO-8859-1","P3P":"CP="CAO PSA OUR"","Cache-Control":"no-cache","Connection":"keep-alive","CF-RAY":"8d117603592e3901-IAD","X-XSS-Protection":"1; mode=block"},"mimeType":"text/html","charset":"iso-8859-1","connectionReused":true,"connectionId":4428,"remoteIPAddress":"158.224.83.89","remotePort":443,"fromDiskCache":false,"fromServiceWorker":false,"fromPrefetchCache":false,"encodedDataLength":1511,"timing":{"requestTime":5039.535464,"proxyStart":-1,"proxyEnd":-1,"dnsStart":-1,"dnsEnd":-1,"connectStart":-1,"connectEnd":-1,"sslStart":-1,"sslEnd":-1,"workerStart":-1,"workerReady":-1,"workerFetchStart":-1,"workerRespondWithSettled":-1,"sendStart":0.468,"sendEnd":0.653,"pushStart":0,"pushEnd":0,"receiveHeadersStart":123.153,"receiveHeadersEnd":123.267},"responseTime":1728677083947.163,"protocol":"http/1.1","alternateProtocolUsage":"unspecifiedReason","securityState":"secure","securityDetails":{"protocol":"TLS 1.3","keyExchange":"","keyExchangeGroup":"X25519Kyber768Draft00","cipher":"AES_128_GCM","certificateId":0,"subjectName":"tmcbonds.uat1.ice.com","sanList":["tmcbonds.uat1.ice.com","www.tmcbonds.uat1.ice.com","lpl.tmcbonds.uat1.ice.com","jpm.tmcbonds.uat1.ice.com","sales.tmcbonds.uat1.ice.com","analytics.tmcbonds.uat1.ice.com"],"issuer":"DigiCert Global G2 TLS RSA SHA256 2020 CA1","validFrom":1703030400,"validTo":1737331199,"signedCertificateTimestampList":[{"status":"Verified","origin":"Embedded in certificate","logDescription":"Google 'Argon2025h1' log","logId":"4E75A3275C9A10C3385B6CD4DF3F52EB1DF0E08E1B8D69C0B1FA64B1629A39DF","timestamp":1703102678730,"hashAlgorithm":"SHA-256","signatureAlgorithm":"ECDSA","signatureData":"3045022002E0ADA14EFABF5979BE6AE4951E959F5A3C4F66198B963E6DCBED9D3668E901022100B4DE32848B53BDC5CCEEA72E9AF8AC2EACD7A6FC9D4C78F64790112CBBBDB232"},{"status":"Verified","origin":"Embedded in certificate","logDescription":"Let's Encrypt 'Oak2024H2' log","logId":"3F174B4FD7224758941D651C84BE0D12ED90377F1F856AEBC1BF2885ECF8646E","timestamp":1703102678752,"hashAlgorithm":"SHA-256","signatureAlgorithm":"ECDSA","signatureData":"30450220245E6148AAC1499BB574939F10CBA39F1157A53A1998B3541E60C0ED0C1E24320221008A3CDEF464106506FBF7AECED104025BCA24B8D740F0C0653C4C37FFF8E671AB"},{"status":"Verified","origin":"Embedded in certificate","logDescription":"DigiCert Yeti2025 Log","logId":"7D591E12E1782A7B1C61677C5EFDF8D0875C14A04E959EB9032FD90E8C2E79B8","timestamp":1703102678726,"hashAlgorithm":"SHA-256","signatureAlgorithm":"ECDSA","signatureData":"3046022100B47FE5DAD8B5934DAF2D8DF865FB9420AE8875A4F2D1FEDD8012A9DF6D0741A0022100CB4E09972AE00127D92B0B5016BD727045E7A804520805A9B38D06317021B498"}],"certificateTransparencyCompliance":"unknown","serverSignatureAlgorithm":2052,"encryptedClientHello":false}},"hasExtraInfo":true,"frameId":"273BDBFF3C3329DD6EBEF05517947A1C"},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
2024-10-11T20:04:43.949Z pw:protocol ◀ RECV {"method":"Network.dataReceived","params":{"requestId":"25180.1573","timestamp":5039.659887,"dataLength":61,"encodedDataLength":0},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
2024-10-11T20:04:43.949Z pw:protocol ◀ RECV {"method":"Network.dataReceived","params":{"requestId":"25180.1573","timestamp":5039.660056,"dataLength":0,"encodedDataLength":92},"sessionId":"537019FF0B7C27933920627BFBA93B61"}
2024-10-11T20:04:43.949Z pw:protocol ◀ RECV {"method":"Network.loadingFinished","params":{"requestId":"25180.1573","timestamp":5039.659271,"encodedDataLength":1603},"sessionId":"537019FF0B7C27933920627BFBA93B61"}

Expected behavior

I expect no exception...

Actual behavior

exception is thrown

Additional context

No response

Environment

Windows 11
Java 11
Chrome 125.0.6422.142

We need more information to act on issues like this. Ideally something which we can run locally. Also we just released v1.48 - does it also reproduce there?

will test 1.48 out and provide feed back.

Closing as part of the triage process since it seemed stale. Please create a new issue with a detailed reproducible or feature request if you still face issues.