[arquillian-issues] [JBoss JIRA] (ARQ-1301) JAR Deployment on managed GlassFish throws NullPonterException

Dirk Weil (JIRA) jira-events at lists.jboss.org
Sat Feb 16 09:08:57 EST 2013


Dirk Weil created ARQ-1301:
------------------------------

             Summary: JAR Deployment on managed GlassFish throws NullPonterException
                 Key: ARQ-1301
                 URL: https://issues.jboss.org/browse/ARQ-1301
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: GlassFish Containers
    Affects Versions: 1.0.0.CR3
         Environment: Windows 7
            Reporter: Dirk Weil


Deployment of an EJB JAR failes with a NullPointerException in org.jboss.arquillian.container.glassfish.clientutils.GlassFishClientService.doDeploy.

The issue can be reproduced by a deployment like this:

  @Deployment(testable = false)
  public static Archive<?> createDeployment()
  {
    JavaArchive archive = ShrinkWrap.create(JavaArchive.class, "foo.jar");
    archive.addClasses(UserInfoBean.class, UserInfo.class);
    return archive;
  }

The classes UserInfoBean and UserInfo define a simple stateless bean, but that is not important here: The NullPointerException is thrown regardless of the actual contents of the deployed jar file.

Obviously subComponents is assigned null in doDeploy (line 219):

Map<String, String> subComponents = (Map<String, String>) subComponentsResponce.get("properties");


--
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