{"record":{"id":"46549202ebef1c35","repo":"usebruno/bruno","slug":"too-many-jumps-possible-infinite-loop","errorCode":null,"errorMessage":"Too many jumps, possible infinite loop","messagePattern":"Too many jumps, possible infinite loop","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"packages/bruno-electron/src/ipc/network/index.js","lineNumber":2134,"sourceCode":"            });\n          }\n\n          if (stopRunnerExecution) {\n            deleteCancelToken(cancelTokenUid);\n            mainWindow.webContents.send('main:run-folder-event', {\n              type: 'testrun-ended',\n              collectionUid,\n              folderUid,\n              statusText: 'collection run was terminated!',\n              runCompletionTime: new Date().toISOString()\n            });\n            break;\n          }\n\n          if (nextRequestName !== undefined) {\n            nJumps++;\n            if (nJumps > 10000) {\n              throw new Error('Too many jumps, possible infinite loop');\n            }\n            if (nextRequestName === null) {\n              break;\n            }\n            const nextRequestIdx = folderRequests.findIndex((request) => request.name === nextRequestName);\n            if (nextRequestIdx >= 0) {\n              currentRequestIndex = nextRequestIdx;\n            } else {\n              console.error('Could not find request with name \\'' + nextRequestName + '\\'');\n              currentRequestIndex++;\n            }\n          } else {\n            currentRequestIndex++;\n          }\n        }\n\n        deleteCancelToken(cancelTokenUid);\n        if (!stopRunnerExecution) {","sourceCodeStart":2116,"sourceCodeEnd":2152,"githubUrl":"https://github.com/usebruno/bruno/blob/9bdd81c7bdc57006e5f5ebffb79321a8d979f712/packages/bruno-electron/src/ipc/network/index.js#L2116-L2152","documentation":"Error \"Too many jumps, possible infinite loop\" thrown in usebruno/bruno.","triggerScenarios":"Thrown at packages/bruno-electron/src/ipc/network/index.js:2134 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check pre-request/post-response scripts for recursive jumps (setNextRequest loops).","Limit the number of request chain jumps in the collection runner."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"9bdd81c7bdc57006e5f5ebffb79321a8d979f712","analyzedAt":"2026-08-13T04:09:25.751Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}