org.hibernate.MappingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • {code} 2017-03-10 14:24:04,246 [qtp356318598-406] ERROR org.obiba.opal.web.provider.ErrorDtoExceptionMapper - System error Internal Server Error: org.hibernate.HibernateException org.hibernate.HibernateException: org.hibernate.HibernateException: Unable to locate current JTA transaction at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_111] at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_111] at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593) ~[na:1.8.0_111] at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) ~[na:1.8.0_111] at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735) ~[na:1.8.0_111] at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:160) ~[na:1.8.0_111] at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateParallel(ForEachOps.java:174) ~[na:1.8.0_111] at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233) ~[na:1.8.0_111] at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418) ~[na:1.8.0_111] at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:583) ~[na:1.8.0_111] at org.obiba.magma.views.JoinTable.getVariableEntities(JoinTable.java:190) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.magma.support.AbstractValueTableWrapper.getVariableEntities(AbstractValueTableWrapper.java:58) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.magma.views.View.loadVariableEntities(View.java:426) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.magma.views.View.getVariableEntities(View.java:390) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.magma.views.View.hasValueSet(View.java:252) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.magma.support.AbstractValueTableWrapper.hasValueSet(AbstractValueTableWrapper.java:118) ~[magma-api-1.14.2.jar:1.14.2] at org.obiba.opal.web.magma.VariableEntityTablesResourceImpl$EntityTablesMagmaFinder.executeQuery(VariableEntityTablesResourceImpl.java:218) ~[opal-core-ws-2.7.5.jar:na] at org.obiba.opal.web.magma.VariableEntityTablesResourceImpl$EntityTablesMagmaFinder.executeQuery(VariableEntityTablesResourceImpl.java:210) ~[opal-core-ws-2.7.5.jar:na] at org.obiba.opal.search.finder.AbstractMagmaFinder.find(AbstractMagmaFinder.java:22) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.search.finder.AbstractFinder.next(AbstractFinder.java:24) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.search.finder.AbstractElasticSearchFinder.find(AbstractElasticSearchFinder.java:33) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.search.finder.AbstractFinder.next(AbstractFinder.java:24) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.search.finder.AccessFilterTablesFinder.find(AccessFilterTablesFinder.java:31) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.search.finder.AbstractFinder.next(AbstractFinder.java:24) ~[opal-search-2.7.5.jar:na] at org.obiba.opal.web.magma.VariableEntityTablesResourceImpl$VariableEntityTablesFinder.find(VariableEntityTablesResourceImpl.java:240) ~[opal-core-ws-2.7.5.jar:na] at org.obiba.opal.web.magma.VariableEntityTablesResourceImpl$VariableEntityTablesFinder.find(VariableEntityTablesResourceImpl.java:231) ~[opal-core-ws-2.7.5.jar:na] at org.obiba.opal.web.magma.VariableEntityTablesResourceImpl.getTables(VariableEntityTablesResourceImpl.java:88) ~[opal-core-ws-2.7.5.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_111] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_111] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_111] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_111] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302) ~[spring-aop-4.2.1.RELEASE.jar:4.2.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190) ~[spring-aop-4.2.1.RELEASE.jar:4.2.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) ~[spring-aop-4.2.1.RELEASE.jar:4.2.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) ~[spring-tx-4.2.1.RELEASE.jar:4.2.1.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:281) ~[spring-tx-4.2.1.RELEASE.jar:4.2.1.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) ~[spring-tx-4.2.1.RELEASE.jar:4.2.1.RELEASE] {code}
    via by Dwain Elson,
    • org.hibernate.MappingException: Could not get constru ctor for org.hibernate.persister.entity.SingleTableEntityPersister at org.hibernate.persister.internal.PersisterFactoryImpl.create(Persiste rFactoryImpl.java:185) at org.hibernate.persister.internal.PersisterFactoryImpl.createEntityPer sister(PersisterFactoryImpl.java:135) at org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.j ava:367) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav a:1740) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.jav a:1778) at manhib4.main(manhib4.java:10) Caused by: org.hibernate.HibernateException: Unable to instantiate default tupli zer [org.hibernate.tuple.entity.PojoEntityTuplizer] at org.hibernate.tuple.entity.EntityTuplizerFactory.constructTuplizer(En tityTuplizerFactory.java:138) at org.hibernate.tuple.entity.EntityTuplizerFactory.constructDefaultTupl izer(EntityTuplizerFactory.java:188) at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.jav a:341) at org.hibernate.persister.entity.AbstractEntityPersister.<init>(Abstrac tEntityPersister.java:502) at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(Sing leTableEntityPersister.java:144) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    No Bugmate found.