karatelabs/karate
Documented errors, page 2 of 8. Back to karatelabs/karate
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| element not found: | exception | error | ui, driver, dom, element-not-found |
| failed to create blank tab, quitting driver | console | warning | cdp, browser-lifecycle, target-creation, close |
| Failed to deserialize JSON to | exception | error | json, deserialization, reflection |
| proceed() can only be called within a mock scenario | exception | error | javascript, mock-server, invalid-state, karate |
| sort() needs at least one argument: the list to sort | exception | error | javascript, argument-validation, sorting |
| cannot create property | exception | error | javascript, type-error, strict-mode, super, primitive-receiver |
| karate.call() is not available in this context | exception | error | javascript, runtime-context, call, unsupported-operation |
| Dialog callback handler not supported on WebDriver backend… | exception | error | webdriver, unsupported-operation, dialog |
| ka:dispatch requires an event name; got | validation | error | markup, thymeleaf, template, validation |
| missing argument for paramInt() | validation | error | http, arguments, api-misuse |
| unhandled promise rejection | exception | error | javascript, async, promise, unhandled-rejection |
| driver URL evaluated to null: | exception | error | driver, ui, null, url |
| error in waitForOutput | exception | error | process, java, concurrency, interrupted |
| browser did not return a targetId for context | exception | error | cdp, browser-automation, target-creation |
| Failed to clean output directory: | console | warning | cli, filesystem, output-directory, cleanup |
| Function.prototype.apply called on non-callable | exception | error | javascript, typeerror, function-prototype |
| <cause message> | exception | error | promise, wrapped-exception, root-cause |
| Failed to open stream for | exception | error | io, file-open, resource |
| Invalid array length | exception | error | javascript, array, range-error |
| executor did not terminate | console | warning | lifecycle, executor, shutdown, thread-pool |
| iterator 'return' result is not an object | exception | error | javascript, iterator-protocol, cleanup, typeerror |
| Method Promise.prototype called on incompatible receiver | exception | error | javascript, promise, receiver, this-binding |
| Method WeakMap.prototype called on incompatible receiver | exception | error | javascript, weakmap, this-binding, typeerror |
| WeakMap.prototype.set is not callable | exception | error | javascript, weakmap, prototype, typeerror |
| Failed to open stream for: | exception | error | file-io, resource-not-found, stream, karate |
| parsed only | console | info | dry-run, console-output, summary |
| Result of iterator method is not an object | exception | error | javascript, iterator-protocol, typeerror |
| Unable to resolve global `this` | exception | error | javascript, environment, image-diff |
| unexpected logical-assignment operator | exception | error | javascript, parser, internal-invariant, compound-assignment |
| retry failed after attempts: | exception | error | karate, retry, http, timeout |
| timeout waiting for element to be enabled | exception | error | driver, timeout, element-enabled, wait |
| cannot find resource | exception | error | classpath, resource-not-found, build |
| cannot read properties of | exception | error | javascript, type-error, null-pointer, property-access |
| DataCloneError: a could not be cloned | exception | error | javascript, structured-clone, data |
| locator failed twice | exception | error | webdriver, locator, element-lookup, javascript-injection |
| unexpected operator | exception | error | javascript, parser, internal-invariant, compound-assignment |
| waitForOutput timed out after ms | exception | error | process, timeout, output, wait |
| currentTargetId fallback to getPages()[0] | console | warning | cdp, targetid, parallel-execution, fallback |
| Error loading config | console | warning | config, startup, resource-loading |
| hook failed | console | warning | mock-server, hooks, javascript |
| iterator result is not an object | exception | error | javascript, iterator, generator, typeerror |
| timeout waiting for OOPIF readiness: frameId= | console | warning | cdp, oopif, cross-origin-iframe, timeout |
| expect().to.have.all - no such api: | exception | error | expect, unsupported-key, object-keys |
| expect().to.have.any - no such api: | exception | error | expect, unsupported-key, object-keys |
| Pool exhausted for scenario | console | warning | driver-pool, browser-automation, concurrency, timeout |
| toCsv() argument must be a list of maps, got | exception | error | javascript, argument-validation, csv |
| Cannot convert non-integer number to BigInt | exception | error | javascript, bigint, range-error, numeric-conversion |
| Invalid number: missing fraction digits | exception | error | json, parser, syntax-error, number-literal |
| a function declaration may not be the body of | exception | error | javascript, parser, syntax-error, function-declaration |
| baseline image is not a valid image | exception | error | image, invalid-image, baseline |
| Index: , Size: <buffer.length> | exception | error | javascript, typed-array, index-out-of-bounds |
| Map.prototype.set is not callable | exception | error | javascript, map, prototype, typeerror |
| cannot set xpath on non-XML variable: | exception | error | xml, xpath, type-mismatch |
| Expected ',' or '}' in object | exception | error | json, syntax-error, missing-comma |
| missing argument for multiPart() | exception | error | http, multipart, missing-argument, dsl |
| Cannot redefine property: length | exception | error | javascript, array, length, frozen |
| fromString JSON parse failed | console | warning | json, parsing, karate, fallback |
| <JS rejection reason> | exception | error | promise, rejection, javascript |
| duplicate parameter name | exception | error | javascript, parameters, strict-mode, parser |
| karate.match() needs at least one argument | exception | error | javascript, api-misuse, missing-argument |
| Invalid property descriptor. Cannot both specify accessors… | exception | error | javascript, object, property-descriptor, accessor |
| missing argument for headerValues() | exception | error | http, response, headers |
| Promise resolve is not a function | exception | error | javascript, promise, static-method |
| timeout waiting for frame context: frameId= | console | warning | cdp, iframe, execution-context, timeout |
| boot.ext(' '): failed to construct | exception | error | boot, extension, reflection, instantiation |
| element vanished during action after | exception | error | driver, element-not-found, race-condition, retry, spa |
| Failed to generate code challenge | exception | error | oauth2, pkce, crypto, jvm |
| invalid : parenthesized destructuring pattern | exception | error | javascript, parser, syntax, destructuring |
| <js error message from context> | exception | error | javascript, interpreter, runtime-error |
| process died while waiting for port | console | warning | process, port, startup, lifecycle |
| String.prototype.matchAll called with a non-global RegExp… | exception | error | javascript, regex, type-error, iteration |
| timeout waiting for condition | exception | error | driver, timeout, supplier, wait-until |
| valueSupplier cannot be null | validation | error | java, gatling, null-argument, constructor |
| cannot apply post inc/dec to | exception | error | javascript, ast, unsupported-lhs |
| Promise constructor cannot be invoked without 'new' | exception | error | javascript, promise, constructor |
| ReferenceError: ' ' is not defined — did you mean `_. `?… | validation | error | javascript, reference-error, markup-template, scoping |
| [callSingle] disk cache skipped | console | info | callsingle, disk-cache, serialization |
| Failed to clean: | console | warning | cli, filesystem, cleanup, file-lock |
| Resource resolver not configured | exception | error | server, configuration, templates |
| WebDriver " + request.method() + " " +… | exception | error | webdriver, selenium-driver, browser-automation, http-error |
| 'break' may not cross a class static initialization block | exception | error | javascript, parser, syntax-error, static-block, break-statement |
| Failed to clean: karate-temp | console | warning | cli, filesystem, temp-directory, cleanup |
| karate-boot.js evaluation failed | exception | critical | javascript, boot, startup, fatal |
| WebDriver request failed: " + request.method() + " " +… | exception | error | webdriver, network, io-exception, connection |
| isResponsive check failed | console | warning | cdp, health-check, unresponsive-page, timeout |
| no page found matching | exception | error | driver, page-switch, tab, target-not-found |
| registerGlobal: name is null or empty | exception | error | java, configuration, argument-validation |
| The normalization form should be one of NFC, NFD, NFKC, NFKD | exception | error | javascript, string, unicode, range-error |
| cannot read properties of | exception | error | javascript, null-pointer, logical-assignment |
| did not return an object, got | console | warning | javascript, config, return-value |
| failed to create SSL context from files | exception | error | ssl, netty, pem, certificate, file |
| pool sizes must be at least 1, got maxTotal= perRoute= | validation | error | gatling, karate, http, connection-pool, configuration |
| unknown keyword | exception | error | karate, feature-file, syntax, keyword |
| waitForText timeout: expected | exception | error | webdriver, timeout, wait, text-assertion |
| Date.prototype[@@toPrimitive] called on non-object | exception | error | javascript, date, type-error, to-primitive |
| dialog accept failed | exception | error | cdp, dialog, race-condition |
| ext global '' collides with built-in '' | exception | error | java, configuration, naming-collision |
| missing 'mock' or 'handler' in intercept config | exception | error | ui, driver, intercept, config-validation |
| params() needs a map argument | exception | error | http, argument-validation, javascript |
| cannot destructure | exception | error | javascript, destructuring, typeerror, null, undefined |