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

Deployment to GF fails if .war extension is missing

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • 1.0.4.Final
    • None
    • GlassFish Containers
    • None

    Description

      If you try to deploy a WebArchive like so,

      final WebArchive archive = ShrinkWrap.create( WebArchive.class, "ArquillianTest" );
      

      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.

      Attachments

        Activity

          People

            aslak@redhat.com Aslak Knutsen
            pogopaule Fabian Schwarzer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: