com.solarmetric.kodo.runtime.UserException: Type "class com.stchome.mpi.persist.MpiAudit" cannot be used in queries, because it does not have JDO metadata or mapping information.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
Type "class com.stchome.mpi.persist.MpiAudit" cannot be used in queries, because it does not have JDO metadata or mapping information.
via Oracle Community by 3004, 1 year ago
Type "class com.ipacs.als.jdo.wfengine.RecurrenceRule" cannot be used in queries, because it does not have JDO metadata or mapping information.
via Oracle Community by 3004, 1 year ago
Type "class cps.metier.actes.ActePrincipal" cannot be used in queries, because it does not have JDO metadata or mapping information.
via Oracle Community by 3004, 1 year ago
Type "null" cannot be used in queries, because it does not have JDO metadata or mapping information.
via Oracle Community by 3004, 1 year ago
Type "class com.ca.cleverpath.framework.service.metadata.persistence.driver.jdoex.jdomanagedobjects.JDOPublicationApprover" cannot be used in queries, because it does not have JDO metadata or mapping information.
via Oracle Community by 3004, 1 year ago
Type "null" cannot be used in queries, because it does not have JDO metadata or mapping information.
com.solarmetric.kodo.runtime.UserException: Type "class com.stchome.mpi.persist.MpiAudit" cannot be used in queries, because it does not have JDO metadata or mapping information.
at com.solarmetric.kodo.impl.jdbc.query.JDBCExpressionFactory.(JDBCExpressionFactory.java:61)
at com.solarmetric.kodo.impl.jdbc.query.JDBCQuery.getExpressionFactory(JDBCQuery.java:132)
at com.solarmetric.kodo.query.QueryImpl$DatastoreQueryExecutor.(QueryImpl.java:1523)
at com.solarmetric.kodo.query.QueryImpl$QueryExecutionManager.getQueryExecutor(QueryImpl.java:1358)
at com.solarmetric.kodo.query.QueryImpl.internalCompile(QueryImpl.java:469)
at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:672)
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:540)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:490)
at com.stchome.mpi.service.DeduplicationThread.queryAuditTableRecords(DeduplicationThread.java:163)
at com.stchome.mpi.service.DeduplicationThread.run(DeduplicationThread.java:78)
at java.lang.Thread.run(Thread.java:536)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.