java.lang.AssertionError: Lock use count is zero

Terracotta | fuzy | 8 years ago
  1. 0

    TerracottaSessionManager crashes server with Jetty continuations

    Terracotta | 8 years ago | fuzy
    java.lang.AssertionError: Lock use count is zero
  2. 0

    Oracle weblogic 10.3.6.0.13 patch query (white pages issue)

    Oracle Community | 2 months ago | c6bc0aea-8fe4-44d6-bfab-673958fc4c06
    java.lang.AssertionError: Reference Count value set below 0, value is-1
  3. 0

    [TEST-FAILURE] map.BackupTest failures

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: Owned entry count is wrong! expected:<90000> but was:<69556>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    When application load in Chrome Below exception arises : Sometimes Images/ CSS /JS not loading from server

    Stack Overflow | 9 months ago | sachin k
    java.lang.AssertionError: Reference Count value set below 0, value is-1
  6. 0

    Regression org.sonatype.nexus.templates.repository.maven.MavenRepositoryTemplateTest.testAvailableRepositoryTemplateCount (from MavenRepositoryTemplateTest) {code} Error Message Template count is wrong! Expected: <12> but: was <13> Stacktrace java.lang.AssertionError: Template count is wrong! Expected: <12> but: was <13> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) at org.sonatype.nexus.test.PlexusTestCaseSupport.assertEquals(PlexusTestCaseSupport.java:488) at org.sonatype.nexus.templates.repository.maven.MavenRepositoryTemplateTest.testAvailableRepositoryTemplateCount(MavenRepositoryTemplateTest.java:52) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) at org.junit.runners.ParentRunner.run(ParentRunner.java:236) at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) Standard Output 08:18:28.659 [main] WARN o.s.s.c.s.FileSecurityConfigurationSource - No configuration file in place, copying the default one and continuing with it. 08:18:28.660 [main] INFO o.s.s.c.s.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-app/target/plexus-home--6479602382834854227/nexus-work/conf/security-configuration.xml 08:18:28.670 [main] INFO org.sonatype.nexus.DefaultNexus - ------------------------------------------------- Initializing Nexus (OSS), Version 2.0-SNAPSHOT ------------------------------------------------- 08:18:28.670 [main] INFO org.sonatype.nexus.DefaultNexus - Activating locally installed plugins... 08:18:28.679 [main] WARN o.s.n.p.a.u.DefaultAttributeUpgrader - Problem registering MBean for: org.sonatype.nexus.proxy.attributes.upgrade.DefaultAttributeUpgrader javax.management.InstanceAlreadyExistsException: org.sonatype.nexus.proxy.attributes.upgrade:name=AttributeUpgrader at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453) ~[na:1.6.0_25] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484) ~[na:1.6.0_25] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963) ~[na:1.6.0_25] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917) ~[na:1.6.0_25] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312) ~[na:1.6.0_25] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482) ~[na:1.6.0_25] at org.sonatype.nexus.proxy.attributes.upgrade.DefaultAttributeUpgrader.<init>(DefaultAttributeUpgrader.java:84) ~[nexus-proxy-2.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedConstructorAccessor141.newInstance(Unknown Source) [na:1.6.0_25] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [na:1.6.0_25] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [na:1.6.0_25] at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:86) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:108) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1025) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45) [sisu-inject-bean-2.3.0.jar:na] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) [sisu-inject-bean-2.3.0.jar:na] at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:217) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:45) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:53) [sisu-inject-bean-2.3.0.jar:na] at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:128) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.provision(ConstructorInjector.java:117) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.access$000(ConstructorInjector.java:32) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector$1.call(ConstructorInjector.java:91) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:115) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:259) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1025) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.bean.reflect.AbstractDeferredClass.get(AbstractDeferredClass.java:45) [sisu-inject-bean-2.3.0.jar:na] at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:84) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:52) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:100) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:138) [sisu-inject-plexus-2.3.0.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) [sisu-inject-bean-2.3.0.jar:na] at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) [sisu-inject-plexus-2.3.0.jar:na] at java.util.AbstractMap$2$1.next(AbstractMap.java:360) [na:1.6.0_25] at java.util.AbstractCollection.addAll(AbstractCollection.java:305) [na:1.6.0_25] at java.util.HashSet.<init>(HashSet.java:100) [na:1.6.0_25] at org.sonatype.nexus.events.DefaultEventInspectorHost.getEventInspectors(DefaultEventInspectorHost.java:114) [classes/:na] at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:101) [classes/:na] at org.sonatype.plexus.appevents.AbstractSimpleEventMulticaster.notifyEventListeners(AbstractSimpleEventMulticaster.java:48) [simple-event-multicaster-1.0.1.jar:na] at org.sonatype.nexus.DefaultNexus.initialize(DefaultNexus.java:406) [classes/:na] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.initialize(PlexusLifecycleManager.java:338) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.manageLifecycle(PlexusLifecycleManager.java:296) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.guice.plexus.lifecycles.PlexusLifecycleManager.onProvision(PlexusLifecycleManager.java:148) [sisu-inject-plexus-2.3.0.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:108) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:55) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:45) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1043) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.Scopes$1$1.get(Scopes.java:59) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:41) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3$1.call(InjectorImpl.java:990) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1036) [sisu-guice-3.1.1-no_aop.jar:na] at com.google.inject.internal.InjectorImpl$3.get(InjectorImpl.java:986) [sisu-guice-3.1.1-no_aop.jar:na] at org.sonatype.guice.bean.locators.LazyBeanEntry.getValue(LazyBeanEntry.java:83) [sisu-inject-bean-2.3.0.jar:na] at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:49) [sisu-inject-plexus-2.3.0.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:253) [sisu-inject-plexus-2.3.0.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:245) [sisu-inject-plexus-2.3.0.jar:na] at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:239) [sisu-inject-plexus-2.3.0.jar:na] at org.sonatype.nexus.test.PlexusTestCaseSupport.lookup(PlexusTestCaseSupport.java:254) [nexus-test-common-2.0-SNAPSHOT.jar:na] at org.sonatype.nexus.templates.repository.maven.MavenRepositoryTemplateTest.setUp(MavenRepositoryTemplateTest.java:38) [test-classes/:na] at org.sonatype.nexus.test.PlexusTestCaseSupport.setUpJunit(PlexusTestCaseSupport.java:385) [nexus-test-common-2.0-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor14.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_25] at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [junit-dep-4.8.2.jar:na] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [junit-dep-4.8.2.jar:na] at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [junit-dep-4.8.2.jar:na] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27) [junit-dep-4.8.2.jar:na] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31) [junit-dep-4.8.2.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79) [junit-dep-4.8.2.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71) [junit-dep-4.8.2.jar:na] at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184) [junit-dep-4.8.2.jar:na] at org.junit.runners.ParentRunner.run(ParentRunner.java:236) [junit-dep-4.8.2.jar:na] at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:123) [surefire-junit4-2.10.jar:2.10] at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:104) [surefire-junit4-2.10.jar:2.10] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) ~[na:1.6.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) ~[na:1.6.0_25] at java.lang.reflect.Method.invoke(Method.java:597) ~[na:1.6.0_25] at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:164) [surefire-api-2.10.jar:2.10] at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:110) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:175) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcessWhenForked(SurefireStarter.java:107) [surefire-booter-2.10.jar:2.10] at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:68) [surefire-booter-2.10.jar:2.10] [INFO] Creating and configuring EHCache manager with classpath:/ehcache.xml, using disk store 'none' 08:18:28.684 [main] INFO o.s.n.c.a.DefaultNexusConfiguration - Loading Nexus Configuration... 08:18:28.685 [main] INFO o.s.n.c.s.StaticConfigurationSource - Configuration loaded succesfully. 08:18:28.685 [main] WARN o.s.n.c.s.FileConfigurationSource - No configuration file in place, copying the default one and continuing with it. 08:18:28.691 [main] INFO o.s.n.c.s.FileConfigurationSource - Loading Nexus configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-app/target/plexus-home--6479602382834854227/nexus-work/conf/nexus.xml 08:18:28.692 [main] INFO o.s.n.c.s.FileConfigurationSource - Configuration loaded succesfully. 08:18:28.697 [main] INFO o.s.n.c.s.FileConfigurationSource - Nexus configuration validated succesfully. 08:18:28.706 [main] INFO o.s.n.c.a.DefaultNexusConfiguration - Applying Nexus Configuration... 08:18:28.707 [main] INFO o.s.s.c.s.FileSecurityConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-app/target/plexus-home--6479602382834854227/nexus-work/conf/security-configuration.xml 08:18:28.707 [main] INFO o.a.s.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.84' does not yet exist. Creating now. 08:18:28.707 [main] INFO o.a.s.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthenticatingRealm.authorizationCache.84] 08:18:28.707 [main] INFO o.a.s.cache.ehcache.EhCacheManager - Cache with name 'org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.85' does not yet exist. Creating now. 08:18:28.707 [main] INFO o.a.s.cache.ehcache.EhCacheManager - Added EhCache named [org.sonatype.security.realms.XmlAuthorizingRealm.authorizationCache.85] 08:18:28.707 [main] INFO o.s.n.p.r.DefaultRepositoryTypeRegistry - Registered default repository types. 08:18:28.717 [main] INFO o.s.n.p.a.DefaultLSAttributeStorage - Default LS AttributeStorage in place. 08:18:28.724 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='central' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 08:18:28.728 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='apache-snapshots' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 08:18:28.731 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='codehaus-snapshots' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenProxyRepository') 08:18:28.734 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='releases' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 08:18:28.737 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='snapshots' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 08:18:28.740 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='thirdparty' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.maven.MavenHostedRepository') 08:18:28.744 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='central-m1' (contentClass='maven1', mainFacet='org.sonatype.nexus.proxy.maven.MavenShadowRepository') 08:18:28.764 [main] INFO o.s.n.p.r.DefaultRepositoryRegistry - Added repository ID='public' (contentClass='maven2', mainFacet='org.sonatype.nexus.proxy.repository.GroupRepository') 08:18:28.765 [main] INFO o.s.scheduling.DefaultScheduler - Initializing Scheduler... 08:18:28.765 [main] INFO o.s.s.DefaultTaskConfigManager - 0 task(s) to load. 08:18:28.765 [main] INFO org.sonatype.nexus.DefaultNexus - This is 1st start of new Nexus instance. 08:18:28.765 [main] INFO org.sonatype.nexus.DefaultNexus - Nexus Work Directory : /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-app/target/plexus-home--6479602382834854227/nexus-work 08:18:28.765 [main] INFO org.sonatype.nexus.DefaultNexus - Started Nexus (version 2.0-SNAPSHOT OSS) 08:18:28.766 [main] INFO o.s.n.p.t.DefaultTargetRegistryEventInspector - Adding default target for nexus4807 content class 08:18:28.766 [main] INFO o.s.n.c.a.DefaultNexusConfiguration - Applying Nexus Configuration... 08:18:28.788 [main] WARN o.s.s.m.s.FileModelConfigurationSource - No configuration file in place, copying the default one and continuing with it. 08:18:28.788 [main] INFO o.s.s.m.s.FileModelConfigurationSource - Loading Security configuration from /opt/grid/slave/workspace/nexus-oss/374c4ad3/nexus/nexus-app/target/plexus-home--6479602382834854227/nexus-work/conf/security.xml 08:18:28.839 [main] INFO o.s.scheduling.DefaultScheduler - Shutting down Scheduler... [INFO] Shutting down EHCache manager. 08:18:28.842 [main] INFO org.sonatype.nexus.DefaultNexus - Stopped Nexus (version 2.0-SNAPSHOT OSS) {code}

    Sonatype JIRA | 5 years ago | Benjamin Hanzelmann
    java.lang.AssertionError: Template count is wrong! Expected: <12> but: was <13>

    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.AssertionError

      Lock use count is zero

      at com.tc.object.lockmanager.impl.ClientLock.decUseCount()
    2. com.tc.object
      ManagerUtil.commitLock
      1. com.tc.object.lockmanager.impl.ClientLock.decUseCount(ClientLock.java:812)
      2. com.tc.object.lockmanager.impl.ClientLockManagerImpl.decrementUseCount(ClientLockManagerImpl.java:309)
      3. com.tc.object.lockmanager.impl.ClientLockManagerImpl.unlock(ClientLockManagerImpl.java:342)
      4. com.tc.object.lockmanager.impl.ThreadLockManagerImpl.unlock(ThreadLockManagerImpl.java:64)
      5. com.tc.object.tx.ClientTransactionManagerImpl.commitInternal(ClientTransactionManagerImpl.java:465)
      6. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:418)
      7. com.tc.object.tx.ClientTransactionManagerImpl.commit(ClientTransactionManagerImpl.java:357)
      8. com.tc.object.bytecode.ManagerImpl.commitLock(ManagerImpl.java:366)
      9. com.tc.object.bytecode.ManagerUtil.commitLock(ManagerUtil.java:245)
      9 frames
    3. Terracotta Sessions for Jetty
      TerracottaSessionManager$Session.complete
      1. org.mortbay.terracotta.servlet.TerracottaSessionManager$Lock.unlock(TerracottaSessionManager.java:427)
      2. org.mortbay.terracotta.servlet.TerracottaSessionManager$Session.unlock(TerracottaSessionManager.java:348)
      3. org.mortbay.terracotta.servlet.TerracottaSessionManager$Session.complete(TerracottaSessionManager.java:332)
      3 frames
    4. Jetty Server
      SelectChannelConnector$RetryContinuation.run
      1. org.mortbay.jetty.servlet.AbstractSessionManager.complete(AbstractSessionManager.java:145)
      2. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:198)
      3. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
      4. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
      5. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      6. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
      7. org.mortbay.jetty.Server.handle(Server.java:324)
      8. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      9. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:374)
      10. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      11. org.mortbay.jetty.nio.SelectChannelConnector$RetryContinuation.run(SelectChannelConnector.java:506)
      11 frames
    5. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame