You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CDI TCK test org.jboss.cdi.tck.tests.extensions.lifecycle.events.ContainerLifeCycleEventRuntimeInvocationTest.testAfterBeanDiscoveryEventFails() uses an extension that stores an AfterBeanDiscovery event:
Oh wow, thanks for the reference. Isn't the CDI TCK executed for every Weld release?
It is in embedded and with WFLY. However, in WFLY I wasn't able to execute several tests (this one included) due to issues with other related EE 10 technologies. And this test isn't triggered in embedded mode so it slipped past.
I am just working towards having full WFLY run for each weld PR again so that this situation won't repeat :)
The CDI TCK test
org.jboss.cdi.tck.tests.extensions.lifecycle.events.ContainerLifeCycleEventRuntimeInvocationTest.testAfterBeanDiscoveryEventFails()
uses an extension that stores anAfterBeanDiscovery
event:The test then make a call to this stored event later, which is supposed to throw an
IllegalStateException
In Weld this throws a NullPointerException, since a
postNotify
calls sets areceiver
to null:And the
addBean()
from the test uses this receiver and doesn't assume it's null:This all happens internally in Weld, without seemingly any option for an integrator to come between this or to influence this.
What is an integrator supposed to do here?
cc: @starksm64 @manovotn
The text was updated successfully, but these errors were encountered: