com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null

Atlassian JIRA | Chris Mountford | 7 years ago
  1. 0

    h3. Symptom When starting JIRA, it fails and JIRA becomes locked. The following may be found within {{atlassian-jira.log}}: {noformat} 2009-10-19 09:55:45,687 Thread-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system 2009-10-19 09:56:00,687 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-dashboard-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,703 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-directory-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,718 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-embedded-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,734 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-oauth-service-provider-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,750 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-publisher-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,765 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-renderer-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-admin-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,812 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-consumer-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,843 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-consumer-spi-1.0.7.jar (1253627458000) created 2009-10-19 09:56:00,875 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-service-provider-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,875 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-service-provider-spi-1.0.7.jar (1253627470000) created 2009-10-19 09:56:00,890 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-rest-module-1.0.5.jar (1253471398000) created 2009-10-19 09:56:00,906 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-template-renderer-api-1.0.2.jar (1253627556000) created 2009-10-19 09:56:00,906 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-template-renderer-velocity16-plugin-1.0.2.jar (1253627556000) created 2009-10-19 09:56:00,937 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\auiplugin-1.2.2.jar (1254067494000) created 2009-10-19 09:56:00,937 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\bndlib-0.0.255.jar (1253567912000) created 2009-10-19 09:56:00,953 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\com.springsource.com.sun.syndication-0.9.0.jar (1253569492000) created 2009-10-19 09:56:00,968 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\com.springsource.org.jdom-1.0.0.jar (1253569492000) created 2009-10-19 09:56:01,000 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\httpclient-osgi-4.0.jar (1253757872000) created 2009-10-19 09:56:01,046 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\httpcore-osgi-4.0.jar (1253757872000) created 2009-10-19 09:56:01,093 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\icu4j-3.8-1.jar (1253569494000) created 2009-10-19 09:56:01,156 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-bamboo-plugin-4.0.jar (1253627556000) created 2009-10-19 09:56:01,312 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-fisheye-plugin-3.0.9.jar (1253627558000) created 2009-10-19 09:56:01,343 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-gadgets-plugin-4.0.jar (1254067464000) created 2009-10-19 09:56:01,375 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-oauth-consumer-spi-plugin-4.0.jar (1254067474000) created 2009-10-19 09:56:01,390 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-oauth-service-provider-spi-plugin-4.0.jar (1254067486000) created 2009-10-19 09:56:01,406 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-rest-plugin-4.0.jar (1254067444000) created 2009-10-19 09:56:01,437 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\joda-time-1.6.jar (1253757872000) created 2009-10-19 09:56:01,453 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\json-20070829-1.jar (1253568610000) created 2009-10-19 09:56:01,593 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\nekohtml-1.9.12-1.jar (1253569492000) created 2009-10-19 09:56:01,609 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\rome-1.0.jar (1253757872000) created 2009-10-19 09:56:01,640 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\sal-api-2.0.14.jar (1253667590000) created 2009-10-19 09:56:01,656 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\sal-jira-plugin-2.0.14.jar (1253667590000) created 2009-10-19 09:56:01,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\streams-jira-plugin-3.0.12.jar (1253627556000) created 2009-10-19 09:56:01,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Removed plugin com.atlassian.jirafisheyeplugin 2009-10-19 09:56:01,859 Thread-1 FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A fatal error occured during initialisation. JIRA has been locked. com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1285) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100) at java.util.TreeMap$ValueIterator.next(TreeMap.java:1145) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:137) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) ... 19 more 2009-10-19 09:56:01,875 Thread-1 FATAL [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked. 2009-10-19 09:56:01,875 Thread-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler.... 2009-10-19 09:56:01,875 Thread-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Skipping JIRA Scheduler initialisation, JIRA is not ready. 2009-10-19 09:56:03,406 Thread-1 FATAL [webwork.dispatcher.ServletDispatcher] ****************************************** JIRA startup failed, JIRA has been locked. ****************************************** {noformat} h3. Cause If the database records a plugin state for a bundled plugin (i.e. when one is in a non default state) and that state is REMOVE, the BundledPluginLoader will attempt to remove the plugin while it is iterating over the plugins. h3. Workaround (i) This workaround relates to a now [End of Life|http://confluence.atlassian.com/display/Support/Atlassian+Support+Offerings#AtlassianSupportOfferings-EndofLifePolicy] version of JIRA. If you have any problems with it, please be aware Atlassian will be unable to assist you and it is done so at your own risk. # Check the plugin states of your current plugins with the below SQL. {code:SQL} select * from propertyentry pe left join propertystring ps on pe.id = ps.id where pe.entity_name = 'jira.properties' and pe.property_key like 'jira.plugin.state%' {code} # If you see entries with {{REMOVE}} in them, such as the below, these will need correcting. {noformat} +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ | ID | ENTITY_NAME | ENTITY_ID | PROPERTY_KEY | propertytype | ID | propertyvalue | +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ | 48910 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.time:fast-worklog-on-request | 5 | 48910 | false | | 48911 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.time:fast-worklog | 5 | 48911 | false | | 48912 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.atlassian.jira.toolkit | 5 | 48912 | true | | 48913 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.pyxis.jira.links.hierarchy.reports | 5 | 48913 | true | | 48914 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.pyxis.greenhopper.jira | 5 | 48914 | true | | 48915 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.googlecode.jira-suite-utilities | 5 | 48915 | true | | 48916 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.innovalog.jmwe.jira-misc-workflow-extensions | 5 | 48916 | true | | 48917 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.core:fragment-portlet-predefined-report | 5 | 48917 | false | +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ {noformat} # If you have entries to be removed, first [back up|https://confluence.atlassian.com/display/JIRA/Backing+Up+Data] your database. # Remove those entries with the below SQL. {code:SQL} delete from propertyentry where id = <id from step 3> delete from propertystring where id= <id from step 3> {code} # Restart JIRA. # [Upgrade JIRA|http://confluence.atlassian.com/display/JIRA/Upgrading+JIRA] to a supported version ASAP.

    Atlassian JIRA | 7 years ago | Chris Mountford ON LEAVE - June 10
    com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null
  2. 0

    h3. Symptom When starting JIRA, it fails and JIRA becomes locked. The following may be found within {{atlassian-jira.log}}: {noformat} 2009-10-19 09:55:45,687 Thread-1 INFO [atlassian.plugin.manager.DefaultPluginManager] Initialising the plugin system 2009-10-19 09:56:00,687 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-dashboard-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,703 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-directory-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,718 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-embedded-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,734 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-oauth-service-provider-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,750 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-publisher-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,765 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-gadgets-renderer-plugin-1.0.3.jar (1253627556000) created 2009-10-19 09:56:00,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-admin-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,812 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-consumer-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,843 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-consumer-spi-1.0.7.jar (1253627458000) created 2009-10-19 09:56:00,875 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-service-provider-plugin-1.0.7.jar (1253627556000) created 2009-10-19 09:56:00,875 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-oauth-service-provider-spi-1.0.7.jar (1253627470000) created 2009-10-19 09:56:00,890 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-rest-module-1.0.5.jar (1253471398000) created 2009-10-19 09:56:00,906 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-template-renderer-api-1.0.2.jar (1253627556000) created 2009-10-19 09:56:00,906 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\atlassian-template-renderer-velocity16-plugin-1.0.2.jar (1253627556000) created 2009-10-19 09:56:00,937 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\auiplugin-1.2.2.jar (1254067494000) created 2009-10-19 09:56:00,937 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\bndlib-0.0.255.jar (1253567912000) created 2009-10-19 09:56:00,953 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\com.springsource.com.sun.syndication-0.9.0.jar (1253569492000) created 2009-10-19 09:56:00,968 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\com.springsource.org.jdom-1.0.0.jar (1253569492000) created 2009-10-19 09:56:01,000 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\httpclient-osgi-4.0.jar (1253757872000) created 2009-10-19 09:56:01,046 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\httpcore-osgi-4.0.jar (1253757872000) created 2009-10-19 09:56:01,093 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\icu4j-3.8-1.jar (1253569494000) created 2009-10-19 09:56:01,156 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-bamboo-plugin-4.0.jar (1253627556000) created 2009-10-19 09:56:01,312 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-fisheye-plugin-3.0.9.jar (1253627558000) created 2009-10-19 09:56:01,343 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-gadgets-plugin-4.0.jar (1254067464000) created 2009-10-19 09:56:01,375 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-oauth-consumer-spi-plugin-4.0.jar (1254067474000) created 2009-10-19 09:56:01,390 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-oauth-service-provider-spi-plugin-4.0.jar (1254067486000) created 2009-10-19 09:56:01,406 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\jira-rest-plugin-4.0.jar (1254067444000) created 2009-10-19 09:56:01,437 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\joda-time-1.6.jar (1253757872000) created 2009-10-19 09:56:01,453 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\json-20070829-1.jar (1253568610000) created 2009-10-19 09:56:01,593 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\nekohtml-1.9.12-1.jar (1253569492000) created 2009-10-19 09:56:01,609 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\rome-1.0.jar (1253757872000) created 2009-10-19 09:56:01,640 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\sal-api-2.0.14.jar (1253667590000) created 2009-10-19 09:56:01,656 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\sal-jira-plugin-2.0.14.jar (1253667590000) created 2009-10-19 09:56:01,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Plugin Unit: D:\JIRA\plugins\.bundled-plugins\streams-jira-plugin-3.0.12.jar (1253627556000) created 2009-10-19 09:56:01,796 Thread-1 INFO [atlassian.plugin.loaders.BundledPluginLoader] Removed plugin com.atlassian.jirafisheyeplugin 2009-10-19 09:56:01,859 Thread-1 FATAL [atlassian.jira.upgrade.ConsistencyLauncher] A fatal error occured during initialisation. JIRA has been locked. com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1285) at com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224) at com.atlassian.jira.ComponentManager.start(ComponentManager.java:210) at com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63) at com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4252) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:448) at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 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.catalina.startup.Bootstrap.start(Bootstrap.java:295) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) Caused by: java.util.ConcurrentModificationException at java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100) at java.util.TreeMap$ValueIterator.next(TreeMap.java:1145) at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:137) at com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49) at com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275) ... 19 more 2009-10-19 09:56:01,875 Thread-1 FATAL [atlassian.jira.upgrade.UpgradeLauncher] Skipping, JIRA is locked. 2009-10-19 09:56:01,875 Thread-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Starting the JIRA Scheduler.... 2009-10-19 09:56:01,875 Thread-1 INFO [atlassian.jira.scheduler.JiraSchedulerLauncher] Skipping JIRA Scheduler initialisation, JIRA is not ready. 2009-10-19 09:56:03,406 Thread-1 FATAL [webwork.dispatcher.ServletDispatcher] ****************************************** JIRA startup failed, JIRA has been locked. ****************************************** {noformat} h3. Cause If the database records a plugin state for a bundled plugin (i.e. when one is in a non default state) and that state is REMOVE, the BundledPluginLoader will attempt to remove the plugin while it is iterating over the plugins. h3. Workaround (i) This workaround relates to a now [End of Life|http://confluence.atlassian.com/display/Support/Atlassian+Support+Offerings#AtlassianSupportOfferings-EndofLifePolicy] version of JIRA. If you have any problems with it, please be aware Atlassian will be unable to assist you and it is done so at your own risk. # Check the plugin states of your current plugins with the below SQL. {code:SQL} select * from propertyentry pe left join propertystring ps on pe.id = ps.id where pe.entity_name = 'jira.properties' and pe.property_key like 'jira.plugin.state%' {code} # If you see entries with {{REMOVE}} in them, such as the below, these will need correcting. {noformat} +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ | ID | ENTITY_NAME | ENTITY_ID | PROPERTY_KEY | propertytype | ID | propertyvalue | +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ | 48910 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.time:fast-worklog-on-request | 5 | 48910 | false | | 48911 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.time:fast-worklog | 5 | 48911 | false | | 48912 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.atlassian.jira.toolkit | 5 | 48912 | true | | 48913 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.pyxis.jira.links.hierarchy.reports | 5 | 48913 | true | | 48914 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.pyxis.greenhopper.jira | 5 | 48914 | true | | 48915 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.googlecode.jira-suite-utilities | 5 | 48915 | true | | 48916 | jira.properties | 1 | jira.plugin.state-.REMOVE--com.innovalog.jmwe.jira-misc-workflow-extensions | 5 | 48916 | true | | 48917 | jira.properties | 1 | jira.plugin.state-.jira.plugin.minyaa.core:fragment-portlet-predefined-report | 5 | 48917 | false | +-------+-----------------+-----------+-------------------------------------------------------------------------------+--------------+-------+---------------+ {noformat} # If you have entries to be removed, first [back up|https://confluence.atlassian.com/display/JIRA/Backing+Up+Data] your database. # Remove those entries with the below SQL. {code:SQL} delete from propertyentry where id = <id from step 3> delete from propertystring where id= <id from step 3> {code} # Restart JIRA. # [Upgrade JIRA|http://confluence.atlassian.com/display/JIRA/Upgrading+JIRA] to a supported version ASAP.

    Atlassian JIRA | 7 years ago | Chris Mountford
    com.atlassian.jira.InfrastructureException: Error occurred while starting Plugin Manager. null
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Get connection problem after Orient Server restart

    Google Groups | 4 years ago | Fabrizio Fortino
    com.orientechnologies.orient.core.exception.OStorageException: Error on unload the tree: index #1:4
  5. 0

    QuickFIX/J Jira

    quickfixj.org | 3 months ago
    java.util.ConcurrentModificationException

    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.util.ConcurrentModificationException

      No message provided

      at java.util.TreeMap$PrivateEntryIterator.nextEntry()
    2. Java RT
      TreeMap$ValueIterator.next
      1. java.util.TreeMap$PrivateEntryIterator.nextEntry(TreeMap.java:1100)
      2. java.util.TreeMap$ValueIterator.next(TreeMap.java:1145)
      2 frames
    3. com.atlassian.plugin
      DefaultPluginManager.init
      1. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:137)
      1 frame
    4. com.atlassian.jira
      ConsistencyLauncher.contextInitialized
      1. com.atlassian.jira.plugin.JiraPluginManager.start(JiraPluginManager.java:49)
      2. com.atlassian.jira.ComponentManager$PluginSystem.start(ComponentManager.java:1275)
      3. com.atlassian.jira.ComponentManager.quickStart(ComponentManager.java:224)
      4. com.atlassian.jira.ComponentManager.start(ComponentManager.java:210)
      5. com.atlassian.jira.upgrade.ConsistencyLauncher.launchConsistencyChecker(ConsistencyLauncher.java:63)
      6. com.atlassian.jira.upgrade.ConsistencyLauncher.contextInitialized(ConsistencyLauncher.java:42)
      6 frames
    5. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
      2. org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
      3. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      4. org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      5. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      6. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      7. org.apache.catalina.core.StandardService.start(StandardService.java:448)
      8. org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      9. org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      9 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    7. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      2 frames