Uploaded image for project: 'Pax Scanner'
  1. Pax Scanner
  2. PAXSCANNER-14

ConcurrentModificationException while stopping scanner service

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      While stopping scanner service bundle the following happens:

      ERROR: Error stopping bundle. (java.util.ConcurrentModificationException)
      java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:834)
      	at java.util.HashMap$EntryIterator.next(HashMap.java:832)
      	at org.ops4j.pax.scanner.internal.ProvisionServiceImpl.removeScanner(ProvisionServiceImpl.java:189)
      	at org.ops4j.pax.scanner.internal.Activator$1.removedService(Activator.java:149)
      	at org.osgi.util.tracker.ServiceTracker$Tracked.customizerRemoved(ServiceTracker.java:922)
      	at org.osgi.util.tracker.AbstractTracked.untrack(AbstractTracked.java:351)
      	at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:403)
      	at org.ops4j.pax.scanner.internal.Activator.stop(Activator.java:89)
      	at org.ops4j.pax.scanner.all.internal.CompositeActivator.stop(CompositeActivator.java:80)
      	at org.apache.felix.framework.util.SecureAction.stopActivator(SecureAction.java:689)
      	at org.apache.felix.framework.Felix.stopBundle(Felix.java:2073)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1094)
      	at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
      	at java.lang.Thread.run(Thread.java:637)
      

        Gliffy Diagrams

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              adreghiciu@gmail.com Alin Dreghiciu
              Reporter:
              adreghiciu@gmail.com Alin Dreghiciu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development