[arquillian-issues] [JBoss JIRA] (ARQ-1249) Deployment to GF fails if .war extension is missing

Fabian Schwarzer (JIRA) jira-events at lists.jboss.org
Mon Dec 17 05:25:08 EST 2012


Fabian Schwarzer created ARQ-1249:
-------------------------------------

             Summary: Deployment to GF fails if .war extension is missing
                 Key: ARQ-1249
                 URL: https://issues.jboss.org/browse/ARQ-1249
             Project: Arquillian
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: GlassFish Containers
            Reporter: Fabian Schwarzer


If you try to deploy a WebArchive like so,
{code:borderStyle=solid}
final WebArchive archive = ShrinkWrap.create( WebArchive.class, "ArquillianTest" );
{code}

you will get a NPE, that does not give you any clue about how to fix the problem.
In order to fix it, you have to write "ArquillianTest.war" and not "ArquillianTest".

It would be nice if there was a error message that pointed you to the error, instead of a meaningless NPE.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list