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)

Atlassian JIRA | Sam Haldane | 5 years ago
  1. 0

    There is nothing in the logs to help debug this, but a similar error occurs in the activity stream provider: {noformat} 2012-02-03 01:26:14.325516500 2012-02-02 09:26:14,322 StreamsCompletionService::thread-719 ERROR 565x9269x1 - 127.0.0.1 /rest/activity-stream/1.0/config [atlassian.streams.internal.LocalActivityProvider] Error building feed 2012-02-03 01:26:14.325519500 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) 2012-02-03 01:26:14.325598500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325598500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2012-02-03 01:26:14.325600500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325602500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) 2012-02-03 01:26:14.325603500 at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) 2012-02-03 01:26:14.325604500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325605500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325606500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325608500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325609500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325610500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325614500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325616500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325617500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325619500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325621500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325622500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325624500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325625500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325632500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325633500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325635500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325637500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325638500 at $Proxy549.execute(Unknown Source) 2012-02-03 01:26:14.325639500 at com.atlassian.activeobjects.internal.SalTransactionManager.inTransaction(SalTransactionManager.java:23) 2012-02-03 01:26:14.325640500 at com.atlassian.activeobjects.internal.AbstractLoggingTransactionManager.doInTransaction(AbstractLoggingTransactionManager.java:19) 2012-02-03 01:26:14.325643500 at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.executeInTransaction(EntityManagedActiveObjects.java:205) 2012-02-03 01:26:14.325644500 at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.executeInTransaction(DelegatingActiveObjects.java:111) 2012-02-03 01:26:14.325645500 at sun.reflect.GeneratedMethodAccessor412.invoke(Unknown Source) 2012-02-03 01:26:14.325650500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325651500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325651500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325652500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325655500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325656500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325657500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325660500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325661500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325662500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325666500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325668500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325669500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325671500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325672500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325674500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325676500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325677500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325678500 at $Proxy1216.executeInTransaction(Unknown Source) 2012-02-03 01:26:14.325679500 at com.atlassian.jira.plugins.bitbucket.api.impl.DefaultRepositoryPersister.addChangeset(DefaultRepositoryPersister.java:181) 2012-02-03 01:26:14.325683500 at com.atlassian.jira.plugins.bitbucket.spi.DvcsRepositoryManager.reloadChangeset(DvcsRepositoryManager.java:242) 2012-02-03 01:26:14.325684500 at com.atlassian.jira.plugins.bitbucket.spi.ToChangesetTransformer.apply(ToChangesetTransformer.java:32) 2012-02-03 01:26:14.325685500 at com.atlassian.jira.plugins.bitbucket.spi.ToChangesetTransformer.apply(ToChangesetTransformer.java:17) 2012-02-03 01:26:14.325690500 at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:431) 2012-02-03 01:26:14.325691500 at java.util.AbstractList$Itr.next(AbstractList.java:345) 2012-02-03 01:26:14.325691500 at java.util.AbstractCollection.addAll(AbstractCollection.java:305) 2012-02-03 01:26:14.325692500 at java.util.HashSet.<init>(HashSet.java:100) 2012-02-03 01:26:14.325693500 at com.google.common.collect.Sets.newHashSet(Sets.java:201) 2012-02-03 01:26:14.325695500 at com.atlassian.jira.plugins.bitbucket.spi.DvcsRepositoryManager.getLatestChangesets(DvcsRepositoryManager.java:268) 2012-02-03 01:26:14.325696500 at com.atlassian.jira.plugins.bitbucket.GlobalRepositoryManager.getLatestChangesets(GlobalRepositoryManager.java:187) 2012-02-03 01:26:14.325697500 at com.atlassian.jira.plugins.bitbucket.streams.BitbucketStreamsActivityProvider.getActivityFeed(BitbucketStreamsActivityProvider.java:165) 2012-02-03 01:26:14.325702500 at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:163) 2012-02-03 01:26:14.325703500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) 2012-02-03 01:26:14.325704500 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) 2012-02-03 01:26:14.325707500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325708500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325708500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325709500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) 2012-02-03 01:26:14.325712500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) 2012-02-03 01:26:14.325714500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325717500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325718500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325719500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325720500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2012-02-03 01:26:14.325723500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325724500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325724500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325725500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325728500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2012-02-03 01:26:14.325729500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325730500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) 2012-02-03 01:26:14.325731500 at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) 2012-02-03 01:26:14.325733500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325737500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325737500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325738500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325740500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325745500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325746500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325747500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325750500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325751500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325755500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325756500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325757500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325760500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325761500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325762500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325765500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325766500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325767500 at $Proxy781.execute(Unknown Source) 2012-02-03 01:26:14.325768500 at com.atlassian.streams.internal.LocalActivityProvider$1.get(LocalActivityProvider.java:98) 2012-02-03 01:26:14.325771500 at com.atlassian.streams.internal.LocalActivityProvider$1.get(LocalActivityProvider.java:94) 2012-02-03 01:26:14.325772500 at com.atlassian.streams.jira.JiraSessionManager.withSession(JiraSessionManager.java:19) 2012-02-03 01:26:14.325773500 at com.atlassian.streams.internal.SwitchingSessionManager.withSession(SwitchingSessionManager.java:22) 2012-02-03 01:26:14.325774500 at com.atlassian.streams.internal.LocalActivityProvider.getActivityFeed(LocalActivityProvider.java:93) 2012-02-03 01:26:14.325777500 at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:100) 2012-02-03 01:26:14.325778500 at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:86) 2012-02-03 01:26:14.325779500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2012-02-03 01:26:14.325779500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2012-02-03 01:26:14.325781500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 2012-02-03 01:26:14.325782500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2012-02-03 01:26:14.325783500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2012-02-03 01:26:14.325784500 at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96) 2012-02-03 01:26:14.325788500 at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) 2012-02-03 01:26:14.325789500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-03 01:26:14.325790500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-03 01:26:14.325791500 at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Sam Haldane
    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)
  2. 0

    There is nothing in the logs to help debug this, but a similar error occurs in the activity stream provider: {noformat} 2012-02-03 01:26:14.325516500 2012-02-02 09:26:14,322 StreamsCompletionService::thread-719 ERROR 565x9269x1 - 127.0.0.1 /rest/activity-stream/1.0/config [atlassian.streams.internal.LocalActivityProvider] Error building feed 2012-02-03 01:26:14.325519500 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) 2012-02-03 01:26:14.325598500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325598500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2012-02-03 01:26:14.325600500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325602500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) 2012-02-03 01:26:14.325603500 at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) 2012-02-03 01:26:14.325604500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325605500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325606500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325608500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325609500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325610500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325614500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325616500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325617500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325619500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325621500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325622500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325624500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325625500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325632500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325633500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325635500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325637500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325638500 at $Proxy549.execute(Unknown Source) 2012-02-03 01:26:14.325639500 at com.atlassian.activeobjects.internal.SalTransactionManager.inTransaction(SalTransactionManager.java:23) 2012-02-03 01:26:14.325640500 at com.atlassian.activeobjects.internal.AbstractLoggingTransactionManager.doInTransaction(AbstractLoggingTransactionManager.java:19) 2012-02-03 01:26:14.325643500 at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.executeInTransaction(EntityManagedActiveObjects.java:205) 2012-02-03 01:26:14.325644500 at com.atlassian.activeobjects.osgi.DelegatingActiveObjects.executeInTransaction(DelegatingActiveObjects.java:111) 2012-02-03 01:26:14.325645500 at sun.reflect.GeneratedMethodAccessor412.invoke(Unknown Source) 2012-02-03 01:26:14.325650500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325651500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325651500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325652500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325655500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325656500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325657500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325660500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325661500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325662500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325666500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325668500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325669500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325671500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325672500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325674500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325676500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325677500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325678500 at $Proxy1216.executeInTransaction(Unknown Source) 2012-02-03 01:26:14.325679500 at com.atlassian.jira.plugins.bitbucket.api.impl.DefaultRepositoryPersister.addChangeset(DefaultRepositoryPersister.java:181) 2012-02-03 01:26:14.325683500 at com.atlassian.jira.plugins.bitbucket.spi.DvcsRepositoryManager.reloadChangeset(DvcsRepositoryManager.java:242) 2012-02-03 01:26:14.325684500 at com.atlassian.jira.plugins.bitbucket.spi.ToChangesetTransformer.apply(ToChangesetTransformer.java:32) 2012-02-03 01:26:14.325685500 at com.atlassian.jira.plugins.bitbucket.spi.ToChangesetTransformer.apply(ToChangesetTransformer.java:17) 2012-02-03 01:26:14.325690500 at com.google.common.collect.Lists$TransformingRandomAccessList.get(Lists.java:431) 2012-02-03 01:26:14.325691500 at java.util.AbstractList$Itr.next(AbstractList.java:345) 2012-02-03 01:26:14.325691500 at java.util.AbstractCollection.addAll(AbstractCollection.java:305) 2012-02-03 01:26:14.325692500 at java.util.HashSet.<init>(HashSet.java:100) 2012-02-03 01:26:14.325693500 at com.google.common.collect.Sets.newHashSet(Sets.java:201) 2012-02-03 01:26:14.325695500 at com.atlassian.jira.plugins.bitbucket.spi.DvcsRepositoryManager.getLatestChangesets(DvcsRepositoryManager.java:268) 2012-02-03 01:26:14.325696500 at com.atlassian.jira.plugins.bitbucket.GlobalRepositoryManager.getLatestChangesets(GlobalRepositoryManager.java:187) 2012-02-03 01:26:14.325697500 at com.atlassian.jira.plugins.bitbucket.streams.BitbucketStreamsActivityProvider.getActivityFeed(BitbucketStreamsActivityProvider.java:165) 2012-02-03 01:26:14.325702500 at com.atlassian.streams.internal.LocalActivityProvider$FeedFetcher.doInTransaction(LocalActivityProvider.java:163) 2012-02-03 01:26:14.325703500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) 2012-02-03 01:26:14.325704500 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) 2012-02-03 01:26:14.325707500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325708500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325708500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325709500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$AbstractMultiTenantAwareInvocationHandler.invokeInternal(MultiTenantComponentFactoryImpl.java:181) 2012-02-03 01:26:14.325712500 at com.atlassian.multitenant.impl.MultiTenantComponentFactoryImpl$MultiTenantAwareInvocationHandler.invoke(MultiTenantComponentFactoryImpl.java:211) 2012-02-03 01:26:14.325714500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325717500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325718500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325719500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325720500 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(DefaultComponentRegistrar.java:129) 2012-02-03 01:26:14.325723500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325724500 at sun.reflect.GeneratedMethodAccessor123.invoke(Unknown Source) 2012-02-03 01:26:14.325724500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325725500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325728500 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) 2012-02-03 01:26:14.325729500 at $Proxy291.doInTransaction(Unknown Source) 2012-02-03 01:26:14.325730500 at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) 2012-02-03 01:26:14.325731500 at sun.reflect.GeneratedMethodAccessor187.invoke(Unknown Source) 2012-02-03 01:26:14.325733500 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2012-02-03 01:26:14.325737500 at java.lang.reflect.Method.invoke(Method.java:597) 2012-02-03 01:26:14.325737500 at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) 2012-02-03 01:26:14.325738500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58) 2012-02-03 01:26:14.325740500 at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62) 2012-02-03 01:26:14.325745500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325746500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325747500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325750500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325751500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56) 2012-02-03 01:26:14.325755500 at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39) 2012-02-03 01:26:14.325756500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325757500 at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59) 2012-02-03 01:26:14.325760500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325761500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131) 2012-02-03 01:26:14.325762500 at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119) 2012-02-03 01:26:14.325765500 at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) 2012-02-03 01:26:14.325766500 at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) 2012-02-03 01:26:14.325767500 at $Proxy781.execute(Unknown Source) 2012-02-03 01:26:14.325768500 at com.atlassian.streams.internal.LocalActivityProvider$1.get(LocalActivityProvider.java:98) 2012-02-03 01:26:14.325771500 at com.atlassian.streams.internal.LocalActivityProvider$1.get(LocalActivityProvider.java:94) 2012-02-03 01:26:14.325772500 at com.atlassian.streams.jira.JiraSessionManager.withSession(JiraSessionManager.java:19) 2012-02-03 01:26:14.325773500 at com.atlassian.streams.internal.SwitchingSessionManager.withSession(SwitchingSessionManager.java:22) 2012-02-03 01:26:14.325774500 at com.atlassian.streams.internal.LocalActivityProvider.getActivityFeed(LocalActivityProvider.java:93) 2012-02-03 01:26:14.325777500 at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:100) 2012-02-03 01:26:14.325778500 at com.atlassian.streams.internal.FeedBuilder$ToFeedCallable$1.call(FeedBuilder.java:86) 2012-02-03 01:26:14.325779500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2012-02-03 01:26:14.325779500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2012-02-03 01:26:14.325781500 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) 2012-02-03 01:26:14.325782500 at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) 2012-02-03 01:26:14.325783500 at java.util.concurrent.FutureTask.run(FutureTask.java:138) 2012-02-03 01:26:14.325784500 at com.atlassian.util.concurrent.LimitedExecutor$Runner.run(LimitedExecutor.java:96) 2012-02-03 01:26:14.325788500 at com.atlassian.sal.core.executor.ThreadLocalDelegateRunnable.run(ThreadLocalDelegateRunnable.java:34) 2012-02-03 01:26:14.325789500 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) 2012-02-03 01:26:14.325790500 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) 2012-02-03 01:26:14.325791500 at java.lang.Thread.run(Thread.java:662) {noformat}

    Atlassian JIRA | 5 years ago | Sam Haldane
    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)
  3. 0

    Somehow there are duplicated entries in the GITHUB_EVENT_ID table. {noformat} @4000000053a09940285a391c 2014-06-17 12:38:30,676 TP-Processor7 INFO anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [plugins.dvcs.rest.RootResource] Pull Request Postcommit hook started synchronization for repository [25]. @4000000053a099420c95d31c 2014-06-17 12:38:32,207 TP-Processor7 ERROR anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [dvcs.sync.impl.DefaultSynchronizer] Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95ded4 java.lang.RuntimeException: Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95e2bc at com.atlassian.jira.plugins.dvcs.dao.impl.GitHubEventDAOImpl.getByGitHubId(GitHubEventDAOImpl.java:97) @4000000053a099420c95e6a4 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:109) @4000000053a099420c963c94 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:97) @4000000053a099420c96407c at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @4000000053a099420c964464 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) @4000000053a099420c964c34 at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c96501c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c965fbc at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c9663a4 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(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) @4000000053a099420c967344 at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c967344 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000053a099420c96772c at $Proxy287.doInTransaction(Unknown Source) @4000000053a099420c967efc at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @4000000053a099420c9682e4 at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) @4000000053a099420c9682e4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c9686cc at java.lang.reflect.Method.invoke(Method.java:597) {noformat} *Workaround*: do a [full synchronization|https://confluence.atlassian.com/display/BITBUCKET/Synchronize+an+account] on the repository.

    Atlassian JIRA | 2 years ago | Zehua Liu [Atlassian]
    java.lang.RuntimeException: Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95e2bc at com.atlassian.jira.plugins.dvcs.dao.impl.GitHubEventDAOImpl.getByGitHubId(GitHubEventDAOImpl.java:97) @4000000053a099420c95e6a4 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:109) @4000000053a099420c963c94 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:97) @4000000053a099420c96407c at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @4000000053a099420c964464 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) @4000000053a099420c964c34 at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c96501c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c965fbc at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c9663a4 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(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)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Somehow there are duplicated entries in the GITHUB_EVENT_ID table. {noformat} @4000000053a09940285a391c 2014-06-17 12:38:30,676 TP-Processor7 INFO anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [plugins.dvcs.rest.RootResource] Pull Request Postcommit hook started synchronization for repository [25]. @4000000053a099420c95d31c 2014-06-17 12:38:32,207 TP-Processor7 ERROR anonymous 758x100659x1 - 192.30.252.33,165.254.226.65 /rest/bitbucket/1.0/repository/25/sync [dvcs.sync.impl.DefaultSynchronizer] Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95ded4 java.lang.RuntimeException: Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95e2bc at com.atlassian.jira.plugins.dvcs.dao.impl.GitHubEventDAOImpl.getByGitHubId(GitHubEventDAOImpl.java:97) @4000000053a099420c95e6a4 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:109) @4000000053a099420c963c94 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:97) @4000000053a099420c96407c at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @4000000053a099420c964464 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) @4000000053a099420c964c34 at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c96501c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c965fbc at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c9663a4 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(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) @4000000053a099420c967344 at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c967344 at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154) @4000000053a099420c96772c at $Proxy287.doInTransaction(Unknown Source) @4000000053a099420c967efc at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:21) @4000000053a099420c9682e4 at sun.reflect.GeneratedMethodAccessor215.invoke(Unknown Source) @4000000053a099420c9682e4 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c9686cc at java.lang.reflect.Method.invoke(Method.java:597) {noformat} *Workaround*: do a [full synchronization|https://confluence.atlassian.com/display/BITBUCKET/Synchronize+an+account] on the repository.

    Atlassian JIRA | 2 years ago | Zehua Liu [Atlassian]
    java.lang.RuntimeException: Multiple GitHubEvents exists with the same id: 2132303445 @4000000053a099420c95e2bc at com.atlassian.jira.plugins.dvcs.dao.impl.GitHubEventDAOImpl.getByGitHubId(GitHubEventDAOImpl.java:97) @4000000053a099420c95e6a4 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:109) @4000000053a099420c963c94 at com.atlassian.jira.plugins.dvcs.service.GitHubEventServiceImpl$1.doInTransaction(GitHubEventServiceImpl.java:97) @4000000053a099420c96407c at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:25) @4000000053a099420c964464 at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34) @4000000053a099420c964c34 at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) @4000000053a099420c96501c at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) @4000000053a099420c965fbc at java.lang.reflect.Method.invoke(Method.java:597) @4000000053a099420c9663a4 at com.atlassian.plugin.osgi.hostcomponents.impl.DefaultComponentRegistrar$ContextClassLoaderSettingInvocationHandler.invoke(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)
  6. 0

    First JBossSeam project

    java-forums.org | 1 year ago
    java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.expressions at org.jboss.seam.init.Initialization.addComponent(In itialization.java:976) at org.jboss.seam.init.Initialization.installComponen ts(Initialization.java:903) at org.jboss.seam.init.Initialization.init(Initializa tion.java:548) at org.jboss.seam.servlet.SeamListener.contextInitial ized(SeamListener.java:34) at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3763) at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4211) at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)

    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. 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()
    2. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Method.java:597)
      1 frame
    3. com.atlassian.plugin
      HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke
      1. com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:154)
      1 frame