org.apache.openjpa.persistence.ArgumentException: The type "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has not been enhanced. at org.apache.openjpa.meta.ClassMetaData.resolveMeta( ClassMetaData.java:1590) at org.apache.openjpa.meta.ClassMetaData.resolve( ClassMetaData.java:1564) at org.apache.openjpa.meta.MetaDataRepository.processBuffer( MetaDataRepository.java:654) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta( MetaDataRepository.java:554) at org.apache.openjpa.meta.MetaDataRepository.resolve( MetaDataRepository.java:479) at org.apache.openjpa.meta.MetaDataRepository.getMetaData( MetaDataRepository.java:283) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData( JPQLExpressionBuilder.java:162) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData( >> JPQLExpressionBuilder.java:131) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:211) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:181) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType( JPQLExpressionBuilder.java:174) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500 (JPQLExpressionBuilder.java:61) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate( >> JPQLExpressionBuilder.java:1653) at org.apache.openjpa.kernel.jpql.JPQLParser.populate( JPQLParser.java:52) at >> org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation( ExpressionStoreQuery.java:145) at org.apache.openjpa.kernel.QueryImpl.newCompilation( QueryImpl.java:595) at org.apache.openjpa.kernel.QueryImpl.compileForCompilation( QueryImpl.java:577) at org.apache.openjpa.kernel.QueryImpl.compileForExecutor( QueryImpl.java:604) at >> org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java :1417) at org.apache.openjpa.kernel.DelegatingQuery.getOperation( DelegatingQuery.java:120) at >> org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java :202) at org.apache.openjpa.persistence.QueryImpl.getResultList( QueryImpl.java:251) at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getDeploymentUnits( ConfStoreConnectionJpa.java:67) at org.apache.ode.store.ProcessStoreImpl$5.call( ProcessStoreImpl.java:411) at org.apache.ode.store.ProcessStoreImpl$Callable.call( ProcessStoreImpl.java:595) at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java :269)

ode-dev | Roger Menday | 10 years ago
  1. 0

    Re: OpenJPA big bang

    ode-dev | 10 years ago | Roger Menday
    org.apache.openjpa.persistence.ArgumentException: The type "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has not been enhanced. at org.apache.openjpa.meta.ClassMetaData.resolveMeta( ClassMetaData.java:1590) at org.apache.openjpa.meta.ClassMetaData.resolve( ClassMetaData.java:1564) at org.apache.openjpa.meta.MetaDataRepository.processBuffer( MetaDataRepository.java:654) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta( MetaDataRepository.java:554) at org.apache.openjpa.meta.MetaDataRepository.resolve( MetaDataRepository.java:479) at org.apache.openjpa.meta.MetaDataRepository.getMetaData( MetaDataRepository.java:283) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData( JPQLExpressionBuilder.java:162) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData( >> JPQLExpressionBuilder.java:131) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:211) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:181) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType( JPQLExpressionBuilder.java:174) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500 (JPQLExpressionBuilder.java:61) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate( >> JPQLExpressionBuilder.java:1653) at org.apache.openjpa.kernel.jpql.JPQLParser.populate( JPQLParser.java:52) at >> org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation( ExpressionStoreQuery.java:145) at org.apache.openjpa.kernel.QueryImpl.newCompilation( QueryImpl.java:595) at org.apache.openjpa.kernel.QueryImpl.compileForCompilation( QueryImpl.java:577) at org.apache.openjpa.kernel.QueryImpl.compileForExecutor( QueryImpl.java:604) at >> org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java :1417) at org.apache.openjpa.kernel.DelegatingQuery.getOperation( DelegatingQuery.java:120) at >> org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java :202) at org.apache.openjpa.persistence.QueryImpl.getResultList( QueryImpl.java:251) at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getDeploymentUnits( ConfStoreConnectionJpa.java:67) at org.apache.ode.store.ProcessStoreImpl$5.call( ProcessStoreImpl.java:411) at org.apache.ode.store.ProcessStoreImpl$Callable.call( ProcessStoreImpl.java:595) at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java :269)
  2. 0

    Re: OpenJPA big bang

    ode-dev | 10 years ago | Guillaume Nodet
    org.apache.openjpa.persistence.ArgumentException: The type "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has not been enhanced. at org.apache.openjpa.meta.ClassMetaData.resolveMeta( ClassMetaData.java:1590) at org.apache.openjpa.meta.ClassMetaData.resolve( ClassMetaData.java:1564) at org.apache.openjpa.meta.MetaDataRepository.processBuffer( MetaDataRepository.java:654) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta( MetaDataRepository.java:554) at org.apache.openjpa.meta.MetaDataRepository.resolve( MetaDataRepository.java:479) at org.apache.openjpa.meta.MetaDataRepository.getMetaData( MetaDataRepository.java:283) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData( JPQLExpressionBuilder.java:162) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData( JPQLExpressionBuilder.java:131) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( JPQLExpressionBuilder.java:211) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( JPQLExpressionBuilder.java:181) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType( JPQLExpressionBuilder.java:174) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500 (JPQLExpressionBuilder.java:61) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate( JPQLExpressionBuilder.java:1653) at org.apache.openjpa.kernel.jpql.JPQLParser.populate( JPQLParser.java:52) at org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation( ExpressionStoreQuery.java:145) at org.apache.openjpa.kernel.QueryImpl.newCompilation( QueryImpl.java:595) at org.apache.openjpa.kernel.QueryImpl.compileForCompilation( QueryImpl.java:577) at org.apache.openjpa.kernel.QueryImpl.compileForExecutor( QueryImpl.java:604) at org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java :1417) at org.apache.openjpa.kernel.DelegatingQuery.getOperation( DelegatingQuery.java:120) at org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java :202) at org.apache.openjpa.persistence.QueryImpl.getResultList( QueryImpl.java:251) at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getDeploymentUnits( ConfStoreConnectionJpa.java:67) at org.apache.ode.store.ProcessStoreImpl$5.call( ProcessStoreImpl.java:411) at org.apache.ode.store.ProcessStoreImpl$Callable.call( ProcessStoreImpl.java:595) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java :269)
  3. 0

    Re: Clean project install syncope 1.2.5 not working

    syncope-user | 1 year ago | Francesco Chicchiriccò
    org.apache.openjpa.persistence.ArgumentException: Errors encountered > while resolving metadata. See nested exceptions for details. > at > org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:675) > > at > org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:418) > > at > org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:389) > > at > org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:472) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData(JPQLExpressionBuilder.java:176) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData(JPQLExpressionBuilder.java:152) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:242) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData(JPQLExpressionBuilder.java:212) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType(JPQLExpressionBuilder.java:205) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$200(JPQLExpressionBuilder.java:80) > > at > org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate(JPQLExpressionBuilder.java:2428) > > at > org.apache.openjpa.kernel.jpql.JPQLParser.populate(JPQLParser.java:61) > at > org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation(ExpressionStoreQuery.java:162) > > at > org.apache.openjpa.datacache.QueryCacheStoreQuery.populateFromCompilation(QueryCacheStoreQuery.java:268) > > at > org.apache.openjpa.kernel.QueryImpl.newCompilation(QueryImpl.java:673) > at > org.apache.openjpa.kernel.QueryImpl.compilationFromCache(QueryImpl.java:654) > > at > org.apache.openjpa.kernel.QueryImpl.compileForCompilation(QueryImpl.java:620) > > at > org.apache.openjpa.kernel.QueryImpl.compileForExecutor(QueryImpl.java:682) > > at > org.apache.openjpa.kernel.QueryImpl.compile(QueryImpl.java:589) > at > org.apache.openjpa.persistence.EntityManagerImpl.createQuery(EntityManagerImpl.java:997) > > at > org.apache.openjpa.persistence.EntityManagerImpl.createQuery(EntityManagerImpl.java:979) > > at > org.apache.openjpa.persistence.EntityManagerImpl.createQuery(EntityManagerImpl.java:975) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OpenJPA 2.0 and Glassfish 3.1 issue

    apache.org | 1 year ago
    org.apache.openjpa.persistence.ArgumentException: An error occurred while processing registered class "class com.ckd.model.BookModel". at org.apache.openjpa.meta.MetaDataRepository.processRegisteredClasses(MetaDataRepository.java:1646) at org.apache.openjpa.meta.ClassMetaData.getPCSubclasses(ClassMetaData.java:370) at org.apache.openjpa.jdbc.meta.MappingRepository.findBaseClassMapping(MappingRepository.java:1531) at org.apache.openjpa.jdbc.meta.MappingRepository.prepareMapping(MappingRepository.java:403) at org.apache.openjpa.meta.MetaDataRepository.preMapping(MetaDataRepository.java:762) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.java:651) at org.apache.openjpa.meta.MetaDataRepository.getMetaDataInternal(MetaDataRepository.java:411) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepository.java:384)
  6. 0

    RE: Problem with openjpa enhancer - using runtime enhancement

    openjpa-users | 8 years ago | Jaeger, Michael
    org.apache.openjpa.persistence.ArgumentException: The type "class com. par.impl.User" has not been enhanced. at org.apache.openjpa.meta.ClassMetaData.resolveMeta(ClassMetaData.java:164 6) at org.apache.openjpa.meta.ClassMetaData.resolve(ClassMetaData.java:1620) at org.apache.openjpa.meta.MetaDataRepository.processBuffer(MetaDataReposit ory.java:717) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepositor y.java:616) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.ja va:541) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor y.java:308) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepositor y.java:581) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.ja va:541) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor y.java:308) 1109 warehouse TRACE [main] openjpa.Query - Executing query: [select count(*) as Result from RoleUser left join Role on Ro leUser.RoleId = Role.RoleId left join RoleAccess on Role.RoleId = RoleAccess.RoleId where UserId = ?1 and RoleAccess.AccessNa me = ?2 and RoleAccess.AccessValue LIKE 'YES'] with parameters: {0=1, 1=ADD_CLIENT} at org.apache.openjpa.meta.MetaDataRepository.resolveMeta(MetaDataRepositor y.java:581) at org.apache.openjpa.meta.MetaDataRepository.resolve(MetaDataRepository.ja va:541) at org.apache.openjpa.meta.MetaDataRepository.getMetaData(MetaDataRepositor y.java:308) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:237) at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:101) at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3206) at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java: 1158) at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl .java:769) at com.par.impl.UserPersistenceTestCase.testUserManager(UserPersistenceTest Case.java:30)

    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

      The type "class org.apache.ode.store.jpa.DeploymentUnitDaoImpl" has not been enhanced. at org.apache.openjpa.meta.ClassMetaData.resolveMeta( ClassMetaData.java:1590) at org.apache.openjpa.meta.ClassMetaData.resolve( ClassMetaData.java:1564) at org.apache.openjpa.meta.MetaDataRepository.processBuffer( MetaDataRepository.java:654) at org.apache.openjpa.meta.MetaDataRepository.resolveMeta( MetaDataRepository.java:554) at org.apache.openjpa.meta.MetaDataRepository.resolve( MetaDataRepository.java:479) at org.apache.openjpa.meta.MetaDataRepository.getMetaData( MetaDataRepository.java:283) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getClassMetaData( JPQLExpressionBuilder.java:162) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.resolveClassMetaData( >> JPQLExpressionBuilder.java:131) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:211) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateMetaData( >> JPQLExpressionBuilder.java:181) at org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.getCandidateType( JPQLExpressionBuilder.java:174) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder.access$500 (JPQLExpressionBuilder.java:61) at >> org.apache.openjpa.kernel.jpql.JPQLExpressionBuilder$ParsedJPQL.populate( >> JPQLExpressionBuilder.java:1653) at org.apache.openjpa.kernel.jpql.JPQLParser.populate( JPQLParser.java:52) at >> org.apache.openjpa.kernel.ExpressionStoreQuery.populateFromCompilation( ExpressionStoreQuery.java:145) at org.apache.openjpa.kernel.QueryImpl.newCompilation( QueryImpl.java:595) at org.apache.openjpa.kernel.QueryImpl.compileForCompilation( QueryImpl.java:577) at org.apache.openjpa.kernel.QueryImpl.compileForExecutor( QueryImpl.java:604) at >> org.apache.openjpa.kernel.QueryImpl.getOperation(QueryImpl.java :1417) at org.apache.openjpa.kernel.DelegatingQuery.getOperation( DelegatingQuery.java:120) at >> org.apache.openjpa.persistence.QueryImpl.execute(QueryImpl.java :202) at org.apache.openjpa.persistence.QueryImpl.getResultList( QueryImpl.java:251) at org.apache.ode.store.jpa.ConfStoreConnectionJpa.getDeploymentUnits( ConfStoreConnectionJpa.java:67) at org.apache.ode.store.ProcessStoreImpl$5.call( ProcessStoreImpl.java:411) at org.apache.ode.store.ProcessStoreImpl$Callable.call( ProcessStoreImpl.java:595) at >> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java :269)

      at java.util.concurrent.FutureTask.run()
    2. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:123)
      1 frame