karatelabs/karate
Documented errors, page 3 of 8. Back to karatelabs/karate
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Failed to create report directories | console | warning | html-report, filesystem, permissions, directories |
| fromString XML parse failed | console | warning | xml, parsing, karate, fallback |
| Cannot redefine property: | exception | error | javascript, typeerror, defineproperty, property-descriptor |
| driver.stop=false — leaving browser running, scenario will… | console | warning | karate, driver, teardown, browser-leak |
| expression | exception | error | javascript, expression-evaluation, property-access, wrapped-exception |
| failed to start process: | exception | error | process, fork, exec, io |
| ${hint: names offending unquoted object-literal keys… | validation | error | javascript, syntax-error, markup-template, object-literal |
| init script ' ' depends on unregistered | exception | error | init-script, dependency-order, driver |
| JS error | exception | error | cdp, javascript, runtime-evaluate, serialization |
| ka:data requires format 'varName:expression', got | validation | error | markup, template, attribute-validation, karate-markup |
| call expression must resolve to a feature path: | exception | error | call, type-mismatch, expression |
| invalid destructuring: rest element cannot have an… | exception | error | javascript, parser, destructuring, syntax |
| Iterator value is not an entry object | exception | error | javascript, weakmap, iterator, typeerror |
| Page.navigate timed out, retrying | console | warning | cdp, navigation, timeout, retry |
| private name is not declared in an enclosing class | exception | error | javascript, private-fields, syntax-error, classes |
| structuredClone requires at least 1 argument | exception | error | javascript, structuredclone, type-error, arguments |
| The iterator does not provide a 'throw' method | exception | error | javascript, iterator, generator, typeerror |
| watch mode: cannot watch non-file resource | console | warning | watch-mode, classpath, jar, hot-reload |
| cannot access ' ' before initialization | exception | error | javascript, tdz, compound-assignment |
| engine is poisoned: | exception | critical | javascript, engine, async, deadlock, fail-fast |
| expected number instead of: | exception | error | match, numeric, type-mismatch |
| cannot reset while shutting down | exception | error | lifecycle, illegal-state, concurrency |
| context.get() requires a name argument | validation | error | markup, javascript-binding, missing-argument, fragments |
| Failed to load pom: | console | warning | cli, maven, pom, xml-parse |
| toString() radix must be between 2 and 36 | exception | error | javascript, number, rangeerror, radix |
| [callSingle] disk cache read failed | console | warning | callsingle, disk-cache, json |
| Driver failed post-reset liveness probe, will discard | console | warning | driver-pool, liveness-probe, cdp, browser-hang |
| invalid : call expression | exception | error | javascript, parser, assignment-target, strict-mode |
| karate.call() requires a feature context | exception | error | karate-call, karate-js, lifecycle |
| Could not detect pool size, defaulting to 1 | console | warning | driver, pooling, configuration |
| Invalid number: bare '-' | exception | error | json, parser, syntax-error, number-literal |
| options cannot be null | exception | error | null-argument, browser-launch, configuration |
| Pool full, closing excess driver | console | warning | driver-pool, resource-leak, concurrency, invariant |
| image.diff: 'latest' image (bytes or path) is required | validation | error | image, missing-argument, visual-testing |
| iterator.next is not a function | exception | error | javascript, iterator-protocol, typeerror |
| invalid assignment to | exception | error | javascript, parser, strict-mode, reserved-words |
| latest image is not a valid image | exception | error | image, invalid-image, imageio |
| String.raw template must be an object | exception | error | javascript, string, type-error, template-literals |
| 'await' is a reserved word in a class static initialization… | exception | error | javascript, parser, syntax-error, reserved-word, static-block |
| dialog handler did not resolve dialog, auto-dismissing | console | info | cdp, dialog, auto-dismiss, page-interaction |
| no such match api: | exception | error | match, api, invalid-enum, javascript |
| No tab found matching | exception | error | tab, not-found, webdriver, window-handling |
| proceed() needs a target URL or Host header in request | exception | error | javascript, mock-server, http-headers, karate |
| String.prototype.valueOf requires that 'this' be a String | exception | error | javascript, string, type-error, this-binding |
| unary expression cannot be the base of '**'; wrap it in… | exception | error | javascript, parser, syntax-error, exponentiation |
| array index too large for dense storage: | exception | error | javascript, array, range-error, memory |
| cache() requires (key, fn) | exception | error | http, cache, missing-argument, dsl |
CONNECTION_CLOSED websocket is not open | error_code | error | websocket, connection-closed, network |
| eval() needs one argument | exception | error | javascript, argument-count, karate |
| ext onShutdown failed | console | warning | extension, shutdown, lifecycle |
| . is not accessible (on ) | exception | error | javascript, java-interop, access-modifier, jpms |
| karate.properties is read-only, ignoring write of | console | warning | properties, read-only, configuration |
| Token endpoint returned invalid response: " +… | exception | error | oauth2, http, json, network |
| xmlPath failed for path | exception | error | xml, xpath, runtime-exception |
| boot.classpath: dir is null — pass a project-relative… | validation | error | boot, configuration, null-argument |
| cannot apply logical-assignment to | exception | error | javascript, ast, unsupported-lhs |
| Failed to close JSONL event stream | console | warning | io, events, cleanup |
| optional chain is not a valid assignment target | exception | error | javascript, parser, syntax-error, optional-chaining |
| RegExp.prototype. called on incompatible receiver | exception | error | javascript, regexp, typeerror, this-binding |
| valuesOf() needs one argument | exception | error | javascript, argument-validation, collections |
| No diff image available - ran in compareOnly mode | exception | error | javascript, image-comparison, resemble, config |
| read() needs at least one argument | exception | error | javascript, argument-validation, karate |
| boot.ext(' '): not on classpath. Expected (name-convention… | exception | error | boot, extension, classpath, dependency |
| Config evaluation failed | exception | error | javascript, configuration, karate-config |
| Error resetting driver state, will discard | console | warning | driver-pool, driver-reset, cdp, browser-crash |
| Number.prototype method called on incompatible receiver | exception | error | javascript, number, receiver, typeerror |
| cannot get from | exception | error | javascript, ast, type-error, parser |
| karate.debug.port is set but karate-ide JAR is not on the… | console | warning | debugging, classpath, optional-dependency |
| Reflect.construct: target is not a constructor | exception | error | javascript, reflect, constructor |
| client credentials auth request failed: " + e.getMessage() | exception | error | oauth2, http, network, client-credentials |
| doc requires a string path or map with 'read' key, got: | exception | error | doc, type-mismatch, report |
| Provider has been shut down | exception | error | driver-pool, lifecycle, illegal-state |
| readyState check failed | console | info | cdp, readystate, page-load, best-effort |
| [WARN] Failed to evaluate scenario name | console | warning | karate, scenario-name, js-evaluation |
| chrome failed to start or no page targets available within… | exception | critical | browser-launch, timeout, chrome, devtools |
| error waiting for process | exception | error | process, wait, interrupted |
| <interrupted> | exception | error | javascript, generator, cancellation, interrupted |
| karate.call() with sharedScope requires a feature path | exception | error | javascript, api-misuse, missing-argument, argument-order |
| logReplayLimit must be at least 1, was: (use… | validation | error | gatling, karate, configuration, value-out-of-range |
| WebDriver session create failed: " + e.getMessage() | exception | error | webdriver, session, network, connection |
KARATE_ELEMENT_NOT_FOUND KARATE_ELEMENT_NOT_FOUND | error_code | error | driver, ui, element-not-found |
| karate.setup() requires a feature context | exception | error | setup, karate-js, lifecycle |
| registerReportAssets: assets is null | exception | error | java, reporting, null-check |
| retry FAILED after attempts: | | console | error | cdp, retry, timeout, driver |
| skipping scenario outline in mock | console | warning | mock-server, scenario-outline, feature-file, skipped-scenario |
| target is not a constructor | exception | error | javascript, reflect-construct, interpreter |
| unexpected character '#' at | exception | error | javascript, lexer, unexpected-character, private-field |
| boot.read: path is null | validation | error | boot, null-argument, configuration |
| expect() needs at least one argument | exception | error | javascript, assertion, argument-count, karate |
| Failed to evaluate dynamic expression | exception | error | dynamic-scenarios, examples-table, evaluation-failed, javascript |
| invalid expression: " + text | validation | error | gherkin, parser, step-definition, syntax |
| Invalid get expression, missing ]: | exception | error | get, syntax, parsing |
| waitFor timeout | exception | error | webdriver, timeout, wait, dom |
| configure driver = } — bypassing driver pool; browser will… | console | warning | karate, driver, configuration, debug |
| continue label does not name a loop | exception | error | javascript, parser, labels, continue |
| Division by zero | exception | error | javascript, bigint, division |
| Failed to read bytes from | exception | error | io, file-read, karate |
| karate.request is only available in mock context | console | warning | http, mock, karate, javascript |
| pool size but webSocketUrl names a single page — all slots… | console | warning | cdp, websocketurl, parallel-execution, misconfiguration |
| registered while , stopping immediately | console | warning | lifecycle, shutdown, concurrency, race-condition |