Project: aptanastudio
Issue APSTUD-4380: Correct improperly shut down jobs
If I shut down Aptana or Titanium Studio while it's still trying to load, it warns me that jobs have not been properly shut down. We should correct the instances listed below: {code} (Build null) [ERROR] An error occurred while executing a script-loaded event listener java.lang.IllegalStateException: Job manager has been shut down. org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1104) org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:427) org.eclipse.core.runtime.jobs.Job.schedule(Job.java:462) com.aptana.scripting.keybindings.internal.KeybindingsManager.reloadbindings(KeybindingsManager.java:374) com.aptana.scripting.keybindings.internal.KeybindingsManager.scriptLoaded(KeybindingsManager.java:894) com.aptana.scripting.model.BundleManager.fireScriptLoadedEvent(BundleManager.java:722) com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2052) com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:152) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) (Build null) [ERROR] An error occurred while executing a script-loaded event listener java.lang.IllegalStateException: Job manager has been shut down. !ENTRY org.eclipse.core.jobs 2 2 2012-02-14 06:52:56.879 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.scripting.model.BundleManager$BundleLoadJob !ENTRY org.eclipse.core.jobs 2 2 2012-02-14 06:52:56.881 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.scripting.model.BundleManager$BundleLoadJob org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1104) org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:427) org.eclipse.core.runtime.jobs.Job.schedule(Job.java:462) com.aptana.scripting.keybindings.internal.KeybindingsManager.reloadbindings(KeybindingsManager.java:374) com.aptana.scripting.keybindings.internal.KeybindingsManager.scriptLoaded(KeybindingsManager.java:894) com.aptana.scripting.model.BundleManager.fireScriptLoadedEvent(BundleManager.java:722) com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2052) com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:152) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.scripting.model.BundleManager$BundleLoadJob Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: com.aptana.scripting.model.BundleManager$BundleLoadJob (Build null) [ERROR] An error occurred while executing a script-loaded event listener java.lang.IllegalStateException: Job manager has been shut down. org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1104) org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:427) org.eclipse.core.runtime.jobs.Job.schedule(Job.java:462) com.aptana.scripting.keybindings.internal.KeybindingsManager.reloadbindings(KeybindingsManager.java:374) com.aptana.scripting.keybindings.internal.KeybindingsManager.scriptLoaded(KeybindingsManager.java:894) com.aptana.scripting.model.BundleManager.fireScriptLoadedEvent(BundleManager.java:722) com.aptana.scripting.model.BundleManager.loadScript(BundleManager.java:2052) com.aptana.scripting.model.BundleManager$BundleLoadJob.run(BundleManager.java:152) org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) {code} There may be others as well.
Story points: 8