Error Codes
Use this reference to find the meaning, typical causes, and fixes for an ULTI error code. The entries come from the framework JAR for this documentation version.
ULTI-1000: Unclassified UltiTools failure
What it means
The caller supplied an error code without a specific category. This framework version does not select this code at a built-in failure site.
Typical causes
A module or integration used the generic code while wrapping a failure that it could not classify.
How to fix
Read the exception's cause and the first failing operation, then correct that operation rather than handling this catch-all code as a diagnosis.
ULTI-1001: Invalid argument
What it means
An operation rejected an argument or declaration that did not meet its requirements.
Typical causes
The argument named in the message may have the wrong type, shape, or value. For example, the framework rejects a @PlayerCache field unless it is a Map<UUID, ?>, Map<?, UUID>, or Set<UUID>. A bean with saveBeforeRemove = true must also implement PlayerCacheSaver.
How to fix
Correct the argument or declaration named in the message to meet the operation's requirements.
ULTI-1002: Missing required value
What it means
The caller identified a null value where a non-null value was required. This framework version does not select this code at a built-in failure site.
Typical causes
A module or integration passed an absent input or used a lookup result without checking whether it was present.
How to fix
Find the named null value, supply it before calling the operation, or handle its absence at the lookup boundary.
ULTI-1003: Operation in the wrong state
What it means
The caller rejected an operation because a required state was not established. This framework version does not select this code at a built-in failure site.
Typical causes
A module or integration tried to use a resource before initialization, after teardown, or twice when only one call was allowed.
How to fix
Check the operation's lifecycle preconditions and move the call to a phase where the named resource is ready and still active.
ULTI-2000: Bean creation failed
What it means
The container could not create, initialize, or register a bean, or build the interception proxy required by its annotations.
Typical causes
Examples include a failing static initializer, an invalid constructor, a failing @PostConstruct method, a scanning or annotation-read failure, or an unavailable AOP advisor. Final or sealed classes and methods that cannot be overridden can block interception. A named Java module may also need to open the target package.
How to fix
If a static initializer failed, fix the initializer. Otherwise, fix the constructor, lifecycle, scan, or proxy failure named in the cause; for AOP, use a supported annotation on an overridable bean and method.
ULTI-2001: Bean not found
What it means
A caller using the beanNotFound exception factory could not find a bean by type or name.
Typical causes
The bean definition was not registered, is outside the scan, is conditional and disabled, or is not visible from the requesting container.
How to fix
Register the requested bean in the visible container and make the lookup name or type match the registered definition.
ULTI-2002: Circular bean dependency
What it means
Creating a bean re-entered the dependency path before it could finish; the container explicitly rejects this for prototype beans.
Typical causes
A prototype depends on itself through another bean, for example ReportBuilder requires ReportFormatter, which requires ReportBuilder.
How to fix
Break the reported bean dependency cycle by extracting the shared operation into a separate bean or removing one dependency edge.
ULTI-2003: Dependency injection failed
What it means
The container could not resolve a required @Autowired field or a constructor parameter. The occurrence identifies the affected bean and dependency.
Typical causes
No matching bean was registered or it is not visible. A component may lie outside the scan, or a configuration class that was expected to auto-register was never discovered.
How to fix
Register the missing dependency in the module's container. For scanned components, use @Service/@Component and check scanBasePackages. For configuration classes declared with @ConfigEntity and other auto-registration, put @UltiToolsModule or @EnableAutoRegister on the module main class and include the class in the scan. Let the container assemble the owning object, and use @Autowired(required = false) only for optional fields.
ULTI-2004: Duplicate bean definition
What it means
The duplicateBean exception factory identifies conflicting bean names.
Typical causes
Two definitions declare the same name, for example two @Bean methods both exposing the same explicit name. Not every bean registration API reports this code.
How to fix
Give the bean definitions distinct names or remove the duplicate registration, then update any named lookups.
ULTI-2005: Malformed annotation alias
What it means
The merged annotation resolver or component scanner could not interpret an @AliasFor declaration.
Typical causes
Common causes include a misspelled or missing target attribute, incompatible return types, an incompatible default, or two aliased attributes supplied with different values.
How to fix
Use an existing, type-compatible @AliasFor target and make the aliased declarations and their supplied values agree.
ULTI-2006: Ambiguous bean type
What it means
More than one assignable bean has the highest matching priority, so the container cannot select one for a type lookup.
Typical causes
For example, two registered implementations of Clock both match the requested type without a priority that breaks the tie.
How to fix
Request a concrete type or use a named lookup, remove the extra candidate, or give exactly one matching bean a higher @Service(priority = ...) value.
ULTI-2007: AOP on a pre-constructed singleton
What it means
A pre-constructed singleton supplied to registerSingleton carries an effective AOP annotation; that registration path cannot proxy the supplied object.
Typical causes
For example, a service instance is constructed with new and passed to registerSingleton even though one of its methods uses @Transactional.
How to fix
Register a bean definition so the container can construct and proxy it, or remove the AOP annotation if the bean does not need interception.
ULTI-2008: Bean name could not be determined
What it means
A bean registered by class needs a usable name. Anonymous classes can have an empty simple name.
Typical causes
An anonymous class is passed to class-based bean registration.
How to fix
Register a named concrete class instead of passing an anonymous class.
ULTI-2009: Bean initialization callback failed
What it means
The container could not invoke a bean's @PostConstruct method after assembling the bean.
Typical causes
A callback expects arguments or throws while initializing the bean.
How to fix
Use a no-argument @PostConstruct method and fix the underlying exception in the named callback.
ULTI-2010: Bean factory method failed
What it means
The container could not invoke a @Bean factory method or register its result.
Typical causes
A factory method takes parameters, returns no bean, or throws while creating an instance.
How to fix
Use a no-argument @Bean method that returns a non-null instance, and fix the exception in that factory method or its returned bean.
ULTI-2011: Bean configuration class could not be assembled
What it means
The scanner could not assemble a @Configuration instance for its @Bean methods.
Typical causes
A directly constructed configuration class has no accessible no-argument constructor, or construction fails.
How to fix
Give the @Configuration class an accessible no-argument constructor, and fix the cause shown for that class.
ULTI-2012: Autowired field could not be assigned
What it means
The autowire factory found the field but could not assign it reflectively. This is different from finding no matching dependency.
Typical causes
An injected field is not writable by the container.
How to fix
Declare the named @Autowired field as a writable instance field on the managed class instead of relying on reflective writes to a non-writable field.
ULTI-2013: Module context entry could not be registered
What it means
The framework skipped the bean named by the module class's @ContextEntry declaration.
Typical causes
The entry class cannot be constructed or registered as a singleton.
How to fix
Point @ContextEntry at a concrete class with an accessible no-argument constructor and correct any failure in its construction or bean initialization.
ULTI-2014: Component package could not be scanned
What it means
The scanner could not enumerate candidate classes for a scan package or one of its JARs.
Typical causes
The module JAR or the package resources could not be read while enumerating component classes.
How to fix
Check the named scan package and cause, and replace an unreadable module JAR with a correctly packaged copy before restarting.
ULTI-3000: General data access failure
What it means
A DataAccessException was created without a more specific code, including for some UltiCloud state and credential store failures.
Typical causes
Examples include missing file access, a filesystem that cannot atomically replace the credential file, and a refused update when the existing credentials cannot safely be read or reconciled.
How to fix
Use the cause to correct the named operation or file access; for a refused credential update, preserve the existing files and resolve the reported conflict before retrying.
ULTI-3001: Entity not found
What it means
A caller using the entityNotFound exception factory expected a record that was not available under the given identifier.
Typical causes
The record was never inserted, was deleted, or was looked up with the wrong ID or in the wrong store. This code does not mean every missing-row lookup throws.
How to fix
Use the correct persisted identifier and store, or handle a missing record explicitly before updating or deleting it.
ULTI-3002: Data persistence failed
What it means
The JSON backend could not persist pending data, apply or recover a journal, or encode a value for a write.
Typical causes
An example is a flush failing because the data directory is not writable, or recovery rejecting an entry that cannot be represented as a table file.
How to fix
Fix the reported JSON storage, journal recovery, or value serialization problem before retrying the flush or reopening the store.
ULTI-3003: Data query failed
What it means
The backend or its calling code could not execute the requested query.
Typical causes
A JSON query condition may use a value that is not serializable; a caller using queryFailed may be reporting a backend exception for the named query.
How to fix
Use a serializable value of the mapped column type for JSON queries; for a backend query failure, correct the query using the underlying cause.
ULTI-3004: Damaged JSON journal record
What it means
The JSON backend refused to recover a damaged journal record and kept that data store closed. It did not change table files while rejecting the record.
Typical causes
Recovery found a journal record whose contents did not pass the consistency checks described in the error.
How to fix
Stop the server, back up the affected store and journal, then restore a consistent backup or follow the recovery message to quarantine the named record before restarting.
ULTI-3005: Database connection failed
What it means
The data source could not open or supply a database connection.
Typical causes
For MySQL, check the configured endpoint, reachability, credentials, and pool availability; for SQLite, check the database file and its parent directory.
How to fix
Correct the configured database endpoint, credentials, or file access named in the cause, and make sure the backend can supply a connection.
ULTI-3006: Transaction failed
What it means
The backend could not begin, run, commit, or roll back a transaction.
Typical causes
Examples include a JDBC failure, a JSON write in a read-only scope, a JSON lock timeout or deadlock, an invalid JSON table-file entry, or a failed journal write.
How to fix
Use a writable transaction for writes, and fix the reported database, lock, deadline, or JSON journal failure before retrying the whole unit of work.
ULTI-3007: Invalid entity mapping or operation
What it means
The data operator could not map an entity or rejected an input that does not address a valid row or column.
Typical causes
Common causes include a missing @Table, an unmapped @Column name, a null or invalid ID, inaccessible mapped fields, a non-finite comparison value, or a delete without an explicit condition.
How to fix
Correct the reported entity mapping, identifier, or condition; use mapped columns, valid IDs, and an explicit condition for deletes.
ULTI-3008: Data operation failed
What it means
An entity copy, relational schema or CRUD operation, or batch operation failed.
Typical causes
Examples include a field-copy error, a schema or permission mismatch while creating a table, and a JDBC failure during a read, write, or batch.
How to fix
Use the underlying exception to fix the entity copy, table schema, or failed store operation; check batch outcomes before retrying a write.
ULTI-3009: Transaction marked rollback-only
What it means
A nested scope marked the active transaction rollback-only, so the outer scope rolled back instead of committing.
Typical causes
A common pattern is catching a failure from an inner call that joined the outer transaction and then returning normally from the outer method.
How to fix
Fix or propagate the nested failure; if the work should commit independently, put it in an intentional REQUIRES_NEW transaction boundary.
ULTI-3010: Data entity not owned by the caller
What it means
The requesting module or external plugin does not own the entity or has no registered data scope. From 7.1.0, UltiToolsAPI.connect(this) attaches an external plugin's scope before scanning its components, so their initializers can request operators for entities it owns.
Typical causes
- A module requests a data operator for an entity registered to another module. For cross-module access, use the owning module's exposed service or the EventBus.
- The entity is not registered to the requester, or the requester tries to claim another module's entity through
additionalEntities. - A module loaded from a class directory requests its own
@Tableentity in that directory but outside all its scan packages and their subpackages. A module JAR is scanned in full. Add the class to@UltiToolsModule(additionalEntities = {MyEntity.class}), keeping any existing entries, or move it under one of the scan packages listed in the error. Neither fix is a way to claim another plugin's entity. - An external plugin runs from a class directory and requests its own
@Tableentity outside its entry point's package and subpackages. Automatic discovery does not include that sibling package. An unnamed entry package scans the whole directory. For your own entity outside the scanned package, add the class to your existing connection call (for example,UltiToolsAPI.connect(plugin, SiblingEntry.class)) or move the entity under the entry point's package. Do not use either fix to claim another plugin's entity. - The requester has no data scope, for example because the module was constructed outside UltiTools or external plugin registration did not complete.
How to fix
Use the owning module's exposed service or the EventBus for cross-module access. Request data operators only for entities registered to your own module or external plugin; an external plugin must connect through UltiToolsAPI.connect first.
ULTI-4000: General command failure
What it means
A CommandException was created without a more specific code.
Typical causes
A module or integration used the generic command exception constructor to report failure in its command flow.
How to fix
Use the failing command and its cause to decide whether to correct the invocation or fix the named command handler.
ULTI-4001: Command validation failed
What it means
A command validation failure was reported using the validationFailed exception factory.
Typical causes
The request did not meet a validator's rule, such as an allowed range or another precondition described by the command.
How to fix
Correct the input or sender state named by the validation message; change the validator only if its rule is wrong for that command.
ULTI-4002: Command permission denied
What it means
The permissionDenied exception factory reports that the invocation requires a permission the sender lacks.
Typical causes
The configured permission node is missing for the sender, or the module checks a node that differs from the one it documents.
How to fix
Run the command as a sender with the named permission, or ask the operator to correct the intended permission assignment.
ULTI-4003: Command cooldown active
What it means
The cooldownActive exception factory reports that the sender tried to use a command before its cooldown expired.
Typical causes
For example, repeating an invocation while the remaining seconds are still greater than zero can trigger this condition.
How to fix
Wait for the reported remaining seconds before retrying; if the interval is unintended, correct the command's cooldown declaration or binding.
ULTI-4004: Command argument parse error
What it means
The parseError exception factory reports that input could not be converted to the target argument type.
Typical causes
For example, letters were supplied to a numeric parameter, or a token did not match the expected argument form.
How to fix
Supply an argument in the expected format, or fix the parameter type or parser if the command's declared syntax is incorrect.
ULTI-4005: Command execution failed
What it means
The command's own handler failed while executing the command.
Typical causes
An operation called by the handler failed. For example, the framework reports this code when its reload handler encounters an I/O error while reloading plugins.
How to fix
Use the message and any underlying cause to identify what failed in the command's own handler, then correct the reported problem before retrying the command.
ULTI-4006: Command annotation cannot be enforced by the validator chain
What it means
The framework refused to register a command because its validator chain cannot enforce an annotation.
Typical causes
- The effective validator chain lacks
CooldownValidatorfor@CmdCDorUsageLockValidatorfor an active@UsageLimit.
How to fix
Restore CooldownValidator for @CmdCD or UsageLockValidator for an active @UsageLimit in the effective validator chain, or remove the unsupported annotation.
ULTI-4007: Unknown command completer key
What it means
An @CmdParam(suggest = "@key") reference could not be resolved to a registered completer key at module validation time.
Typical causes
The key was misspelled or the completer was not registered by the time the framework validates the command.
How to fix
Correct the @CmdParam suggestion key or register its completer with TabCompletionManager before command validation.
ULTI-4008: Unsupported suggestion method signature
What it means
The named @CmdParam suggestion method resolves, but its parameter signature cannot be invoked by tab completion.
Typical causes
An example is a suggestion method accepting only an int. Supported forms are (), (Player), (String), (Player, String), (Player, Command, String[]), (CommandSender), (CommandSender, String), and (CommandSender, Command, String[]).
How to fix
Change the resolved suggestion method to a supported parameter signature, or point @CmdParam at a different callable suggestion method.
ULTI-4009: Command executor declaration is missing
What it means
The annotated command path cannot register or compile a class without @CmdExecutor.
Typical causes
A BaseCommandExecutor subclass is registered but has no @CmdExecutor annotation.
How to fix
Pass a non-null command executor whose class declares @CmdExecutor with at least one usable label.
ULTI-4010: Command has no usable labels
What it means
A Brigadier command needs at least one usable label in the label list.
Typical causes
The declared label list is empty.
How to fix
Declare at least one root label or alias in the command declaration.
ULTI-4011: Multiple command mappings claim one executable path
What it means
A Brigadier path can invoke only one mapping. An empty greedy argument can also make two mappings executable at the same path.
Typical causes
Two methods use the same @CmdMapping format, or both a parent and its greedy child can run without further input.
How to fix
Give the conflicting @CmdMapping methods distinct executable paths, including when a trailing greedy parameter receives no input.
ULTI-4012: Command format and method parameters disagree
What it means
The placeholders in a @CmdMapping format and the named @CmdParam parameters on its method must correspond.
Typical causes
The format uses <target> while the method uses @CmdParam("player").
How to fix
Match every format placeholder to a method parameter with the same @CmdParam name, and remove parameter bindings absent from the format.
ULTI-4013: Greedy command parameter is not last
What it means
Brigadier consumes the rest of the input for a greedy placeholder.
Typical causes
A format places a literal or another placeholder after <message...>.
How to fix
Move the greedy placeholder to the end of the @CmdMapping format, or use a non-greedy argument before later nodes.
ULTI-4014: Greedy command parameter has an unsupported type
What it means
A greedy placeholder can bind to String or an array, not another scalar type.
Typical causes
A format binds <values...> to a single int parameter.
How to fix
Bind the greedy placeholder to String or an array with a supported element type, or remove the ellipsis for a single value.
ULTI-4015: Command parameter has no argument mapping
What it means
The compiler could not match the declared Java parameter type to a Paper argument type or a registered type parser.
Typical causes
A custom class is used as a @CmdParam type without a parser for that class.
How to fix
Use a supported command parameter type, or register a type parser for the custom type before compiling the command.
ULTI-4016: Command mappings define conflicting sibling nodes
What it means
Brigadier cannot use the same node as both a literal and a parameter; competing parameter branches also cannot coexist at the same position.
Typical causes
One format uses <target> where a sibling format uses <amount>, or a literal uses the same node name as a parameter.
How to fix
Use distinct literal prefixes or one consistent parameter name and type for competing parameters. If a placeholder and a sibling literal share a name, rename one of them.
ULTI-4017: Command label is already owned
What it means
Another UltiTools owner already registered the root label or alias, so the new binding is refused.
Typical causes
Two different owners (modules or external plugins) claim the same root label or alias.
How to fix
Rename the conflicting command label or alias to a name not used by another UltiTools owner.
ULTI-4018: Command sender declarations conflict
What it means
A mapping's @CmdTarget may retain or narrow its executor's sender restriction, not broaden it or switch to a different sender kind.
Typical causes
A console-only mapping appears in a player-only executor.
How to fix
Remove the conflicting method-level @CmdTarget, or make the executor's sender scope broad enough for every mapping and narrow individual methods as needed.
ULTI-4019: Paper did not register an occupied command label
What it means
Paper did not deliver the requested label or alias to the UltiTools command binding.
Typical causes
A server command or another plugin already provides the label.
How to fix
Choose a command label or alias that is not occupied on the server, then restart to register it.
ULTI-4020: Command registration deferred until the next Paper command lifecycle
What it means
A module or external plugin registered a new or changed command after Paper built its initial command tree. The new binding is not active yet.
Typical causes
A new command or changed command shape is registered after the initial Paper command registration callback.
How to fix
Register the command during module startup where possible. To activate a late binding, run /minecraft:reload or restart the server.
ULTI-4021: Command processing message key is invalid
What it means
The framework uses the default processing message instead of the declared message key.
Typical causes
The declared processingMessageKey cannot be parsed as a message key.
How to fix
Set processingMessageKey to a valid namespace:path message key, or leave it empty to use the framework default.
ULTI-4022: Command registration failed
What it means
The command tree could not be registered. The framework removed every command belonging to the same owner.
Typical causes
A hand-written Brigadier tree threw a command compilation exception without a more specific diagnostic.
How to fix
Fix the command tree that the named executor declares, using the cause below; every command of this owner has been unregistered.
ULTI-5000: Invalid configuration declaration or binding
What it means
A configuration failure was reported without a narrower code, or a scheduling or cooldown binding was rejected before reading a value.
Typical causes
Examples include a missing, duplicate, or invalid converter; a protected-file or key conflict; an invalid binding or insufficient module API level in plugin.yml; or a binding declared outside an UltiTools module.
How to fix
Correct the named file, converter, or binding; for config-bound @Scheduled or @CmdCD, use an UltiTools module and declare the required API level.
ULTI-5001: Configuration could not be loaded
What it means
The framework could not read a file or resource, construct a configuration entity, or complete the load required by a binding.
Typical causes
Examples include missing or unreadable YAML, a configuration entity without a working path constructor, and an I/O failure during a binding's config load. If the framework's embedded env.yml is missing, check the installed framework JAR.
How to fix
Restore the missing resource or file access, or fix the failing configuration constructor or load step named in the cause before retrying.
ULTI-5002: Configuration could not be saved
What it means
The saveFailed exception factory reports a failed write to the named configuration file.
Typical causes
Typical causes for a caller using this factory include an unwritable parent directory, read-only storage, or a full disk.
How to fix
Restore write access and available space for the named file's directory, then retry the save without discarding the existing configuration.
ULTI-5003: Configuration could not be parsed
What it means
The configuration file was read but could not be accepted as a parsed document, for example during reload.
Typical causes
Malformed YAML, indentation errors, invalid quoting, or a scalar where a document mapping was expected can cause parsing to fail.
How to fix
Correct the YAML syntax or document structure reported for the named file, then retry the reload.
ULTI-5004: Configuration failed validation
What it means
A setting, bound value, or constraint declaration failed validation. This includes ambiguous spellings of a single setting, and warnings when the framework cannot read an annotated field for validation. An empty @NotEmpty container can use the declared default in memory without changing the file.
Typical causes
Examples include a value outside @Range, a field with an inapplicable constraint, or the same key written both as a flat dotted key and as nested keys.
How to fix
Correct the named value or invalid constraint declaration; if a key is written in two forms, keep only one representation. If the framework cannot read the field, make it reflectively accessible.
ULTI-5005: More than one config converter is registered for a type
What it means
The converter registry already has a converter for the same declared type.
Typical causes
Two discovered @ConfigConverterFor classes claim the same type in the same registry.
How to fix
Keep only one class annotated with @ConfigConverterFor for the named type in the module scan packages.
ULTI-5006: Discovered config converter could not be constructed
What it means
A discovered @ConfigConverterFor class must implement ConfigConverter and be constructible through a public no-argument constructor.
Typical causes
The annotation is on a helper class, or the converter constructor requires an argument or throws.
How to fix
Make the annotated class implement ConfigConverter and supply a public no-argument constructor that succeeds.
ULTI-5007: No converter covers a declared config field type
What it means
Config entity preparation found a field type the registry cannot convert, possibly within a collection or map.
Typical causes
A field is declared as a list of custom objects, but no converter covers its element type.
How to fix
Register a converter for the missing type with @ConfigConverterFor in the module's scan packages, or use a supported plain-data field type.
ULTI-5008: Declared config default cannot be converted
What it means
A load or fallback could not convert the module's declared default back into the field's Java type.
Typical causes
A custom converter produces a default shape that its own fromPlain method rejects.
How to fix
Correct the named field's declared default and make its converter read the same plain-data shape that it writes.
ULTI-5009: Configuration field could not be converted to plain data
What it means
The converter failed while turning a Java field value into the data used for configuration output.
Typical causes
A converter returns an unsupported Java object or rejects the current field value.
How to fix
Correct the named field value or its converter so toPlain produces YAML-compatible data for that field type.
ULTI-5010: Merged configuration value could not be bound
What it means
During reload, the framework could not convert the result of a three-way merge of the last saved value, the module's current in-memory value, and the value read from the file.
Typical causes
The module changes one part of a setting in memory while the operator edits another part in the file. The merged value has a shape the converter does not accept.
How to fix
Make the field's converter accept the combinations that a merge of valid values can produce, or save or discard the module's in-memory changes before reloading the file.
ULTI-5011: Proposed values could not be bound to configuration fields
What it means
One or more proposed edits could not be converted or did not match a declared configuration field path.
Typical causes
An update supplies a value of the wrong type or uses an incompatible key path.
How to fix
Correct the reported keys and values to match the entity's declared paths and types, then retry the edit.
ULTI-5012: Configuration cannot be edited until it loads successfully
What it means
The framework refuses an edit or save after the existing file was unreadable or unparseable; it does not regenerate the file to accept the write.
Typical causes
An edit or save is attempted after a malformed YAML file failed to load.
How to fix
Restore a readable and valid copy of the named file, reload it successfully, and only then retry the edit or save.
ULTI-5013: Configuration entity is not initialized
What it means
The entity has no owning module from initialization, so the attempted operation cannot proceed.
Typical causes
Module code calls a write or reload operation on an entity constructed with new but not initialized.
How to fix
Obtain the registered configuration entity from the owning module after initialization instead of calling save or reload on an uninitialized instance.
ULTI-5014: Configuration operation requires the server thread
What it means
The named configuration operation does not run on the server thread.
Typical causes
An asynchronous task tries to save or update a configuration entity.
How to fix
Move the configuration operation to the server thread; keep unrelated background work off that thread.
ULTI-5015: Configuration entry is not declared
What it means
An explicit write named a key for which the entity has no @ConfigEntry declaration.
Typical causes
The caller passes a Java field name where the entry declares a different YAML path.
How to fix
Use the exact @ConfigEntry path, or the field name if there is no explicit path, on the registered entity.
ULTI-5016: Configuration map edit has an invalid target or key
What it means
An explicit map edit must identify a declared Map entry, name the map element, and supply valid presence and key data.
Typical causes
A map edit targets a scalar field, supplies a null key, or names a key that cannot be represented in the file.
How to fix
Target a declared Map configuration entry and pass the intended presence and a non-null, representable map key.
ULTI-5017: Configuration write names no entries
What it means
An explicit entry write needs at least one declared configuration entry to update.
Typical causes
A caller forwards an empty set of entry paths.
How to fix
Pass at least one declared @ConfigEntry path when requesting an explicit entry write.
ULTI-5018: No configuration entity matches the requested path
What it means
No registered entity covers the requested path in the relevant lookup scope.
Typical causes
A caller uses a filesystem path or a display label instead of the registered relative path.
How to fix
Use the registered module-relative @ConfigEntity path and ensure its entity is registered before requesting an update or save.
ULTI-5019: Registered configuration entity has a different type
What it means
The requested class is not compatible with the entity registered at that path.
Typical causes
A save request passes the class of a different configuration file.
How to fix
Pass the configuration entity class registered for the requested path, or correct the path to match the requested class.
ULTI-5020: Configuration path matches several modules
What it means
A path-only update found that more than one module owns a registered configuration at the requested path.
Typical causes
Several modules commonly register the same conventional path, such as config/config.yml. A path-only call to ConfigManager.loadFromJson(path, json) cannot choose an owner.
How to fix
Instead of a path-only update, use the owning module's getConfig(path, type) to obtain the entity and call updateProperties(jsonObject) on it.
ULTI-5021: Module configuration change conflicts with the file
What it means
Reload or save did not apply a module change where it conflicted with the file.
Typical causes
The module and the operator changed the same setting, or a setting in the file no longer has the value on which the module write was based.
How to fix
Reload the named file, reconcile the reported keys with the operator changes, and retry only the intended module edits.
ULTI-5022: Null configuration elements were omitted
What it means
Serialization dropped null entries from a collection or array.
Typical causes
The module supplied a collection or array containing null elements that its configuration conversion omits.
How to fix
Remove or replace the null elements before saving the named field; do not rely on null elements being preserved.
ULTI-5023: Configuration comment translation is missing
What it means
The framework could not resolve the message key named by a configuration comment.
Typical causes
An @ConfigEntry comment names a catalogue key that the module did not supply.
How to fix
Add the named comment key to the module message catalogue or correct the key in the @ConfigEntry comment.
ULTI-5024: Stored configuration value was not bound
What it means
A stored value or element was skipped or the declared default was used in memory.
Typical causes
The stored data does not match the declared field type or is rejected by its converter.
How to fix
Correct the stored value for the reported key, or fix the field converter if it rejects a supported value, then reload the file.
ULTI-5025: Unsaved module configuration changes were dropped
What it means
The framework did not persist changes still held in memory when a module instance stopped or was superseded.
Typical causes
The module changed a configuration entity but did not save those changes before it was unloaded.
How to fix
If the module intends to persist these changes, save them explicitly on the server thread while the configuration entity is still registered.
ULTI-6000: General module failure
What it means
A PluginModuleException was created without a more specific code.
Typical causes
A module or integration used the generic exception constructor to report a failure in module setup or lifecycle work.
How to fix
Read the module name, lifecycle operation, and underlying cause; fix the first failing declaration or lifecycle hook before restarting.
ULTI-6001: Module failed to load
What it means
A module or framework load step could not proceed. The underlying cause gives the specific refusal or failure.
Typical causes
Examples include a missing name in module plugin.yml, classpath or startup initialization failure, an external registration using an occupied data folder, and a message namespace collision.
How to fix
Fix the descriptor, classpath, startup cause, or registration conflict named in the error before attempting to load the module again.
ULTI-6002: Module failed to unload
What it means
The unloadFailed exception factory reports an error while unloading the named module.
Typical causes
For a caller using this factory, a cleanup hook, task cancellation, or resource close may have failed; the wrapped cause identifies the failing step.
How to fix
Fix the cleanup step named in the cause, and verify that the module releases its tasks and resources before trying to reload it.
ULTI-6003: Required module dependency is missing
What it means
The dependencyMissing exception factory reports that a required dependency could not be resolved for the named module.
Typical causes
The dependency may not be installed or loaded under the required name, or the module may have declared a dependency it does not require.
How to fix
Install and enable a compatible version of the named dependency, or correct the module's dependency declaration if its name or requirement is wrong.
ULTI-6004: Circular module dependency
What it means
The circularDependency exception factory reports a module graph with no valid dependency order for the listed modules.
Typical causes
For example, module A requires B while B also requires A, so neither can load first.
How to fix
Remove one dependency edge in the reported cycle or move the shared functionality into a third module that both can depend on.
ULTI-6005: Module JAR failed validation
What it means
The framework skips a module archive that fails its validation before loading classes from it.
Typical causes
The file is not a readable regular .jar, the JAR structure cannot be read, or the file exceeds 100 MB or 10,000 entries.
How to fix
Replace the rejected file with a readable, valid .jar no larger than 100 MB (104,857,600 bytes) and containing no more than 10,000 entries, then restart.
ULTI-6006: Module descriptor has no readable main declaration
What it means
The framework could not read a usable entry-point declaration from the module JAR's root plugin.yml.
Typical causes
The descriptor is missing or unreadable, or its main value is absent, blank, or not a valid binary class name.
How to fix
Package a readable plugin.yml at the JAR root with main set to the fully qualified name of the module's own entry class.
ULTI-6007: Module descriptor has no valid API level
What it means
The loader could not read an integer api-version from the module descriptor.
Typical causes
The packaged descriptor has a missing, malformed, or Paper-style decimal API version.
How to fix
Set api-version in the packaged module plugin.yml to the integer UltiTools API level the module targets, then rebuild the JAR.
ULTI-6008: Module API level is below the loading minimum
What it means
The descriptor declares an integer api-version lower than the framework's supported loading minimum.
Typical causes
A module built against a 6.x API is deployed to a framework whose minimum is 700.
How to fix
Install a compatible module build or migrate and rebuild the module against a supported API; changing only api-version does not repair binary compatibility.
ULTI-6009: Module main class is not a concrete UltiToolsPlugin
What it means
The loader resolved the declared main class but found it abstract, an interface, or not an UltiToolsPlugin subclass.
Typical causes
The descriptor points to a helper class or to an abstract module superclass.
How to fix
Point main in the module plugin.yml to a concrete subclass of UltiToolsPlugin packaged in that module's JAR.
ULTI-6010: Module main class resolves from another JAR
What it means
The declared entry point did not resolve to a class owned by the declaring JAR.
Typical causes
The declared main class resolves from another installed JAR that contains the class but is not recognized as an admitted duplicate copy. For example, another module shades or copies the class, or the declaring JAR does not package its own entry class.
How to fix
Package the module's own uniquely named entry class and point main to it; remove any conflicting obsolete JAR before restarting.
ULTI-6011: Module main class does not link to the running UltiTools API
What it means
The main class refers to a framework class or member that cannot be linked against the installed API.
Typical causes
An older binary references a type or member the running framework no longer provides, or a build targeting a newer API references a type or member not yet available on this server.
See the compatibility policy for removed or changed APIs and their replacements.
<!-- The final paragraph must match ErrorCode#getFixText() exactly. --> <!-- markdownlint-disable MD013 -->
How to fix
Install or rebuild a module compatible with the running UltiTools API, or upgrade UltiTools-API if the module declares a higher api-version. Changing only api-version does not repair binary compatibility.
ULTI-6012: Declared module main class could not be loaded
What it means
The loader could not resolve or link the class named by main in the module's descriptor.
Typical causes
The compiled main class or one of its required classes is missing from the runtime classpath.
How to fix
Check that main matches the class packaged in the JAR and make every required runtime dependency available; use the reported cause to identify the missing or incompatible class.
ULTI-6013: Module bootstrap failed
What it means
The module's early startup hook did not finish successfully, so the module is refused on this start.
Typical causes
The bootstrapper throws before enable, or its declaration names a class with an invalid bootstrap contract.
<!-- The final paragraph must match ErrorCode#getFixText() exactly. --> <!-- markdownlint-disable MD013 -->
How to fix
Correct the bootstrapper declaration or failing code and restart with a compatible JAR. After a module update, check the enable log for rollback before changing any JARs.
ULTI-6014: Declared bootstrapper does not implement ModuleBootstrap
What it means
The JAR's bootstrapper descriptor field does not point to a class implementing the framework's early bootstrap interface.
Typical causes
The normal UltiToolsPlugin entry class is listed as bootstrapper even though it does not implement ModuleBootstrap.
How to fix
Point bootstrapper to a concrete module class that implements ModuleBootstrap, or omit the entry if the module has no early bootstrap hook.
ULTI-6015: Bootstrapper class is not from its declaring module JAR
What it means
The bootstrapper was loaded from a different code source than the module that declared it.
Typical causes
A bootstrapper class is supplied only by another module, or the two modules use the same fully qualified bootstrapper class name.
How to fix
Package the bootstrapper in its own module JAR under a unique class name and set bootstrapper to that class in plugin.yml.
ULTI-6016: Module archive could not be scanned for entities
What it means
The entity scan could not finish reading the archive or linking an entity class.
Typical causes
The module JAR is unreadable or a class references an unavailable runtime type.
How to fix
Check the named JAR and the first scan cause, then replace an unreadable archive or supply the dependency required by the entity classes.
ULTI-6017: Module classes were skipped during scanning
What it means
One or more classes from the module could not be inspected or instantiated as part of startup scanning. This is a module-level summary, not a count of rejected JARs.
Typical causes
A scanned class references an unavailable dependency or an incompatible framework API. A class can also be skipped if its name or package is rejected by the class loader.
<!-- The final paragraph must match ErrorCode#getFixText() exactly. --> <!-- markdownlint-disable MD013 -->
How to fix
Correct the named classes' packaging or names, supply missing runtime dependencies, or rebuild against the running API; then restart to scan the corrected JAR.
ULTI-6018: Legacy module order bypasses dependency resolution
What it means
The JVM option for legacy loading makes the framework load modules in file-name order without sorting or checking the module dependency graph.
Typical causes
The server was started with -Dultitools.useLegacyPluginLoading=true.
How to fix
Remove -Dultitools.useLegacyPluginLoading=true from the server launch options and correct any dependency errors reported on the next start.
ULTI-6019: Class is not available to modules
What it means
The module class loader could not resolve a class through the available runtime providers.
Typical causes
A module uses a class from a server plugin that is missing or not declared as a dependency.
How to fix
Make the required class available at runtime; if a server plugin provides it, install the plugin and declare it in the module plugin.yml under depend or softdepend as appropriate.
ULTI-6020: Module requires a newer UltiTools API level
What it means
The declared minimum API level exceeds the running framework level, so the framework refuses to register the module.
Typical causes
The module targets a newer release, or its packaged plugin.yml overstates the API level it was built for.
How to fix
Upgrade UltiTools-API or install a module build targeting the running API. If the declaration is wrong, correct it to match the API actually used and rebuild.
ULTI-6021: Another copy of the module takes precedence
What it means
The framework does not load both copies of a module. The warning names the copy that takes precedence.
Typical causes
Several installed JARs declare the same main class, or the module registration would replace a newer loaded copy with an older one.
How to fix
Stop the server, keep only the intended compatible module JAR, and restart.
ULTI-6022: Several modules match a dependency name
What it means
Dependency resolution chooses one module when several eligible modules share a dependency name.
Typical causes
Module descriptors declare the same name, or multiple main classes have the same simple name used as a dependency fallback.
How to fix
Give modules distinct plugin.yml names and refer to the intended module by that name rather than by its ambiguous main class simple name.
ULTI-6023: Module JAR could not be added to the classpath
What it means
The framework could not add the named module archive to the module classpath.
Typical causes
Archive or path access failed while preparing its classpath URL.
How to fix
Check the named JAR and its read access, replace it if needed, and restart.
ULTI-7000: Unclassified WebSocket failure
What it means
The caller identified a WebSocket error without a more specific code. This framework version does not select this code at a built-in failure site.
Typical causes
A module or integration used the generic code without distinguishing connection setup, message handling, or responder registration.
How to fix
Identify the failing WebSocket stage in the cause, then correct the connection settings, message contract, or responder named there.
ULTI-7001: WebSocket connection failure
What it means
The caller identified a WebSocket connection failure. This framework version does not select this code at a built-in failure site.
Typical causes
Examples for callers using this code include an unreachable endpoint or a failed TLS or authentication handshake.
How to fix
Verify endpoint reachability, TLS, and the integration's authentication state before reconnecting.
ULTI-7002: WebSocket message failure
What it means
The caller identified a failure while sending or handling a WebSocket message. This framework version does not select this code at a built-in failure site.
Typical causes
Examples for callers using this code include a closed connection, an unsupported message type, or a payload that does not match its contract.
How to fix
Verify the connection is open and the message type and payload match the receiving endpoint's contract before sending again.
ULTI-7003: Panel responder uses a reserved message type
What it means
PanelResponderRegistry rejected a module's attempt to claim a framework-owned WebSocket message type.
Typical causes
The module registered a responder under a type reserved by the framework. The error names that type.
How to fix
Choose a module-specific message type not reserved by UltiTools, and update the sender to use it.
ULTI-7004: Panel responder conflicts with another module
What it means
PanelResponderRegistry rejected a claim on a type that another module already owns.
Typical causes
Two modules registered a responder for the same type. The error names the existing owner.
How to fix
Register a distinct module-specific message type and update the sender, or coordinate with the existing owner to use its established responder.
ULTI-7005: Panel responder timed out
What it means
A registered responder's future did not complete within the registry's deadline.
Typical causes
The responder may wait on slow I/O, block on another task, or omit completion on an error branch. A timeout does not by itself prove the handler performed no work.
How to fix
Make the responder's completion stage settle on every path and move or bound slow work so it can complete within the request deadline.