]
George Gastaldi commented on FURNACE-118:
-----------------------------------------
This was the change that caused the bug:
WELD-ENV-000015: Unable to load annotation:
org.jboss.forge.addon.ui.annotation.Option when running tests
---------------------------------------------------------------------------------------------------------
Key: FURNACE-118
URL:
https://issues.jboss.org/browse/FURNACE-118
Project: Forge: Furnace
Issue Type: Bug
Components: Container - CDI
Affects Versions: 2.23.6.Final
Reporter: George Gastaldi
Assignee: George Gastaldi
Fix For: 2.x Future
{code}
SEVERE: Failed to start addon [org.jboss.forge.addon:configuration,3.2.4-SNAPSHOT] with
classloader [ModuleClassLoader for Module
"org.jboss.forge.addon.configuration:3.2.4-SNAPSHOT_f27fa0bc-98bb-4c2a-b797-169c313b1a71"
from AddonModuleLoader]
com.google.common.util.concurrent.UncheckedExecutionException:
java.lang.IllegalStateException: WELD-ENV-000015: Unable to load annotation:
org.jboss.forge.addon.ui.annotation.Option
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2203)
at com.google.common.cache.LocalCache.get(LocalCache.java:3937)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3941)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4824)
at
org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileInfo.containsAnnotation(JandexClassFileInfo.java:253)
at
org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileInfo.containsAnnotation(JandexClassFileInfo.java:81)
at
org.jboss.weld.bootstrap.FastProcessAnnotatedTypeResolver.containsRequiredAnnotation(FastProcessAnnotatedTypeResolver.java:228)
at
org.jboss.weld.bootstrap.FastProcessAnnotatedTypeResolver.resolveProcessAnnotatedTypeObservers(FastProcessAnnotatedTypeResolver.java:216)
at
org.jboss.weld.bootstrap.FastAnnotatedTypeLoader.loadAnnotatedType(FastAnnotatedTypeLoader.java:78)
at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:98)
at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:136)
at org.jboss.weld.bootstrap.BeanDeployment.createClasses(BeanDeployment.java:203)
at org.jboss.weld.bootstrap.WeldStartup.startInitialization(WeldStartup.java:374)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:76)
at org.jboss.weld.environment.se.Weld.initialize(Weld.java:588)
at
org.jboss.forge.furnace.container.cdi.lifecycle.WeldAddonLifecycleProvider.start(WeldAddonLifecycleProvider.java:78)
at org.jboss.forge.furnace.impl.addons.AddonRunnable$2.call(AddonRunnable.java:92)
at org.jboss.forge.furnace.impl.addons.AddonRunnable$2.call(AddonRunnable.java:86)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.impl.addons.AddonRunnable.run(AddonRunnable.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalStateException: WELD-ENV-000015: Unable to load annotation:
org.jboss.forge.addon.ui.annotation.Option
at
org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileServices$AnnotationClassAnnotationLoader.load(JandexClassFileServices.java:64)
at
org.jboss.weld.environment.deployment.discovery.jandex.JandexClassFileServices$AnnotationClassAnnotationLoader.load(JandexClassFileServices.java:47)
at
com.google.common.cache.LocalCache$LoadingValueReference.loadFuture(LocalCache.java:3527)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2319)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2282)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2197)
... 24 more
{code}