[arquillian-issues] [JBoss JIRA] (ARQ-842) Better error message when container configuration cannot be read

Dan Allen (JIRA) jira-events at lists.jboss.org
Wed Apr 4 02:43:47 EDT 2012


Dan Allen created ARQ-842:
-----------------------------

             Summary: Better error message when container configuration cannot be read
                 Key: ARQ-842
                 URL: https://issues.jboss.org/browse/ARQ-842
             Project: Arquillian
          Issue Type: Enhancement
      Security Level: Public (Everyone can see)
          Components: Base Implementation
    Affects Versions: 1.0.0.CR7
            Reporter: Dan Allen
            Priority: Minor


If an error occurs while trying to read the active container configuration, the user gets the following message:

  Could not read active container configuration: null

The "null" appears if there is no exception message, such as when a NullPointerException is thrown.

We should probably be more specific about what is going on here, rather than relying on the error message. We can begin to address this issue by creating a test that enters this branch to explore the failure scenario.

Relevant method: org.jboss.arquillian.impl.client.container.ContainerRegistryCreator.getActivatedConfiguration

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list