Karaf
  1. Karaf
  2. KARAF-2231

ConcurrentModificationException at org.apache.karaf.admin.internal.AdminServiceImplTest.testToSimulateRenameInstanceByExternalProcess

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.2
    • Fix Version/s: 2.3.2
    • Component/s: karaf-instance
    • Labels:
      None

      Activity

      Hide
      Christian Schneider added a comment -

      java.util.ConcurrentModificationException
      at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
      at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384)
      at org.apache.karaf.admin.internal.AdminServiceImpl.loadData(AdminServiceImpl.java:138)
      at org.apache.karaf.admin.internal.AdminServiceImpl.access$000(AdminServiceImpl.java:56)
      at org.apache.karaf.admin.internal.AdminServiceImpl$1.call(AdminServiceImpl.java:214)
      at org.apache.karaf.util.properties.FileLockUtils$2.call(FileLockUtils.java:100)
      at org.apache.karaf.util.properties.FileLockUtils.execute(FileLockUtils.java:68)
      at org.apache.karaf.util.properties.FileLockUtils.execute(FileLockUtils.java:94)
      at org.apache.karaf.admin.internal.AdminServiceImpl.execute(AdminServiceImpl.java:212)
      at org.apache.karaf.admin.internal.AdminServiceImpl.getInstance(AdminServiceImpl.java:353)
      at org.apache.karaf.admin.internal.AdminServiceImplTest.testToSimulateRenameInstanceByExternalProcess(AdminServiceImplTest.java:132)
      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 junit.framework.TestCase.runTest(TestCase.java:168)
      at junit.framework.TestCase.runBare(TestCase.java:134)
      at junit.framework.TestResult$1.protect(TestResult.java:110)
      at junit.framework.TestResult.runProtected(TestResult.java:128)
      at junit.framework.TestResult.run(TestResult.java:113)
      at junit.framework.TestCase.run(TestCase.java:124)
      at junit.framework.TestSuite.runTest(TestSuite.java:243)
      at junit.framework.TestSuite.run(TestSuite.java:238)
      at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
      at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
      at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
      at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
      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:189)
      at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
      at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
      at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
      at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

      Show
      Christian Schneider added a comment - java.util.ConcurrentModificationException at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373) at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) at org.apache.karaf.admin.internal.AdminServiceImpl.loadData(AdminServiceImpl.java:138) at org.apache.karaf.admin.internal.AdminServiceImpl.access$000(AdminServiceImpl.java:56) at org.apache.karaf.admin.internal.AdminServiceImpl$1.call(AdminServiceImpl.java:214) at org.apache.karaf.util.properties.FileLockUtils$2.call(FileLockUtils.java:100) at org.apache.karaf.util.properties.FileLockUtils.execute(FileLockUtils.java:68) at org.apache.karaf.util.properties.FileLockUtils.execute(FileLockUtils.java:94) at org.apache.karaf.admin.internal.AdminServiceImpl.execute(AdminServiceImpl.java:212) at org.apache.karaf.admin.internal.AdminServiceImpl.getInstance(AdminServiceImpl.java:353) at org.apache.karaf.admin.internal.AdminServiceImplTest.testToSimulateRenameInstanceByExternalProcess(AdminServiceImplTest.java:132) 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 junit.framework.TestCase.runTest(TestCase.java:168) at junit.framework.TestCase.runBare(TestCase.java:134) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236) at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134) at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113) 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:189) at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165) at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85) at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103) at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)

        People

        • Assignee:
          Christian Schneider
          Reporter:
          Christian Schneider
        • Votes:
          0 Vote for this issue
          Watchers:
          1 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development