mybatis/mybatis-3
Documented errors, page 2 of 3. Back to mybatis/mybatis-3
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Line missing end-of-line terminator | exception | error | mybatis, sql, script-runner, parsing |
| Cannot get Configuration as configuration factory was not… | exception | error | mybatis, lazy-loading, configuration, serialization |
| Cannot set the value | exception | error | reflection, null-safety, collections, result-mapping, mybatis |
| Cannot add a collection result to non-collection based… | exception | error | mybatis, constructor-mapping, collections, resultmap |
| Cannot define both nestedQueryId and nestedResultMapId in… | validation | error | mybatis, result-map, nested-mapping, configuration |
| Error setting Log implementation. Cause | exception | error | mybatis, logging, configuration, classpath |
| Mapped Statements with nested result mappings cannot be… | exception | error | mybatis, rowbounds, pagination, nested-results, configuration |
| Cannot get Configuration as factory class [" +… | exception | error | mybatis, lazy-loading, reflection, configuration |
| If there is no type discriminator, then the NamedResultMap… | exception | error | mybatis, annotation, resultmap, configuration |
| There is no 'privateLookupIn(Class, Lookup)' method in… | exception | critical | mybatis, jvm, java-version, environment |
| Too many default (otherwise) elements in choose statement. | exception | error | mybatis, xml, choose, mapper-parsing, builder-exception |
| Could not process result for mapping: " + constructorMapping | exception | error | mybatis, constructor-mapping, typehandler, column-mapping |
| Error getting mapper instance. Cause | exception | error | mybatis, binding, proxy, classloading |
| ' ' extends TypeReference but misses the type parameter… | exception | error | mybatis, generics, type-reference, type-handler |
| Error: Cannot commit. No managed session is started. | exception | error | mybatis, session-management, transaction, threadlocal |
| Got interrupted while trying to acquire lock for key | exception | error | mybatis, cache, concurrency, interruption |
| Remove is not supported, as it has no meaning in the… | exception | warning | reflection, iterator, unsupported-operation, mybatis |
| Cannot remove element from Cursor | exception | error | mybatis, cursor, iterator, unsupported-operation, streaming |
| An invalid property ' ' was found in mapping # }. Valid… | exception | error | mybatis, parameter-mapping, syntax, xml-mapper |
| Wrong namespace. Expected | exception | error | mybatis, builder, namespace, xml-configuration |
| Error selecting key or setting result to parameter object… | exception | error | selectkey, wrapper, jdbc |
| Missing resultMap in property | validation | error | mybatis, stored-procedure, cursor, result-map |
| Parsing error in } in position | exception | error | mybatis, parameter-expression, syntax, xml-mapper |
| Error: Cannot rollback. No managed session is started. | exception | error | mybatis, session-management, transaction, rollback |
| No cache for namespace | exception | error | mybatis, cache, cache-ref, incomplete-element |
| Cannot set the value | exception | error | reflection, collections, type-mismatch, mybatis |
| Expected one result (or null) to be returned by… | exception | error | mybatis, query, too-many-results, select-one |
| ArrayType Handler requires SQL array or java array… | exception | error | mybatis, jdbc, array, type-handler, postgresql |
| Cache-ref not yet resolved | exception | error | mybatis, cache, cache-ref, statement, incomplete-element |
| Cannot use both @One and @Many annotations in the same… | exception | error | mybatis, annotation, nested-mapping, resultmap |
| Cannot enable lazy loading because Javassist is not… | exception | error | mybatis, lazy-loading, javassist, classpath, dependency |
| SqlRunner requires an instance of Null to represent typed… | validation | error | mybatis, jdbc, null-handling, sql-runner |
| Two different properties are mapped to the same resultSet | exception | error | mybatis, multiple-resultsets, stored-procedure, mapping |
| Invalid base cache implementation | validation | error | mybatis, cache, constructor-contract, custom-cache |
| Error executing: . Cause | exception | error | mybatis, scriptrunner, sql-script, migration, jdbc |
| Error instantiating with invalid types ( ) or values ( )… | exception | error | mybatis, reflection, constructor, instantiation, resultmap |
| @AutomapConstructor should be used in only one constructor. | exception | error | mybatis, automapping, constructor, annotation |
| Environment requires an id attribute. | validation | error | mybatis, xml-config, environment |
| Failed to invoke constructor | exception | error | mybatis, type-handler, reflection, registration |
| Invalid bound statement (not found) | exception | critical | mybatis, binding, statement-not-found, configuration |
| Failed to invoke constructor for handler | exception | error | mybatis, type-handler, constructor, initialization |
| Mapped Statements with nested result mappings cannot be… | exception | error | mybatis, resulthandler, nested-results, streaming, configuration |
| Error setting null for parameter #" + i + " with JdbcType "… | exception | error | mybatis, jdbc, oracle, null, configuration |
| Could not resolve type alias | exception | error | mybatis, type-alias, configuration, classpath |
| Error resolving JdbcType. Cause | exception | error | mybatis, builder, jdbc-type, configuration |
| JDBC requires that the JdbcType must be specified for all… | exception | error | mybatis, jdbc, nullable, configuration, mapper |
| SqlRunner could not find a TypeHandler instance for | validation | error | mybatis, type-handler, jdbc, sql-runner |
| The JDBC Type must be specified for output parameter. … | validation | error | mybatis, stored-procedures, callable, jdbctype, parameters |
| Variable defined twice in the same include definition | validation | error | mybatis, mapper-xml, include, duplicate-property |
| Could not instantiate cache implementation | exception | error | mybatis, cache, instantiation, custom-cache |
| Expression based parameters are not supported yet | exception | error | mybatis, parameter-mapping, unsupported-feature |
| Could not find result map | exception | error | mybatis, resultmap, statement, incomplete-element |
| Should be specified either value() or name() attribute in… | exception | error | mybatis, cache, annotation, configuration |
| Cannot enable lazy loading because CGLIB is not available… | exception | error | mybatis, lazy-loading, cglib, classpath, dependency |
| Could not find resource | exception | error | mybatis, resources, classpath, configuration |
| Could not set AutoCommit to | exception | error | mybatis, scriptrunner, autocommit, transactions, jdbc |
| Mapper method ' ' has an unsupported return type | exception | error | mybatis, binding, dml, return-type |
| method needs either a @ResultMap annotation, a @ResultType… | exception | error | mybatis, binding, result-handler, result-type |
| Unable to find a usable constructor for | exception | error | mybatis, type-handler, constructor, reflection |
| Invalid cache decorator | validation | error | mybatis, cache, decorator, constructor-contract |
| Statement returned results where exactly one (1) was… | exception | error | mybatis, sql, query, sql-runner |
| Cannot get Configuration as factory method [" +… | exception | error | mybatis, lazy-loading, reflection, configuration |
| Error attempting to get column #" + columnIndex + " from… | exception | error | mybatis, resultset, auto-mapping, column-index |
| No type handler found for '" + javaType + "' and JDBC type… | exception | error | mybatis, typehandler, jdbc-type, mapping |
| null is not a valid Language Driver | exception | error | configuration, language-driver, null-argument, mybatis |
| Failed cache initialization for | exception | error | mybatis, cache, initialization, custom-cache |
| There should be the same number of columns and… | exception | error | mybatis, resultmap, stored-procedure, multiple-resultsets |
| If SelectKey has key columns, the number must match the… | exception | error | selectkey, keycolumn, configuration |
| Cursor results cannot be mapped to multiple resultMaps | exception | error | mybatis, cursor, resultmap, streaming |
| Error resolving class. Cause | exception | error | mybatis, builder, class-resolution, type-alias, configuration |
| Type is not a valid TypeHandler because it does not… | exception | error | mybatis, builder, type-handler, configuration |
| Error setting non null for parameter #" + i + " with… | exception | error | mybatis, jdbc, type-handler, parameter-binding |
| Cannot convert to by ordinal value. | exception | error | mybatis, enum, ordinal, data-mismatch |
| Error attempting to get column '" + columnName + "' from… | exception | error | mybatis, resultset, resultmap, column-mapping |
| Method ' ' is not supported as a plugin target. | exception | error | mybatis, plugin, interceptor, reflection |
| SelectKey returned no data. | exception | error | selectkey, insert, sequence |
| Failed to invoke 'Class.isRecord()'. | exception | error | mybatis, reflection, records, jvm, methodhandle |
| Parameter ' ' not found. Available parameters are | exception | error | mybatis, binding, parameters, param-annotation |
| ResultLoader could not load lazily. DataSource was not… | exception | error | lazy-loading, datasource, configuration |
| Could not instantiate cache decorator | exception | error | mybatis, cache, decorator, instantiation |
| The 2nd arg must be Class or ParameterizedType, but was | exception | error | mybatis, reflection, generics, type-erasure |
| Type is already known to the MapperRegistry. | exception | error | mybatis, binding, mapper-registry, duplicate-registration |
| The alias ' ' is already mapped to the value ' '. | exception | error | mybatis, type-alias, naming-conflict, package-scan |
| cannot have multiple parameters | exception | error | mybatis, binding, rowbounds, result-handler, parameters |
| Error occurred when getting DB product name. | exception | error | mybatis, jdbc, connection, databaseid, startup |
| Cannot get Configuration as factory method [" +… | exception | error | mybatis, lazy-loading, configuration, type-mismatch |
| Mapper method ' ' attempted to return null from a method… | exception | error | mybatis, binding, null-return, primitive-type |
| ResultMaps must have an id | validation | error | mybatis, result-map, configuration, null-check |
| cache-ref element requires a namespace attribute. | exception | error | mybatis, cache, xml-mapper, configuration |
| The mapper element requires a namespace attribute to be… | exception | error | mybatis, builder, namespace, xml-configuration |
| There is no default constructor for | exception | error | mybatis, reflection, constructor, lombok, kotlin |
| Error evaluating XPath. Cause | exception | error | mybatis, xml, xpath, parsing |
| does not represent an enum type. | exception | error | mybatis, enum, type-handler, registration |
| There is no setter for property named | exception | error | mybatis, reflection, setter, resultmap, immutability |
| SelectKey returned more than one value. | exception | error | selectkey, insert, sql |
| Error registering type alias | exception | error | mybatis, type-alias, classpath, configuration |
| A query was run and no Result Maps were found for the… | exception | error | mybatis, resultmap, resulttype, mapper, configuration |
| Parameter 'transactionFactory' must not be null | validation | error | mybatis, configuration, transaction, null-check |
| ' ' does not implement TypeHandler. | exception | error | mybatis, type-handler, registration, interface |
| Error attempting to get column #" + columnIndex + " from… | exception | error | mybatis, stored-procedures, callablestatement, out-parameters |