com.solarmetric.kodo.runtime.UserException: Type "null" 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 "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 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 "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.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 com.stchome.mpi.persist.MpiAudit" cannot be used in queries, because it does not have JDO metadata or mapping information.
com.solarmetric.kodo.runtime.UserException: Type "null" 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:1534)
at com.solarmetric.kodo.query.QueryImpl$QueryExecutionManager.getQueryExecutor(QueryImpl.java:1368)
at com.solarmetric.kodo.query.QueryImpl.internalCompile(QueryImpl.java:474)
at com.solarmetric.kodo.query.QueryImpl.getAccessPathClasses(QueryImpl.java:1178)
at com.solarmetric.kodo.query.QueryImpl.executeQueryWithMap(QueryImpl.java:586)
at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:545)
at com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:531)
at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:501)
at com.generator.queries.OrganizationQueries.getCompany(OrganizationQueries.java:16)
at com.generator.ejb.organization.OrganizationBean.createCompany(OrganizationBean.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
at org.jboss.ejb.Container.invoke(Container.java:674)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
at sun.rmi.transport.Transport$1.run(Transport.java:148)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:144)

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.