java.lang.RuntimeException: Entities can only be used with a single EntityManager instance 2012-02-03 01:26:14.325520500 at net.java.ao.EntityManager.verify(EntityManager.java:952) 2012-02-03 01:26:14.325521500 at net.java.ao.EntityManager.delete(EntityManager.java:494) 2012-02-03 01:26:14.325531500 at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.delete(EntityManagedActiveObjects.java:98) 2012-02-03 01:26:14.325532500 at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.delete(DelegatingActiveObjects.java:66) 2012-02-03 01:26:14.325533500 at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source) 2012-02-03 01:26:14.325534500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325536500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325537500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325538500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325543500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325544500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325545500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325547500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325549500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325550500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325553500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325554500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325555500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325559500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325560500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325561500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325564500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325565500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325566500 at $Proxy1216.delete(Unknown Source) 2012-02-03 01:26:14.325566500 at com.atlassian.jira.plugins.bitbucket.api.impl.DefaultRepositoryPersister$6.doInTransaction(DefaultRepositoryPersister.java:191) 2012-02-03 01:26:14.325569500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) 2012-02-03 01:26:14.325571500 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) 2012-02-03 01:26:14.325572500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325580500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325581500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325582500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) 2012-02-03 01:26:14.325583500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) 2012-02-03 01:26:14.325586500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325587500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325588500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325589500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325591500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2012-02-03 01:26:14.325592500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325593500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325597500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

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 Atlassian JIRA by Sam Haldane, 1 year ago
Entities can only be used with a single EntityManager instance 2012-02-03 01:26:14.325520500 at net.java.ao.EntityManager.verify(EntityManager.java:952) 2012-02-03 01:26:14.325521500 at net.java.ao.EntityManager.delete(EntityManager.java:494) 2012
via Atlassian JIRA by Sam Haldane, 1 year ago
Entities can only be used with a single EntityManager instance 2012-02-03 01:26:14.325520500 at net.java.ao.EntityManager.verify(EntityManager.java:952) 2012-02-03 01:26:14.325521500 at net.java.ao.EntityManager.delete(EntityManager.java:494) 2012
via Atlassian JIRA by Zehua Liu [Atlassian], 1 year ago
(DefaultComponentRegistrar.java:129) @4000000053a099420c96678c at $Proxy287.doInTransaction(Unknown Source) @4000000053a099420c96678c at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c966f5c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
via Atlassian JIRA by Zehua Liu [Atlassian], 1 year ago
(DefaultComponentRegistrar.java:129) @4000000053a099420c96678c at $Proxy287.doInTransaction(Unknown Source) @4000000053a099420c96678c at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c966f5c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
via Stack Overflow by ultra_buckner
, 2 years ago
Unable to start activity ComponentInfo{com.ultra.esc/com.ultra.esc.HomeActivity}: java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.ListView 03-25 12:14:06.271: E/AndroidRuntime(1129): at
via baba.io by Unknown author, 2 years ago
Unable to start activity ComponentInfo{com.ultra.esc/com.ultra.esc.HomeActivity}: java.lang.ClassCastException: android.widget.TextView cannot be cast to android.widget.ListView 03-25 12:14:06.271: E/AndroidRuntime(1129): at
java.lang.RuntimeException: Entities can only be used with a single EntityManager instance 2012-02-03 01:26:14.325520500 at net.java.ao.EntityManager.verify(EntityManager.java:952) 2012-02-03 01:26:14.325521500 at net.java.ao.EntityManager.delete(EntityManager.java:494) 2012-02-03 01:26:14.325531500 at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.delete(EntityManagedActiveObjects.java:98) 2012-02-03 01:26:14.325532500 at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.delete(DelegatingActiveObjects.java:66) 2012-02-03 01:26:14.325533500 at sun.reflect.GeneratedMethodAccessor481.invoke(Unknown Source) 2012-02-03 01:26:14.325534500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325536500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325537500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325538500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325543500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325544500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325545500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325547500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325549500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325550500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325553500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325554500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325555500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325559500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325560500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325561500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325564500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325565500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325566500 at $Proxy1216.delete(Unknown Source) 2012-02-03 01:26:14.325566500 at com.atlassian.jira.plugins.bitbucket.api.impl.DefaultRepositoryPersister$6.doInTransaction(DefaultRepositoryPersister.java:191) 2012-02-03 01:26:14.325569500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) 2012-02-03 01:26:14.325571500 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) 2012-02-03 01:26:14.325572500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325580500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325581500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325582500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) 2012-02-03 01:26:14.325583500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) 2012-02-03 01:26:14.325586500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325587500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325588500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325589500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325591500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2012-02-03 01:26:14.325592500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325593500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325597500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)

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.