]
George Gastaldi closed FURNACE-97.
----------------------------------
Assignee: George Gastaldi
Resolution: Done
Furnace fails with an UnsupportedOperationException when shutting
down forge from CLI
-------------------------------------------------------------------------------------
Key: FURNACE-97
URL:
https://issues.jboss.org/browse/FURNACE-97
Project: Forge: Furnace
Issue Type: Bug
Components: Container - CDI
Affects Versions: 2.22.8.Final
Reporter: Claus Ibsen
Assignee: George Gastaldi
Priority: Minor
Fix For: 2.22.9.Final
Seeing this in the forge.log when shutting down
{code}
10:42:55,205 FINE [org.jboss.forge.furnace.util.ClassLoaders] (main) ClassLoader
[ModuleClassLoader for Module
"org.jboss.forge.addon.parser-java:3.0.0.Alpha2_1565d986-d058-44c8-bec4-30c7232edd5d"
from AddonModuleLoader] task ended.
10:42:55,205 FINE [org.jboss.forge.furnace.impl.addons.AddonRunnable] (main) Failed to
shut down addon org.jboss.forge.addon:parser-java,3.0.0.Alpha2:
java.lang.UnsupportedOperationException
at java.util.Collections$UnmodifiableCollection.clear(Collections.java:1074)
[rt.jar:1.8.0_31]
at
org.jboss.forge.furnace.container.cdi.impl.WeldServiceRegistry.close(WeldServiceRegistry.java:260)
at
org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider.stop(WeldAddonLifecycleProvider.java:135)
at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:195)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.addons.AddonRunnable$3.call(AddonRunnable.java:167)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
[furnace-api-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.addons.AddonRunnable.shutdown(AddonRunnable.java:166)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.addons.AddonStateManager.cancel(AddonStateManager.java:248)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:35)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.addons.StopAddonCallable.call(StopAddonCallable.java:18)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.util.Callables.call(Callables.java:43)
[furnace-api-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAddon(AddonLifecycleManager.java:257)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:283)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.addons.AddonLifecycleManager$5.call(AddonLifecycleManager.java:275)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.lock.LockManagerImpl.performLocked(LockManagerImpl.java:55)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at
org.jboss.forge.furnace.impl.addons.AddonLifecycleManager.stopAll(AddonLifecycleManager.java:274)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:306)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.furnace.impl.FurnaceImpl.start(FurnaceImpl.java:215)
[furnace-2.22.8.Final.jar:2.22.8.Final]
at org.jboss.forge.bootstrap.Bootstrap.start(Bootstrap.java:295)
[forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:96)
[forge-bootstrap-3.0.0.Alpha2.jar:3.0.0.Alpha2]
{code}