[arquillian-issues] [JBoss JIRA] (ARQ-1993) Occasional ISE - There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default.

Matous Jobanek (JIRA) issues at jboss.org
Fri Oct 16 08:09:00 EDT 2015


Matous Jobanek created ARQ-1993:
-----------------------------------

             Summary: Occasional ISE -  There is no context available for qualifier org.jboss.arquillian.drone.api.annotation.Default.
                 Key: ARQ-1993
                 URL: https://issues.jboss.org/browse/ARQ-1993
             Project: Arquillian
          Issue Type: Bug
          Components: Extension - Recorder
    Affects Versions: recorder_1.1.0.Alpha3
            Reporter: Matous Jobanek


Both the [TestInstanceEnricher|https://github.com/arquillian/arquillian-core/blob/master/test/impl-base/src/main/java/org/jboss/arquillian/test/impl/TestInstanceEnricher.java#L46] (DroneTestEnricher) and [ScreenshooterLifecycleObserver|https://github.com/arquillian/arquillian-recorder/blob/master/arquillian-recorder-screenshooter-base/arquillian-recorder-screenshooter-impl-base/src/main/java/org/arquillian/extension/recorder/screenshooter/impl/ScreenshooterLifecycleObserver.java#L69] has the very same precedence = 0, so it is just question of luck what is called first. When the ScreenshooterLifecycleObserver is called before the DroneTestEnricher then no instance of Drone is available and [this exception|https://gist.github.com/lfryc/436a4ac99560f7ddf394] is thrown.





--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the arquillian-issues mailing list