{"action":"created","issue":{"url":"https://api.github.com/repos/debrief/debrief/issues/1311","labels_url":"https://api.github.com/repos/debrief/debrief/issues/1311/labels{/name}","comments_url":"https://api.github.com/repos/debrief/debrief/issues/1311/comments","events_url":"https://api.github.com/repos/debrief/debrief/issues/1311/events","html_url":"https://github.com/debrief/debrief/issues/1311","id":95068733,"number":1311,"title":"Initialization org.mwc.debrief.core often fails","user":{"login":"pecko","id":534584,"avatar_url":"https://avatars.githubusercontent.com/u/534584?v=3","gravatar_id":"","url":"https://api.github.com/users/pecko","html_url":"https://github.com/pecko","followers_url":"https://api.github.com/users/pecko/followers","following_url":"https://api.github.com/users/pecko/following{/other_user}","gists_url":"https://api.github.com/users/pecko/gists{/gist_id}","starred_url":"https://api.github.com/users/pecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pecko/subscriptions","organizations_url":"https://api.github.com/users/pecko/orgs","repos_url":"https://api.github.com/users/pecko/repos","events_url":"https://api.github.com/users/pecko/events{/privacy}","received_events_url":"https://api.github.com/users/pecko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-14T23:50:12Z","updated_at":"2015-07-15T08:03:35Z","closed_at":null,"body":"This plugin do a lot work when starting. We should move some of that to a job.\r\n I often get the following exception:\r\n\r\n```\r\n!ENTRY org.eclipse.osgi 2 0 2015-07-14 23:36:27.853\r\n!MESSAGE While loading class \"org.mwc.debrief.core.Startup\", thread \"Thread[Worker-1,5,main]\" timed out waiting (5007ms) for thread \"Thread[Worker-0,5,main]\" to finish starting bundle \"org.mwc.debrief.core_1.0.245 [214]\". To avoid deadlock, thread \"Thread[Worker-1,5,main]\" is proceeding but \"org.mwc.debrief.core.Startup\" may not be fully initialized.\r\n!STACK 0\r\norg.osgi.framework.BundleException: State change in progress for bundle \"reference:file:/home/snpe/projects/debrief-fork/org.mwc.debrief.core/\" by thread \"Worker-0\".\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:298)\r\n\tat org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)\r\n\tat org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)\r\n\tat org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)\r\n\tat org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)\r\n\tat org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)\r\n\tat org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)\r\n\tat org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)\r\n\tat org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)\r\n\tat org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)\r\n\tat org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)\r\n\tat org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)\r\n\tat org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\nCaused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException\r\n\t... 26 more\r\nRoot exception:\r\norg.eclipse.osgi.framework.internal.core.AbstractBundle$BundleStatusException\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.beginStateChange(AbstractBundle.java:1088)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:298)\r\n\tat org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:440)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger(BundleLoader.java:263)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)\r\n\tat org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:469)\r\n\tat org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:216)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:395)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:464)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)\r\n\tat org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:358)\r\n\tat org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:340)\r\n\tat org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)\r\n\tat org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:1212)\r\n\tat org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)\r\n\tat org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)\r\n\tat org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)\r\n\tat org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)\r\n\tat org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java:260)\r\n\tat org.eclipse.ui.internal.EarlyStartupRunnable.getExecutableExtension(EarlyStartupRunnable.java:117)\r\n\tat org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:66)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.Workbench$63.run(Workbench.java:2470)\r\n\tat org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/debrief/debrief/issues/comments/121522943","html_url":"https://github.com/debrief/debrief/issues/1311#issuecomment-121522943","issue_url":"https://api.github.com/repos/debrief/debrief/issues/1311","id":121522943,"user":{"login":"IanMayo","id":1108513,"avatar_url":"https://avatars.githubusercontent.com/u/1108513?v=3","gravatar_id":"","url":"https://api.github.com/users/IanMayo","html_url":"https://github.com/IanMayo","followers_url":"https://api.github.com/users/IanMayo/followers","following_url":"https://api.github.com/users/IanMayo/following{/other_user}","gists_url":"https://api.github.com/users/IanMayo/gists{/gist_id}","starred_url":"https://api.github.com/users/IanMayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IanMayo/subscriptions","organizations_url":"https://api.github.com/users/IanMayo/orgs","repos_url":"https://api.github.com/users/IanMayo/repos","events_url":"https://api.github.com/users/IanMayo/events{/privacy}","received_events_url":"https://api.github.com/users/IanMayo/received_events","type":"User","site_admin":false},"created_at":"2015-07-15T08:03:35Z","updated_at":"2015-07-15T08:03:35Z","body":"Thanks for spotting that. Can you tell me what job it is doing?  Is it the automated tests?"}}