Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-377

Reloaded Container test is failing; MCServer and ShrinkWrapDeployer can't bind to correct scope

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.0.0.Alpha5
    • Component/s: None
    • Labels:
      None

      Description

      java.lang.IllegalArgumentException: No active DeploymentScoped Context to bind to

      Both the instance members of the ReloadedContainer are set to @DeploymentScoped, though they're not part of the deployment state. The above error is resulting, blocking the build.

      This is currently tracked in upstream/next.

        Gliffy Diagrams

          Activity

          Hide
          alrubinger Andrew Rubinger added a comment -

          Aslak, I'm not sure if this is the correct workaround:

          https://github.com/arquillian/arquillian/commit/95417afc1d498e5b718c5f59dd23758784d88bc5

          Gets us past the build issues, but you'll want to review to see if that's the correct handling.

          Show
          alrubinger Andrew Rubinger added a comment - Aslak, I'm not sure if this is the correct workaround: https://github.com/arquillian/arquillian/commit/95417afc1d498e5b718c5f59dd23758784d88bc5 Gets us past the build issues, but you'll want to review to see if that's the correct handling.
          Hide
          aslak Aslak Knutsen added a comment - - edited

          They should be bound to the ContainerContext, fix is correct.

          Show
          aslak Aslak Knutsen added a comment - - edited They should be bound to the ContainerContext, fix is correct.

            People

            • Assignee:
              aslak Aslak Knutsen
              Reporter:
              alrubinger Andrew Rubinger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development