You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Error codes: a subclass of a listed engine exception comes out as unknown #507
bugSomething isn't workingin progressThe team is actively working on this issuejvmThe arcadedb-jvm package (JPype build)nativeThe arcadedb package (native library build)
The error table in exceptions.py compares Java class names exactly. A subclass of a listed class therefore gets the code unknown and no hint, unless a rule on the message text catches it. I want each such class to get the right code, so that except clauses and hints work for it.
Engine exception
Subclass of
Code of the parent
New since 2026-11-06
NonBooleanPatternExpressionException (openCypher pattern used outside a boolean position)
Also new: EquivalentIndexException, raised for example when CREATE INDEX gives a second name to properties that are already indexed (engine PR 11454). The table has no row for it, and had none for the plain exception that was raised before. The already_exists hint ("choose another name") would be wrong for it, so it needs its own wording if it gets a code.
Done when:
Each class above, EquivalentIndexException included, has a code with a hint that fits, or a recorded reason to stay unknown.
Both packages give the same answer, and the table in how-to/errors.adoc matches.
A test fails when the engine adds a subclass of a listed class that nobody has decided on.
Found while reviewing #503. From reading exceptions.py and the engine source at 8851991e1; I have not run these failures.
I checked the first two over HTTP on the 26.12.1-SNAPSHOT image build 0b058e985: the answers name the new classes, and SQL DROP INDEX still raises SchemaException. The third threw a plain IllegalArgumentException before, which the type_mismatch row matches only on "Cannot convert type", so its code does not change. #552 documents the 26.12.1 behaviour until this issue is decided.
I merged this into 26.12.1 and dropped the hold from 11-30. The reasons for the 27.1.1 move were a risk to the release and an untested new test; the test now passes against the 26.12.1 snapshot (173 passed in the three error-code files, and all checks were green on the merged head), and the binding release waits for the engine release anyway, so a later engine subclass that nobody has decided on shows up as a red test that I can fix before the tag.
bugSomething isn't workingin progressThe team is actively working on this issuejvmThe arcadedb-jvm package (JPype build)nativeThe arcadedb package (native library build)
Activity
tae898 commentedon Nov 30, 2026
Three more subclasses came with the engine changes of #551 (upstream 2026-11-27 to 2026-11-30). Two of them change a code between 26.11.1 and 26.12.1:
IndexDropFailedException(PR 13703)SchemaExceptionDROP INDEXof a missing nameschemaunknownConstraintDropFailedException(PR 13703)SchemaExceptionDROP CONSTRAINTof a missing nameschemaunknownProcedureCallFailedException(PR 13565)IllegalArgumentExceptionapoc.util.validateunknownunknownI checked the first two over HTTP on the
26.12.1-SNAPSHOTimage build0b058e985: the answers name the new classes, and SQLDROP INDEXstill raisesSchemaException. The third threw a plainIllegalArgumentExceptionbefore, which thetype_mismatchrow matches only on "Cannot convert type", so its code does not change. #552 documents the 26.12.1 behaviour until this issue is decided.docs: engine 26.12.1 limits vector graph parameters, drop() raises wh…
tae898 commentedon Dec 3, 2026
I merged this into 26.12.1 and dropped the hold from 11-30. The reasons for the 27.1.1 move were a risk to the release and an untested new test; the test now passes against the 26.12.1 snapshot (173 passed in the three error-code files, and all checks were green on the merged head), and the binding release waits for the engine release anyway, so a later engine subclass that nobody has decided on shows up as a red test that I can fix before the tag.