ConcurrentModificationException leads to CA startup failure

Steps to reproduce

Steps to reproduce:
1. reboot CA
2. ConcurrentModificationException leads to startup failure, CA does not register with core.
3.

Actual Results:

2012-09-04 12:33:52 DEBUG (WebConsole:44) - The matterhorn web console will use the org.opencastproject.webconsole.WebConsole$MatterhornBrandingPlugin@1e6cf07 branding plugin
2012-09-04 12:33:52 DEBUG (HttpClientFactory:43) - Starting up
2012-09-04 12:33:52 DEBUG (TrustedHttpClientImpl:125) - activate
2012-09-04 12:33:52 DEBUG (SharedHttpContext:47) - Shared http context activated with bundle context org.apache.felix.framework.BundleContextImpl@91e143
2012-09-04 12:33:52 DEBUG (OrganizationDirectoryServiceImpl:221) - Updating organization pid='org.opencastproject.organization.f5ec3148-79c5-4f64-825e-54adc46b0bac'
2012-09-04 12:33:52 INFO (OrganizationDirectoryServiceImpl:262) - Registering organization 'mh_default_org'
2012-09-04 12:33:52 DEBUG (PingBackService:67) - start()
2012-09-04 12:33:52 DEBUG (RestPublisher:116) - activate()
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /org
2012-09-04 12:33:53 DEBUG (UserAndRoleDirectoryServiceImpl:68) - Adding org.opencastproject.kernel.userdirectory.InMemoryUserAndRoleProvider to the list of user providers
2012-09-04 12:33:53 DEBUG (UserAndRoleDirectoryServiceImpl:90) - Adding org.opencastproject.kernel.userdirectory.InMemoryUserAndRoleProvider to the list of role providers
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /roles
2012-09-04 12:33:53 INFO (SpringSecurityConfigurationArtifactInstaller:115) - registered OsgiBundleXmlApplicationContext(bundle=matterhorn-kernel, config=file:/opt/matterhorn/conf/security/mh_default_org.xml): startup date [Thu Jan 01 02:00:00 SAST 1970]; root of context hierarchy for mh_default_org
2012-09-04 12:33:53 DEBUG (RuntimeInfo:88) - start()
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /info
2012-09-04 12:33:53 DEBUG (ConfigurationManager:101) - Merging new properties into in-memory structure.
2012-09-04 12:33:53 WARN (ConfigurationManager:126) - Malformed URL for capture.config.remote.endpoint.url, disabling polling.
2012-09-04 12:33:53 INFO (ConfigurationManager:131) - No remote configuration endpoint was found, relying on local config.
2012-09-04 12:33:53 ERROR (?:?) - [org.opencastproject.capture.impl.ConfigurationManager, org.osgi.service.cm.ManagedService, id=69, bundle=5703]: Unexpected problem updating Configuration PID=org.opencastproject.capture.impl.ConfigurationManager, factoryPID=null, bundleLocation=file:/opt/matterhorn/matterhorn/matterhorn-capture-agent-impl-1.3.0-UCT-SNAPSHOT.jar
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
at java.util.LinkedList$ListItr.next(LinkedList.java:696)
at org.opencastproject.capture.impl.ConfigurationManager.updated(ConfigurationManager.java:174)
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
at java.lang.Thread.run(Thread.java:662)
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /confidence
2012-09-04 12:33:53 DEBUG (CaptureAgentImpl:201) - Setting Capture Framework to org.opencastproject.capture.impl.GStreamerCaptureFramework@744a4d
2012-09-04 12:33:53 INFO (CaptureAgentImpl:1205) - Starting CaptureAgentImpl.
2012-09-04 12:33:53 INFO (CaptureAgentImpl:1218) - Registering capture agent osgi shell commands
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /state
2012-09-04 12:33:53 INFO (RestPublisher:222) - Registered REST endpoint at /captureagent
2012-09-04 12:33:53 INFO (StaticResourceServlet:79) - serving static files from '/opt/matterhorn-captures/downloads'

Expected Results:
Normal startup.

Workaround (if any):
Stop and start service.

Status

Assignee

Unassigned

Reporter

Stephen Marquard

Severity

Incorrectly Functioning With Workaround

Tags (folksonomy)

None

Components

Affects versions

1.3

Priority

Major
Configure