org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "UserVenueMembership". Registered alias mappings: "{Omsmessage=null, Ord=null, UserVenueMembership=null}"

Oracle Community | 666705 | 9 years ago
  1. 0

    Citical error:org.apache.openjpa.persistence.ArgumentException: Could not l

    Oracle Community | 9 years ago | 666705
    org.apache.openjpa.persistence.ArgumentException: Could not locate metadata for the class using alias "UserVenueMembership". Registered alias mappings: "{Omsmessage=null, Ord=null, UserVenueMembership=null}"
  2. 0

    problem with open jpa

    Stack Overflow | 6 years ago | akshay
    org.apache.openjpa.persistence.ArgumentException: Field "abc.xyz" cannot declare that it is mapped by another field. Its mapping strategy (org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy) does not support mapping by another field.
  3. 0

    inner joins in jpql and resultset handling | Oracle Community

    oracle.com | 1 year ago
    org.apache.openjpa.persistence.ArgumentException: Encountered "JOIN btable bod" at character 307, but expected: [".", "FETCH", "INNER", "JOIN", "LEFT", <IDENTIFIER>].
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    "collection-valued-path" ArgumentException when querying based on multi-valued elements in an XML column

    openjpa-users | 7 years ago | Stella Lok
    org.apache.openjpa.persistence.ArgumentException: collection-valued-path
  6. 0

    inner joins in jpql and resultset handling

    Oracle Community | 6 years ago | user540571
    org.apache.openjpa.persistence.ArgumentException: Encountered "JOIN btable bod" at character 307, but expected: [".", "FETCH", "INNER", "JOIN", "LEFT", <IDENTIFIER>].

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.openjpa.persistence.ArgumentException

      Could not locate metadata for the class using alias "UserVenueMembership". Registered alias mappings: "{Omsmessage=null, Ord=null, UserVenueMembership=null}"

      at org.apache.openjpa.meta.MetaDataRepository.getMetaData()
    2. OpenJPA Aggregate Jar
      QueryImpl.compile
      1. org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:345)
      2. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JPQLExpressionBuilder.java:164)
      3. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.java:142)
      4. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:211)
      5. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:181)
      6. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JPQLExpressionBuilder.java:174)
      7. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500(JPQLExpressionBuilder.java:61)
      8. org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(JPQLExpressionBuilder.java:1668)
      9. org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:52)
      10. org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(ExpressionStoreQuery.java:145)
      11. org.apache.openjpa.datacache.QueryCacheStoreQuery.populateFromCompilation(QueryCacheStoreQuery.java:237)
      12. org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:644)
      13. org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:625)
      14. org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:591)
      15. org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:653)
      16. org.apache.openjpa.kernel.QueryImpl.compile(QueryImpl.java:560)
      16 frames
    3. kodo.kernel
      KodoQuery.compile
      1. kodo.kernel.KodoQuery.compile(KodoQuery.java:75)
      1 frame
    4. OpenJPA Aggregate Jar
      EntityManagerImpl.createNamedQuery
      1. org.apache.openjpa.persistence.EntityManagerImpl.createNamedQuery(EntityManagerImpl.java:785)
      1 frame
    5. kodo.persistence
      KodoEntityManagerImpl.createNamedQuery
      1. kodo.persistence.KodoEntityManagerImpl.createNamedQuery(KodoEntityManagerImpl.java:68)
      1 frame
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    7. Spring ORM
      ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke
      1. org.springframework.orm.jpa.ExtendedEntityManagerCreator$ExtendedEntityManagerInvocationHandler.invoke(ExtendedEntityManagerCreator.java:340)
      1 frame
    8. Unknown
      $Proxy88.createNamedQuery
      1. $Proxy88.createNamedQuery(Unknown Source)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    10. Spring ORM
      SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke
      1. org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:180)
      1 frame
    11. Unknown
      $Proxy86.createNamedQuery
      1. $Proxy86.createNamedQuery(Unknown Source)
      1 frame
    12. com.git.oms
      LoginController$$FastClassByCGLIB$$b582410d.invoke
      1. com.git.oms.as.dao.UserDAOImpl.getUserVenueMemberships(UserDAOImpl.java:59)
      2. com.git.oms.as.processor.LoginProcess.execute(LoginProcess.java:371)
      3. com.git.oms.framework.processor.OMSBusinessProcessManager.startProcess(OMSBusinessProcessManager.java:72)
      4. com.git.oms.as.processor.LoginProcessManager.startProcess(LoginProcessManager.java:36)
      5. com.git.oms.as.controller.LoginController.processRequest(LoginController.java:117)
      6. com.git.oms.as.controller.LoginController$$FastClassByCGLIB$$b582410d.invoke(<generated>)
      6 frames
    13. IDEA
      MethodProxy.invoke
      1. net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
      1 frame
    14. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:695)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139)
      2 frames
    15. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
      1 frame
    16. Spring AOP
      Cglib2AopProxy$DynamicAdvisedInterceptor.intercept
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
      2. org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:630)
      2 frames
    17. com.git.oms
      AsRVMessageListener.onMsg
      1. com.git.oms.as.controller.LoginController$$EnhancerByCGLIB$$e477a901.processRequest(<generated>)
      2. com.git.oms.as.message.AsRVMessageListener.onMsg(AsRVMessageListener.java:364)
      2 frames
    18. com.tibco.tibrv
      TibrvDispatcher.run
      1. com.tibco.tibrv.TibrvEvent.invoke(TibrvEvent.java:160)
      2. com.tibco.tibrv.TibrvImplQueueC.natDispatch(Native Method)
      3. com.tibco.tibrv.TibrvImplQueueC.dispatch(TibrvImplQueueC.java:44)
      4. com.tibco.tibrv.TibrvQueue.dispatch(TibrvQueue.java:301)
      5. com.tibco.tibrv.TibrvDispatcher.run(TibrvDispatcher.java:169)
      5 frames